/* Shared shell */
.dashboard,
.plan-page {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 96px 0 110px;
  overflow-x: hidden;
  position: relative;
  z-index: 1;
}

/* AGC trading dashboard */
.agc-dashboard-body {
  min-height: 100vh;
  color: #fff;
  background:
    radial-gradient(circle at 18% 4%, rgba(255, 46, 120, 0.22), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(255, 46, 120, 0.12), transparent 22%),
    linear-gradient(135deg, #070006 0%, #17020f 48%, #050005 100%);
}

.agc-dashboard-body::before,
.agc-dashboard-body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.agc-dashboard-body::before {
  inset: auto auto 0 0;
  width: 42vw;
  height: 34vh;
  background:
    linear-gradient(145deg, transparent 0 48%, rgba(255, 46, 120, 0.34) 49%, transparent 52%),
    radial-gradient(circle at 18% 82%, rgba(255, 46, 120, 0.48), transparent 2%),
    repeating-linear-gradient(165deg, rgba(255, 46, 120, 0.16) 0 1px, transparent 1px 22px);
  opacity: 0.7;
}

.agc-dashboard-body::after {
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 46, 120, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 46, 120, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, #000 0 48%, transparent 82%);
}

.agc-dashboard.dashboard-page {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  border-radius: 0;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.agc-sidebar {
  min-height: 100vh;
  padding: 26px 18px;
  border-right: 1px solid rgba(255, 46, 120, 0.22);
  background:
    radial-gradient(circle at 28% 16%, rgba(255, 46, 120, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(20, 2, 13, 0.92), rgba(9, 0, 7, 0.96));
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.agc-sidebar-logo {
  display: block;
  padding: 8px 8px 20px;
}

.agc-sidebar-logo img {
  width: 188px;
  max-height: 92px;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: brightness(1.12) contrast(1.08) drop-shadow(0 0 18px rgba(255, 31, 111, 0.5));
}

.agc-sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.agc-sidebar-menu a,
.agc-sidebar-logout {
  min-height: 54px;
  padding: 0 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid transparent;
}

.agc-sidebar-menu a i,
.agc-sidebar-logout i {
  width: 24px;
  color: #ff5aa5;
  font-size: 18px;
}

.agc-sidebar-menu a.active,
.agc-sidebar-menu a:hover {
  color: #fff;
  background: linear-gradient(90deg, rgba(255, 46, 120, 0.34), rgba(255, 46, 120, 0.1));
  border-color: rgba(255, 46, 120, 0.56);
  box-shadow: 0 0 28px rgba(255, 46, 120, 0.18);
}

.agc-market-status {
  margin-top: auto;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 46, 120, 0.28);
  background: rgba(255, 46, 120, 0.08);
}

.agc-market-status span {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  background: #ff3f96;
  box-shadow: 0 0 16px rgba(255, 63, 150, 0.9);
}

.agc-market-status strong,
.agc-market-status p {
  display: block;
}

.agc-market-status strong {
  margin-top: 9px;
  font-size: 13px;
}

.agc-market-status p {
  margin: 6px 0 0;
  color: #28d95d;
  font-size: 13px;
}

.agc-sidebar-logout {
  color: rgba(255, 255, 255, 0.82);
}

.agc-main {
  min-width: 0;
  padding: 24px 24px 34px;
}

.agc-topbar {
  display: grid;
  grid-template-columns: 44px minmax(260px, 420px) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}

.agc-menu-btn,
.agc-notify,
.agc-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.agc-menu-btn {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: #fff;
  font-size: 22px;
}

.agc-search {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 46, 120, 0.28);
  background: rgba(255, 46, 120, 0.06);
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.58);
}

.agc-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-size: 14px;
}

.agc-search input::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.agc-user-menu {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
}

.agc-notify {
  position: relative;
  width: 42px;
  height: 42px;
  color: #fff;
  border-right: 1px solid rgba(255, 46, 120, 0.2);
  padding-right: 16px;
}

.agc-notify span {
  position: absolute;
  top: 2px;
  right: 8px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff2e78;
  color: #fff;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.agc-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #ff2e78;
  color: #ff5aa5;
  background: rgba(255, 46, 120, 0.1);
  font-weight: 800;
}

.agc-user-copy {
  display: flex;
  flex-direction: column;
}

.agc-user-copy strong {
  color: #fff;
  font-size: 14px;
}

.agc-user-copy span {
  color: #ff3f96;
  font-size: 12px;
}

.agc-welcome {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.agc-welcome p {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}

.agc-welcome p span {
  color: #ff3f96;
}

.agc-welcome small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.58);
}

.agc-glow-link {
  padding: 11px 16px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #b80045, #ff2e78);
  box-shadow: 0 0 24px rgba(255, 46, 120, 0.34);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.agc-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.agc-kpi-card,
.agc-panel {
  border: 1px solid rgba(255, 46, 120, 0.25);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 46, 120, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(42, 4, 23, 0.66), rgba(12, 1, 10, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 22px 42px rgba(0, 0, 0, 0.22);
}

.agc-kpi-card {
  min-height: 126px;
  padding: 18px;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px 14px;
  color: #fff;
}

.agc-icon {
  grid-row: span 3;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #ff5aa5;
  background: radial-gradient(circle at 35% 30%, rgba(255, 82, 159, 0.42), rgba(138, 9, 66, 0.58));
  border: 1px solid rgba(255, 46, 120, 0.42);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.agc-icon svg,
.copy-btn-modern svg {
  width: 25px;
  height: 25px;
  fill: none;
}

.agc-kpi-card span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.agc-kpi-card strong {
  color: #fff;
  font-size: 23px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.agc-kpi-card small {
  color: #28d95d;
  font-size: 12px;
}

.agc-balance-grid {
  grid-template-columns: 1fr !important;
}

.agc-premium-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: -4px 0 18px;
}

.agc-premium-actions a {
  min-height: 60px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 150, 196, 0.85);
  background: linear-gradient(135deg, #b80045 0%, #ff075f 48%, #ff3492 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 800;
  box-shadow:
    0 0 24px rgba(255, 0, 91, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.agc-premium-actions a:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 36px rgba(255, 0, 91, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.agc-premium-actions i {
  font-size: 16px;
}

.agc-dashboard-signal {
  margin: -2px 0 18px;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 46, 120, 0.3);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 46, 120, 0.22), transparent 30%),
    linear-gradient(145deg, rgba(56, 4, 28, 0.78), rgba(12, 1, 10, 0.9));
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.agc-signal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.agc-signal-head span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agc-signal-head strong {
  display: block;
  margin-top: 8px;
  max-width: 210px;
  color: #fff;
  font-size: 27px;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.agc-signal-pill {
  min-height: 42px;
  min-width: 112px;
  padding: 0 16px;
  border-radius: 999px;
  color: #28d95d;
  background: rgba(40, 217, 93, 0.1);
  border: 1px solid rgba(40, 217, 93, 0.42);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
}

.agc-signal-pill b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28d95d;
  box-shadow: 0 0 16px rgba(40, 217, 93, 0.9);
  animation: agcSignalPulse 1.45s infinite;
  flex-shrink: 0;
}

.agc-signal-graph {
  height: 220px;
  border-radius: 10px;
  border: 1px solid rgba(255, 46, 120, 0.28);
  background:
    linear-gradient(rgba(255, 46, 120, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 46, 120, 0.07) 1px, transparent 1px),
    rgba(12, 1, 10, 0.62);
  background-size: 42px 42px;
  position: relative;
  overflow: hidden;
}

.agc-signal-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 191, 95, 0.18) 48%, transparent 72%);
  transform: translateX(-100%);
  animation: agcSignalScan 3.8s linear infinite;
}

.agc-signal-candle {
  position: absolute;
  bottom: 36px;
  width: 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #28d95d, #0f8f46);
  box-shadow: 0 0 16px rgba(40, 217, 93, 0.34);
  animation: agcCandleMove 2.4s ease-in-out infinite;
}

.agc-signal-candle::before,
.agc-signal-candle::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: inherit;
  opacity: 0.75;
}

.agc-signal-candle::before {
  top: -22px;
  height: 22px;
}

.agc-signal-candle::after {
  bottom: -22px;
  height: 22px;
}

.agc-signal-candle.red {
  background: linear-gradient(180deg, #ff4f7c, #b80f3d);
  box-shadow: 0 0 16px rgba(255, 79, 124, 0.32);
}

.agc-signal-candle.c1 { left: 10%; height: 76px; animation-delay: 0s; }
.agc-signal-candle.c2 { left: 22%; height: 110px; animation-delay: -0.4s; }
.agc-signal-candle.c3 { left: 34%; height: 68px; animation-delay: -0.8s; }
.agc-signal-candle.c4 { left: 46%; height: 126px; animation-delay: -1.2s; }
.agc-signal-candle.c5 { left: 58%; height: 92px; animation-delay: -1.6s; }
.agc-signal-candle.c6 { left: 70%; height: 138px; animation-delay: -2s; }
.agc-signal-candle.c7 { left: 82%; height: 98px; animation-delay: -2.4s; }

.agc-signal-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.agc-signal-line polyline {
  fill: none;
  stroke: #ffbf5f;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  filter: drop-shadow(0 0 8px rgba(255, 191, 95, 0.7));
  animation: agcDrawSignalLine 3.2s ease-in-out infinite;
}

.agc-signal-marker {
  position: absolute;
  right: 28px;
  top: 72px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid rgba(40, 217, 93, 0.5);
  background: rgba(40, 217, 93, 0.12);
  color: #28d95d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  box-shadow: 0 0 28px rgba(40, 217, 93, 0.24);
  animation: agcMarkerFloat 2.2s ease-in-out infinite;
}

@keyframes agcDrawSignalLine {
  0% { stroke-dashoffset: 620; opacity: 0.2; }
  58% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -620; opacity: 0.25; }
}

@keyframes agcCandleMove {
  0%, 100% { transform: translateY(0) scaleY(1); }
  50% { transform: translateY(-8px) scaleY(1.08); }
}

@keyframes agcSignalScan {
  to { transform: translateX(100%); }
}

@keyframes agcMarkerFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes agcSignalPulse {
  0% { box-shadow: 0 0 0 0 rgba(40, 217, 93, 0.62); }
  70% { box-shadow: 0 0 0 10px rgba(40, 217, 93, 0); }
  100% { box-shadow: 0 0 0 0 rgba(40, 217, 93, 0); }
}

.agc-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
  gap: 18px;
  margin-bottom: 18px;
}

.agc-panel {
  border-radius: 8px;
  padding: 20px;
  min-width: 0;
}

.agc-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.agc-panel-head span,
.agc-panel-title,
.agc-referral-panel > div > span {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.agc-panel-head strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 27px;
  letter-spacing: -0.04em;
}

.agc-range-tabs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
}

.agc-range-tabs b {
  padding: 7px 10px;
  border-radius: 6px;
  color: #fff;
  background: rgba(255, 46, 120, 0.26);
  border: 1px solid rgba(255, 46, 120, 0.46);
}

.agc-chart-panel {
  min-height: 420px;
}

.agc-chart-panel canvas {
  width: 100% !important;
  height: 320px !important;
}

.agc-allocation-panel,
.agc-actions-panel {
  min-height: 230px;
}

.agc-donut {
  width: 148px;
  height: 148px;
  margin: 20px auto;
  border-radius: 50%;
  background: conic-gradient(#ff2e78 0 46%, #c23bca 46% 68%, #8b3df1 68% 82%, #ff5aa5 82% 92%, #ff90bf 92% 100%);
  position: relative;
  box-shadow: 0 0 26px rgba(255, 46, 120, 0.22);
}

.agc-donut::after {
  content: "";
  position: absolute;
  inset: 42px;
  border-radius: 50%;
  background: #090006;
}

.agc-allocation-list {
  display: grid;
  gap: 11px;
}

.agc-allocation-list span,
.agc-watch-row,
.agc-trade-row {
  color: rgba(255, 255, 255, 0.68);
}

.agc-allocation-list span {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}

.agc-allocation-list b {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: #ff2e78;
}

.agc-allocation-list span:nth-child(2) b { background: #b34df1; }
.agc-allocation-list span:nth-child(3) b { background: #c23bca; }
.agc-allocation-list span:nth-child(4) b { background: #ff90bf; }

.agc-allocation-list strong {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.agc-visual-panel {
  padding: 0;
  overflow: hidden;
}

.agc-visual-panel img,
.agc-map-panel img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.agc-visual-panel .agc-dashboard-logo-visual {
  padding: 28px;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 46, 120, 0.16), transparent 54%),
    rgba(12, 1, 10, 0.42);
  filter: brightness(1.12) contrast(1.08) drop-shadow(0 0 18px rgba(255, 31, 111, 0.38));
}

.agc-action-grid,
.agc-support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.agc-actions-top-panel,
.agc-chart-bottom-panel {
  margin-bottom: 18px;
}

.agc-action-grid a,
.agc-support-grid a {
  min-height: 82px;
  padding: 14px;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 46, 120, 0.08);
  border: 1px solid rgba(255, 46, 120, 0.24);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.agc-action-grid i,
.agc-support-grid i {
  color: #ff5aa5;
  font-size: 20px;
}

.agc-action-grid span,
.agc-support-grid span {
  font-size: 13px;
  font-weight: 700;
}

.agc-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.84fr);
  gap: 18px;
}

.agc-table-panel {
  grid-row: span 2;
}

.agc-panel-head a {
  color: #ff3f96;
  font-size: 12px;
  font-weight: 800;
}

.agc-trade-row,
.agc-watch-row {
  display: grid;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 46, 120, 0.12);
}

.agc-trade-row {
  grid-template-columns: 1fr auto 62px;
  padding: 14px 0;
}

.agc-trade-row div {
  display: grid;
  grid-template-columns: 46px 1fr;
  column-gap: 12px;
}

.agc-trade-row span {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 82, 159, 0.42), rgba(138, 9, 66, 0.58));
  border: 1px solid rgba(255, 46, 120, 0.42);
  color: #ff5aa5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(255, 46, 120, 0.18);
}

.agc-trade-row span svg {
  width: 21px;
  height: 21px;
  fill: none;
}

.agc-trade-row strong,
.agc-watch-row span {
  color: #fff;
  font-size: 14px;
}

.agc-trade-row small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
}

.agc-trade-row b,
.agc-watch-row strong {
  color: #fff;
  font-size: 14px;
}

.agc-trade-row a {
  color: #28d95d;
  font-size: 12px;
  font-weight: 800;
}

.agc-watch-row {
  grid-template-columns: 1fr auto auto;
  padding: 14px 0;
}

.agc-watch-row b {
  color: #28d95d;
  font-size: 12px;
}

.agc-watch-row.danger b {
  color: #ff3f66;
}

.agc-map-panel {
  padding: 0;
  overflow: hidden;
  min-height: 220px;
}

.agc-map-panel .agc-panel-title {
  position: absolute;
  margin: 18px;
  z-index: 1;
}

.agc-referral-panel {
  margin: 0 0 18px;
}

.agc-referral-panel .ref-modern {
  margin-top: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 46, 120, 0.22);
  background: rgba(255, 46, 120, 0.08);
}

.agc-referral-panel .ref-text {
  color: rgba(255, 255, 255, 0.68);
}

.agc-referral-panel .copy-btn-modern {
  background: linear-gradient(135deg, #b80045, #ff2e78);
}

.agc-dashboard-body .appNavBar {
  display: none;
}

.agc-dashboard-body .sidebar,
.agc-dashboard-body .sidebar-overlay {
  background: rgba(9, 0, 7, 0.96);
}

@media (max-width: 1180px) {
  .agc-dashboard.dashboard-page {
    grid-template-columns: 1fr;
  }

  .agc-sidebar {
    display: none;
  }

  .agc-main {
    padding: 18px 16px 122px;
  }

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

  .agc-content-grid,
  .agc-lower-grid {
    grid-template-columns: 1fr;
  }

  .agc-dashboard-body .appNavBar {
    display: flex;
    background: rgba(22, 2, 15, 0.9);
    border-color: rgba(255, 46, 120, 0.38);
  }
}

@media (max-width: 620px) {
  .agc-main {
    padding: 14px 12px 120px;
  }

  .agc-topbar {
    grid-template-columns: 42px 1fr;
  }

  .agc-user-menu {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: flex-start;
    padding: 12px;
    border: 1px solid rgba(255, 46, 120, 0.22);
    border-radius: 8px;
    background: rgba(255, 46, 120, 0.06);
  }

  .agc-welcome {
    align-items: flex-start;
    flex-direction: column;
  }

  .agc-welcome p {
    font-size: 22px;
  }

  .agc-kpi-grid,
  .agc-action-grid,
  .agc-support-grid {
    grid-template-columns: 1fr;
  }

  .agc-kpi-card {
    min-height: 112px;
  }

  .agc-chart-panel {
    min-height: 330px;
  }

  .agc-chart-panel canvas {
    height: 240px !important;
  }

  .agc-panel {
    padding: 16px;
  }

  .agc-trade-row {
    grid-template-columns: 1fr;
  }

  .agc-watch-row {
    grid-template-columns: 1fr auto;
  }

  .agc-watch-row b {
    grid-column: 1 / -1;
  }
}

.dashboard-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 86px;
}

.appHeader,
.header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 460px;
  border-radius: 28px;
  background: var(--nav-bg);
  color: #fcfaff;
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 22px 44px rgba(53, 34, 96, 0.24);
  z-index: 1000;
}

.appHeader {
  height: 74px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-topbar {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  left: auto;
  transform: none;
  width: calc(100% - 24px);
  margin: 0 auto 6px;
  padding: 14px 16px;
  z-index: 100;
}

.header-left,
.header-right {
  width: 44px;
  display: flex;
  align-items: center;
}

.header-title {
  flex: 1;
  text-align: center;
}

.app-header-copy {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.app-header-copy small {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(252, 250, 255, 0.68);
}

.app-header-copy span {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.header-title img {
  max-height: 34px;
  width: auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile img {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  padding: 7px;
}

.profile-copy {
  display: flex;
  flex-direction: column;
}

.profile-copy small {
  font-size: 11px;
  color: rgba(252, 250, 255, 0.72);
}

.profile-copy span {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-btn {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  transition: background 0.22s ease, transform 0.22s ease;
}

.header-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.dashboard-page {
  padding-top: 22px;
}

.balance-card {
  padding: 20px;
  border-radius: 30px;
  text-align: left;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 30%),
    linear-gradient(135deg, #ffbf5a, #ff944d);
  color: #f8fffd;
}

.balance-card span {
  display: block;
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 6px;
}

.balance-card h1 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.05em;
  margin: 0;
}

.dashboard-balance {
  width: calc(100% - 24px);
  margin: 10px auto 0;
  box-shadow: 0 24px 42px rgba(255, 148, 77, 0.26);
}

.balance-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.balance-meta div {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
}

.balance-meta small {
  display: block;
  font-size: 11px;
  color: rgba(248, 255, 253, 0.78);
  margin-bottom: 4px;
}

.balance-meta strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
}

.hero-stack,
.section-block,
.feature-grid {
  padding: 0 12px;
}

.section-heading {
  margin-bottom: 12px;
}

.section-heading span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d9d0ef;
  margin-bottom: 4px;
}

.section-heading h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.04em;
}

.card .section-heading span {
  color: var(--muted-2);
}

.card .section-heading h3 {
  color: var(--text);
}

.feature-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 28px;
  text-decoration: none;
  box-shadow: 0 22px 36px rgba(56, 38, 99, 0.18);
}

.feature-banner + .feature-banner {
  margin-top: 12px;
}

.feature-banner-warm {
  background: linear-gradient(135deg, #b794f4, #8b5cf6);
  color: #fff;
}

.feature-banner-dark {
  background: linear-gradient(135deg, #34d399, #10b981);
  color: #fff;
}

.feature-badge,
.feature-arrow {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.feature-banner-warm .feature-badge,
.feature-banner-warm .feature-arrow {
  background: rgba(255, 255, 255, 0.18);
}

.feature-banner-dark .feature-badge,
.feature-banner-dark .feature-arrow {
  background: rgba(255, 255, 255, 0.1);
}

.feature-copy span {
  display: block;
  font-size: 12px;
  opacity: 0.82;
}

.feature-copy strong {
  display: block;
  font-size: 26px;
  letter-spacing: -0.04em;
  margin-top: 2px;
}

.actions {
  display: grid;
  gap: 12px;
}

.actions-primary {
  grid-template-columns: repeat(2, 1fr);
}

.action-btn,
.game-btn,
.history-btn {
  min-height: 110px;
  padding: 18px 14px;
  border-radius: 26px;
  text-align: left;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  box-shadow: 0 18px 28px rgba(43, 34, 24, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.action-btn i,
.game-btn i,
.history-btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 16px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.16);
}

.action-btn:hover,
.game-btn:hover,
.history-btn:hover,
.summary-card:hover,
.method-card:hover,
.feature-banner:hover,
.info-panel:hover,
.resource-tile:hover {
  transform: translateY(-3px);
}

.deposit-btn {
  background: linear-gradient(135deg, #ae8bff, #8b5cf6);
}

.withdraw-btn {
  background: linear-gradient(135deg, #ff8a65, #ff6b6b);
}

.history-btn {
  background: linear-gradient(135deg, #ffcd70, #ffb347);
  color: #432d1f;
}

.history-btn i {
  background: rgba(67, 45, 31, 0.1);
}

.team-btn {
  background: linear-gradient(135deg, #2fd3b2, #12b981);
}

.card {
  text-align: left;
}

.card h3,
.card .title {
  color: var(--text);
}

.chart-card {
  padding: 20px;
}

.game-page .feature-grid {
  padding: 0 12px;
}

.game-card,
.game-balance-card {
  padding: 20px;
}

.game-balance-card .panel-copy span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.game-balance-card .panel-copy strong {
  display: block;
  font-size: 32px;
  letter-spacing: -0.05em;
  color: var(--text);
}

.coin-container {
  perspective: 1000px;
  width: 170px;
  height: 170px;
  margin: 20px auto;
}

.coin3d {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 2s ease-in-out;
}

.side {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  backface-visibility: hidden;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.12);
}

.front {
  background: linear-gradient(135deg, var(--primary), #60a5fa);
}

.back {
  background: linear-gradient(135deg, var(--danger), #db2777);
  transform: rotateY(180deg);
}

.flip-buttons {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.flip-buttons button {
  flex: 1;
}

.result-box {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(92, 72, 46, 0.08);
}

#wheel-container {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 16px auto 0;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid #d97706;
  box-shadow: 0 20px 34px rgba(43, 34, 24, 0.12);
}

#wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: transform 4s cubic-bezier(0.33, 1, 0.68, 1);
}

.segment {
  position: absolute;
  width: 50%;
  height: 50%;
  top: 50%;
  left: 50%;
  transform-origin: 0% 0%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10px;
  font-weight: 700;
  color: #fff;
}

#pointer {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 25px solid var(--danger);
  margin: 14px auto 0;
}

.dashboard > .card:first-child:not(.chart-card):not(.referral-card):not(.summary-shell) {
  position: relative;
  overflow: hidden;
}

.dashboard > .card:first-child:not(.chart-card):not(.referral-card):not(.summary-shell)::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.08);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.info-panel {
  min-height: 112px;
  border-radius: 26px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  box-shadow: 0 18px 30px rgba(43, 34, 24, 0.12);
}

.panel-gold {
  background: linear-gradient(135deg, #ffcd70, #ffb347);
  color: #432d1f;
}

.panel-dark {
  background: linear-gradient(135deg, #b794f4, #8b5cf6);
  color: #fff;
}

.panel-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  font-size: 16px;
}

.panel-copy span {
  display: block;
  font-size: 12px;
  opacity: 0.82;
  margin-bottom: 4px;
}

.panel-copy strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.resource-tile {
  min-height: 112px;
  padding: 18px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 18px 30px rgba(43, 34, 24, 0.12);
}

.resource-tile i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
}

.resource-tile small {
  display: block;
  font-size: 11px;
  opacity: 0.8;
  margin-bottom: 4px;
}

.resource-tile strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.resource-whatsapp {
  background: linear-gradient(135deg, #2fd3b2, #12b981);
}

.resource-orange {
  background: linear-gradient(135deg, #ff8a65, #ff6b6b);
}

.resource-gold {
  background: linear-gradient(135deg, #ffcd70, #ffb347);
  color: #432d1f;
}

.resource-gold i {
  background: rgba(67, 45, 31, 0.12);
}

.resource-dark {
  background: linear-gradient(135deg, #ae8bff, #8b5cf6);
}

.referral-card,
.summary-shell {
  padding: 20px;
}

.ref-modern {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  margin-top: 12px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(246, 240, 255, 0.88);
  border: 1px solid rgba(139, 92, 246, 0.08);
}

.ref-text {
  flex: 1;
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  word-break: break-all;
}

.copy-btn-modern {
  background: linear-gradient(135deg, #8b5cf6, #c084fc);
  border: none;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  cursor: pointer;
  flex-shrink: 0;
}

.summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.summary-card {
  min-height: 108px;
  padding: 16px;
  border-radius: 24px;
  color: #fff;
  box-shadow: 0 14px 26px rgba(43, 34, 24, 0.14);
  transition: transform 0.22s ease;
}

.summary-card h3 {
  font-size: 11px;
  font-weight: 700;
  margin: 0;
  opacity: 0.82;
}

.summary-card h2 {
  font-size: 18px;
  font-weight: 800;
  margin-top: 10px;
  letter-spacing: -0.03em;
}

.team-card {
  background: linear-gradient(135deg, #2fd3b2, #12b981);
}

.deposit-card {
  background: linear-gradient(135deg, #5ea7ff, #3b82f6);
}

.withdraw-card {
  background: linear-gradient(135deg, #ff8a65, #ff6b6b);
}

.bonus-card {
  background: linear-gradient(135deg, #ffcd70, #ffb347);
  color: #432d1f;
}

.status-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 16px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
}

.status-icon.success {
  background: linear-gradient(135deg, #15803d, #4ade80);
}

.status-icon.error {
  background: linear-gradient(135deg, #c2410c, #f97316);
}

.status-icon.warning {
  background: linear-gradient(135deg, #f59e0b, #facc15);
  color: #2b2218;
}

.withdraw-title {
  font-size: 18px;
  font-weight: 800;
}

.withdraw-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.method-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.method-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.method-card:hover {
  box-shadow: 0 18px 32px rgba(81, 54, 138, 0.18);
}

.method-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.method-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.08);
}

.method-icon img {
  width: 24px;
}

.method-name {
  font-size: 14px;
  font-weight: 700;
}

.method-arrow {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #8b5cf6, #c084fc);
  position: relative;
}

.method-card.loading {
  opacity: 0.6;
  pointer-events: none;
}

.method-arrow.btn-loading .arrow-icon {
  visibility: hidden;
}

.method-arrow.btn-loading::after,
.game-btn.loading::after,
.history-btn.loading::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spin 0.65s linear infinite;
}

.game-grid,
.history-grid {
  display: flex;
  gap: 12px;
  padding: 0 12px;
  margin-top: 12px;
}

.game-btn {
  flex: 1;
  background: linear-gradient(135deg, #b794f4, #8b5cf6);
}

.game-btn.loading i,
.game-btn.loading span,
.history-btn.loading i,
.history-btn.loading span {
  opacity: 0;
}

.live-bet-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 24px);
  margin: 14px auto 0;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(135deg, #5b4a87, #403260);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.2);
}

.live-dot {
  width: 9px;
  height: 9px;
  background: #ffd56a;
  border-radius: 50%;
  animation: blink 1s infinite;
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(49, 35, 84, 0.38);
  display: none;
  z-index: 9998;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100%;
  background: rgba(91, 74, 135, 0.96);
  color: #fcfaff;
  backdrop-filter: blur(18px);
  transition: left 0.3s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  box-shadow: 18px 0 40px rgba(47, 28, 91, 0.24);
}

.sidebar.active {
  left: 0;
}

.sidebar-header {
  padding: 22px 18px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-header h3 {
  font-size: 18px;
}

.sidebar-header button {
  background: none;
  border: none;
  font-size: 22px;
  color: #fff;
}

.sidebar-menu {
  padding: 12px;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  color: #fcfaff;
  font-size: 14px;
  transition: background 0.22s ease, transform 0.22s ease;
}

.sidebar-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(3px);
}

.sidebar-menu .logout {
  margin-top: 10px;
  background: linear-gradient(135deg, var(--danger), var(--danger-2));
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 460px;
  z-index: 1000;
}

.appNavBar {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 460px;
  height: 78px;
  padding: 10px;
  border-radius: 28px;
  background: var(--nav-bg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 22px 42px rgba(53, 34, 96, 0.24);
  z-index: 9999;
}

.navLink {
  flex: 1;
  text-align: center;
  color: rgba(252, 250, 255, 0.78);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  position: relative;
  transition: color 0.22s ease, transform 0.22s ease;
}

.navLink i {
  font-size: 18px;
  margin-bottom: 4px;
}

.navLink p {
  margin: 0;
  font-size: 10px;
}

.navLink.active {
  color: #fff;
  transform: translateY(-2px);
}

.navLink.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  width: 18px;
  height: 4px;
  border-radius: 999px;
  background: #fff;
}

.navLink.center {
  top: -20px;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border-radius: 20px;
  background: linear-gradient(135deg, #8b5cf6, #ffb347);
  color: #fff;
  box-shadow: 0 18px 30px rgba(139, 92, 246, 0.28);
}

.navLink.center i {
  font-size: 22px;
  margin: 0;
}

.navLink.center p,
.badge-dot {
  display: none;
}

@keyframes spin {
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.25;
  }
}

@media (max-width: 480px) {
  .dashboard,
  .plan-page {
    max-width: 100%;
  }

  .appHeader,
  .header,
  .appNavBar {
    width: calc(100% - 14px);
  }

  .balance-meta,
  .summary,
  .actions-primary {
    grid-template-columns: 1fr;
  }

  .feature-copy strong {
    font-size: 22px;
  }
}

/* Dashboard redesign layer */
.dashboard-page {
  gap: 16px;
}

.dashboard-page > * {
  animation: dashRise 0.52s ease both;
}

.dashboard-page > *:nth-child(2) { animation-delay: 0.04s; }
.dashboard-page > *:nth-child(3) { animation-delay: 0.08s; }
.dashboard-page > *:nth-child(4) { animation-delay: 0.12s; }
.dashboard-page > *:nth-child(5) { animation-delay: 0.16s; }
.dashboard-page > *:nth-child(6) { animation-delay: 0.2s; }
.dashboard-page > *:nth-child(7) { animation-delay: 0.24s; }
.dashboard-page > *:nth-child(8) { animation-delay: 0.28s; }

.dashboard-page .dashboard-hero-card {
  position: relative;
  overflow: hidden;
  padding: 24px 22px 20px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 255, 255, 0.24), transparent 22%),
    radial-gradient(circle at 16% 10%, rgba(255, 255, 255, 0.12), transparent 18%),
    linear-gradient(145deg, #ffc66d, #ff9a55 58%, #ff7e68);
  box-shadow: 0 32px 52px rgba(255, 143, 92, 0.28);
}

.dashboard-page .dashboard-hero-card::before,
.dashboard-page .dashboard-hero-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.dashboard-page .dashboard-hero-card::before {
  width: 190px;
  height: 190px;
  top: -90px;
  right: -52px;
  background: rgba(255, 255, 255, 0.14);
}

.dashboard-page .dashboard-hero-card::after {
  width: 118px;
  height: 118px;
  right: 16px;
  bottom: -42px;
  background: rgba(255, 255, 255, 0.1);
}

.dashboard-page .dashboard-hero-card > span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-page .dashboard-hero-card h1 {
  max-width: 270px;
  font-size: 38px;
  line-height: 1;
  margin-top: 2px;
}

.dashboard-page .dashboard-hero-card .balance-meta {
  margin-top: 20px;
  gap: 12px;
}

.dashboard-page .dashboard-hero-card .balance-meta div {
  padding: 14px 14px 13px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.dashboard-page .dashboard-games {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 12px;
}

.dashboard-page .dashboard-games .feature-banner {
  min-height: 142px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
}

.dashboard-page .dashboard-games .feature-banner::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -18px;
  top: -20px;
  border-radius: 32px;
  transform: rotate(18deg);
  background: rgba(255, 255, 255, 0.14);
}

.dashboard-page .dashboard-games .feature-banner-warm {
  background: linear-gradient(145deg, #caa7ff, #8b5cf6 62%, #7446ea);
}

.dashboard-page .dashboard-games .feature-banner-dark {
  background: linear-gradient(145deg, #48dfbf, #14b8a6 58%, #0b9a8a);
  margin-top: 26px;
}

.dashboard-page .dashboard-games .feature-copy strong {
  max-width: 120px;
  font-size: 24px;
}

.dashboard-page .dashboard-actions-block .actions-primary {
  gap: 14px;
}

.dashboard-page .dashboard-actions-block .action-btn {
  min-height: 122px;
  border-radius: 30px;
  padding: 18px 16px 16px;
  overflow: hidden;
}

.dashboard-page .dashboard-actions-block .action-btn::before {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 74px;
  height: 74px;
  border-radius: 24px;
  transform: rotate(22deg);
  background: rgba(255, 255, 255, 0.12);
}

.dashboard-page .dashboard-actions-block .action-btn i,
.dashboard-page .dashboard-insights .info-panel .panel-icon,
.dashboard-page .resource-grid .resource-tile i {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.dashboard-page .dashboard-chart-card {
  padding: 22px 20px 18px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 240, 255, 0.93));
  box-shadow: 0 28px 44px rgba(69, 42, 121, 0.14);
}

.dashboard-page .dashboard-chart-card canvas {
  margin-top: 10px;
}

.dashboard-page .dashboard-insights .info-panel {
  min-height: 126px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
}

.dashboard-page .dashboard-insights .info-panel::after {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  right: -26px;
  bottom: -30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.dashboard-page .dashboard-support-block .resource-grid {
  gap: 14px;
}

.dashboard-page .dashboard-support-block .section-heading span {
  color: #ffb347;
}

.dashboard-page .dashboard-support-block .section-heading h3 {
  color: #ff8a65;
}

.task-spotlight-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0 0 14px;
  padding: 16px 18px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(145deg, #ffb347, #ff8a65);
  color: #fff;
  box-shadow: 0 18px 34px rgba(255, 138, 101, 0.24);
}

.task-spotlight-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.22) 50%, transparent 80%);
  transform: translateX(-120%);
  animation: taskShine 2.8s linear infinite;
}

.task-spotlight-icon,
.task-spotlight-copy {
  position: relative;
  z-index: 1;
}

.task-spotlight-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  font-size: 16px;
}

.task-spotlight-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.task-spotlight-copy small {
  display: block;
  font-size: 11px;
  opacity: 0.86;
  margin-bottom: 4px;
}

.task-spotlight-copy strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.task-spotlight-pulse {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  animation: taskPulse 1.8s infinite;
}

.dashboard-page .dashboard-support-block .resource-tile {
  min-height: 128px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.dashboard-page .dashboard-support-block .resource-tile::before {
  content: "";
  position: absolute;
  width: 84px;
  height: 84px;
  right: -18px;
  top: -18px;
  border-radius: 28px;
  transform: rotate(22deg);
  background: rgba(255, 255, 255, 0.12);
}

.dashboard-page .dashboard-referral-card,
.dashboard-page .dashboard-summary-card {
  border-radius: 32px;
}

.dashboard-page .dashboard-referral-card .ref-modern {
  padding: 16px;
  border-radius: 22px;
}

.dashboard-page .dashboard-summary-card .summary {
  gap: 14px;
}

.dashboard-page .dashboard-summary-card .summary-card {
  min-height: 116px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.dashboard-page .dashboard-summary-card .summary-card::after {
  content: "";
  position: absolute;
  width: 78px;
  height: 78px;
  right: -18px;
  bottom: -18px;
  border-radius: 24px;
  transform: rotate(18deg);
  background: rgba(255, 255, 255, 0.12);
}

.dashboard-page .dashboard-summary-card .summary-card:nth-child(1),
.dashboard-page .dashboard-summary-card .summary-card:nth-child(4),
.dashboard-page .dashboard-summary-card .summary-card:nth-child(7) {
  transform: translateY(-4px);
}

.dashboard-page .dashboard-summary-card .summary-card:nth-child(2),
.dashboard-page .dashboard-summary-card .summary-card:nth-child(5) {
  transform: translateY(8px);
}

@keyframes dashRise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes taskPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes taskShine {
  100% {
    transform: translateX(120%);
  }
}

@media (max-width: 480px) {
  .dashboard-page .dashboard-games,
  .dashboard-page .dashboard-actions-block .actions-primary,
  .dashboard-page .dashboard-summary-card .summary {
    grid-template-columns: 1fr;
  }

  .dashboard-page .dashboard-games .feature-banner-dark,
  .dashboard-page .dashboard-summary-card .summary-card:nth-child(1),
  .dashboard-page .dashboard-summary-card .summary-card:nth-child(2),
  .dashboard-page .dashboard-summary-card .summary-card:nth-child(4),
  .dashboard-page .dashboard-summary-card .summary-card:nth-child(5),
  .dashboard-page .dashboard-summary-card .summary-card:nth-child(7) {
    margin-top: 0;
    transform: none;
  }
}

/* Reference-image dashboard */
.dashboard.dashboard-page {
  width: calc(100% - 24px);
  max-width: 420px;
  margin: 14px auto 0;
  padding: 18px 14px 140px;
  border-radius: 38px;
  background:
    radial-gradient(circle at top right, rgba(168, 126, 255, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 255, 0.96));
  box-shadow: 0 38px 70px rgba(50, 30, 91, 0.28);
}

.dashboard-page > * {
  animation: none;
}

.dashboard-page .dashboard-topbar {
  position: relative;
  top: auto;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.dashboard-page .topbar {
  gap: 10px;
}

.dashboard-page .profile {
  gap: 10px;
}

.dashboard-page .profile img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  padding: 0;
  background: linear-gradient(145deg, #c5acff, #8b5cf6);
  border: 3px solid rgba(139, 92, 246, 0.14);
}

.dashboard-page .profile-copy small {
  color: #8d80ad;
  font-size: 11px;
}

.dashboard-page .profile-copy span {
  max-width: 150px;
  color: #2e2546;
  font-size: 16px;
  font-weight: 700;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.balance-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(145deg, #b07cff, #8b5cf6);
  color: #fff;
  box-shadow: 0 12px 24px rgba(139, 92, 246, 0.22);
  font-size: 12px;
  font-weight: 700;
}

.balance-pill i {
  font-size: 11px;
  opacity: 0.9;
}

.dashboard-page .header-btn {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: #f0e9ff;
  color: #8b5cf6;
  box-shadow: none;
}

.shortcut-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.shortcut-card {
  min-height: 118px;
  padding: 16px 12px;
  border-radius: 22px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 30px rgba(67, 44, 120, 0.14);
}

.shortcut-card::before {
  content: "";
  position: absolute;
  width: 74px;
  height: 74px;
  right: -18px;
  bottom: -18px;
  border-radius: 24px;
  transform: rotate(22deg);
  background: rgba(255, 255, 255, 0.12);
}

.shortcut-purple {
  background: linear-gradient(145deg, #c8a6ff, #8b5cf6);
}

.shortcut-green {
  background: linear-gradient(145deg, #45dfc1, #14b8a6);
}

.shortcut-orange {
  background: linear-gradient(145deg, #ff975a, #ff6b5f);
}

.shortcut-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  font-size: 17px;
}

.shortcut-card .feature-copy {
  position: relative;
  z-index: 1;
}

.shortcut-card .feature-copy span {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  opacity: 0.88;
}

.shortcut-card .feature-copy strong {
  display: block;
  max-width: none;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.dashboard-page .dashboard-hero-card.featured-cta-card {
  width: 100%;
  margin: 0 0 16px;
  min-height: 168px;
  padding: 24px 22px;
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.24), transparent 18%),
    linear-gradient(145deg, #ffc861, #fcae45 62%, #f99a32);
  box-shadow: 0 22px 40px rgba(249, 154, 50, 0.26);
}

.featured-cta-card .featured-copy {
  position: relative;
  z-index: 1;
}

.featured-cta-card .featured-copy span {
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.92;
}

.featured-cta-card .featured-copy h1 {
  margin: 8px 0;
  font-size: 36px;
  line-height: 1;
  max-width: 190px;
}

.featured-cta-card .featured-copy p {
  max-width: 180px;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.45;
}

.featured-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #613c14;
  font-size: 12px;
  font-weight: 700;
}

.featured-visual {
  position: relative;
  width: 120px;
  height: 120px;
  flex: 0 0 120px;
}

.featured-ring {
  position: absolute;
  border-radius: 50%;
  border: 10px solid rgba(255, 255, 255, 0.9);
}

.ring-one {
  width: 76px;
  height: 76px;
  top: 14px;
  left: 10px;
  border-color: #22c55e transparent #facc15 #8b5cf6;
  transform: rotate(-18deg);
}

.ring-two {
  width: 48px;
  height: 48px;
  right: 14px;
  bottom: 18px;
  border-width: 8px;
  border-color: #14b8a6 #ff8a65 #c084fc transparent;
  transform: rotate(26deg);
}

.featured-dot {
  position: absolute;
  top: 50px;
  left: 54px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    -22px 20px 0 0 #8b5cf6,
    26px -8px 0 0 #22c55e,
    28px 28px 0 0 #facc15;
}

.class-explorer-card {
  width: 100%;
  margin: 0 0 16px;
  padding: 18px 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 34px rgba(67, 44, 120, 0.1);
}

.class-explorer-card .section-heading {
  margin-bottom: 14px;
}

.class-explorer-card .section-heading span {
  color: #a190c7;
}

.class-explorer-card .section-heading h3 {
  color: #2e2546;
  font-size: 26px;
}

.class-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.class-chip {
  min-height: 84px;
  padding: 14px 16px;
  border-radius: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(67, 44, 120, 0.12);
}

.class-chip small {
  display: block;
  font-size: 11px;
  opacity: 0.82;
  margin-bottom: 5px;
}

.class-chip strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.03em;
}

.chip-purple { background: linear-gradient(145deg, #be96ff, #8b5cf6); }
.chip-orange { background: linear-gradient(145deg, #ffca69, #f6a73a); }
.chip-blue { background: linear-gradient(145deg, #71b9ff, #3b82f6); }
.chip-green { background: linear-gradient(145deg, #48dfbf, #10b981); }

.dashboard-page .dashboard-chart-card,
.dashboard-page .dashboard-insights,
.dashboard-page .dashboard-support-block,
.dashboard-page .dashboard-referral-card,
.dashboard-page .dashboard-summary-card {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.dashboard-page .dashboard-chart-card,
.dashboard-page .dashboard-referral-card,
.dashboard-page .dashboard-summary-card {
  border-radius: 24px;
}

.appNavBar {
  left: 50%;
  bottom: 18px;
  width: min(390px, calc(100% - 46px));
  height: 76px;
  padding: 10px 12px;
  border-radius: 26px;
  background: rgba(164, 133, 224, 0.86);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 22px 42px rgba(63, 38, 112, 0.26);
}

.navLink {
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
}

.navLink i {
  font-size: 17px;
  margin-bottom: 3px;
}

.navLink p {
  font-size: 10px;
}

.navLink.active {
  color: #ffffff;
  transform: translateY(0);
}

.navLink.active::after {
  display: none;
}

.navLink.center {
  top: -22px;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border-radius: 50%;
  background: linear-gradient(145deg, #b07cff, #8b5cf6);
  box-shadow: 0 18px 34px rgba(139, 92, 246, 0.34);
}

.navLink.center i {
  font-size: 22px;
}

.navLink.center img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.08) drop-shadow(0 0 12px rgba(255, 46, 120, 0.7));
}

@media (max-width: 480px) {
  .dashboard.dashboard-page {
    width: calc(100% - 24px);
    margin: 10px auto 0;
    max-width: none;
    padding: 16px 12px 136px;
    border-radius: 32px;
  }

  .shortcut-strip,
  .class-chip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shortcut-strip .shortcut-card:last-child {
    grid-column: span 2;
    min-height: 92px;
  }

  .dashboard-page .dashboard-hero-card.featured-cta-card {
    min-height: 154px;
    padding: 20px 18px;
  }

  .featured-cta-card .featured-copy h1 {
    font-size: 31px;
  }

  .featured-visual {
    width: 96px;
    height: 96px;
    flex-basis: 96px;
  }

  .ring-one {
    width: 62px;
    height: 62px;
  }

  .ring-two {
    width: 40px;
    height: 40px;
  }

  .featured-dot {
    top: 38px;
    left: 40px;
  }

  .appNavBar {
    width: calc(100% - 28px);
    bottom: 10px;
  }
}

/* AGC dashboard clarity fix: must stay after legacy dashboard rules */
body.agc-dashboard-body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 46, 120, 0.2), transparent 30%),
    radial-gradient(circle at 82% 20%, rgba(255, 46, 120, 0.11), transparent 24%),
    linear-gradient(135deg, #070006 0%, #17020f 48%, #050005 100%) !important;
}

body.agc-dashboard-body .agc-dashboard.dashboard-page {
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: grid !important;
  grid-template-columns: 250px minmax(0, 1fr) !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.agc-dashboard-body .agc-sidebar {
  display: flex !important;
  width: 250px;
  min-width: 250px;
}

body.agc-dashboard-body .agc-main {
  min-width: 0;
  width: 100%;
  padding: 24px clamp(18px, 2vw, 30px) 34px !important;
}

body.agc-dashboard-body .agc-topbar {
  display: block !important;
  margin-bottom: 18px;
}

body.agc-dashboard-body .agc-search {
  width: 100%;
  max-width: 420px;
}

body.agc-dashboard-body .agc-user-menu {
  min-width: 0;
  width: 100%;
  justify-content: flex-start;
  padding: 12px;
  border: 1px solid rgba(255, 46, 120, 0.22);
  border-radius: 10px;
  background: rgba(255, 46, 120, 0.06);
}

body.agc-dashboard-body .agc-welcome {
  display: flex !important;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

body.agc-dashboard-body .agc-kpi-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(170px, 1fr)) !important;
  gap: 18px;
}

body.agc-dashboard-body .agc-balance-grid {
  grid-template-columns: 1fr !important;
}

body.agc-dashboard-body .agc-premium-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.agc-dashboard-body .agc-kpi-card {
  min-width: 0;
}

body.agc-dashboard-body .agc-content-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.85fr) !important;
  gap: 18px;
}

body.agc-dashboard-body .agc-lower-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.85fr) !important;
  gap: 18px;
}

body.agc-dashboard-body .agc-panel,
body.agc-dashboard-body .agc-kpi-card {
  border-radius: 10px !important;
}

body.agc-dashboard-body .agc-chart-panel {
  min-height: 410px;
}

body.agc-dashboard-body .agc-chart-panel canvas {
  height: 310px !important;
}

body.agc-dashboard-body .appNavBar {
  display: none !important;
}

@media (max-width: 1280px) {
  body.agc-dashboard-body .agc-dashboard.dashboard-page {
    grid-template-columns: 220px minmax(0, 1fr) !important;
  }

  body.agc-dashboard-body .agc-sidebar {
    width: 220px;
    min-width: 220px;
    padding-left: 14px;
    padding-right: 14px;
  }

  body.agc-dashboard-body .agc-sidebar-logo img {
    width: 170px;
  }

  body.agc-dashboard-body .agc-kpi-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr)) !important;
  }

  body.agc-dashboard-body .agc-content-grid,
  body.agc-dashboard-body .agc-lower-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 1100px) {
  body.agc-dashboard-body .agc-dashboard.dashboard-page {
    display: block !important;
    width: 100% !important;
  }

  body.agc-dashboard-body .agc-sidebar {
    display: none !important;
  }

  body.agc-dashboard-body .agc-main {
    padding: 16px 14px 122px !important;
  }

  body.agc-dashboard-body .agc-topbar {
    display: block !important;
    margin-bottom: 14px;
  }

  body.agc-dashboard-body .agc-user-menu {
    width: 100%;
  }

  body.agc-dashboard-body .agc-welcome {
    align-items: flex-start;
    flex-direction: column;
  }

  body.agc-dashboard-body .agc-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.agc-dashboard-body .appNavBar {
    display: flex !important;
    background: rgba(22, 2, 15, 0.92) !important;
    border-color: rgba(255, 46, 120, 0.38) !important;
  }
}

@media (max-width: 560px) {
  body.agc-dashboard-body .agc-main {
    padding: 14px 10px 118px !important;
  }

  body.agc-dashboard-body .agc-kpi-grid {
    grid-template-columns: 1fr !important;
  }

  body.agc-dashboard-body .agc-action-grid,
  body.agc-dashboard-body .agc-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.agc-dashboard-body .agc-premium-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.agc-dashboard-body .agc-table-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body.agc-dashboard-body .agc-table-panel .agc-panel-head {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  body.agc-dashboard-body .agc-trade-row {
    min-height: 138px;
    padding: 14px;
    border: 1px solid rgba(255, 46, 120, 0.24);
    border-radius: 12px;
    background: rgba(255, 46, 120, 0.06);
    align-content: start;
    gap: 8px;
  }

  body.agc-dashboard-body .agc-trade-row div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  body.agc-dashboard-body .agc-trade-row span {
    grid-row: auto;
    width: 38px;
    height: 38px;
  }

  body.agc-dashboard-body .agc-trade-row strong {
    font-size: 13px;
    line-height: 1.2;
  }

  body.agc-dashboard-body .agc-trade-row small {
    font-size: 11px;
  }

  body.agc-dashboard-body .agc-panel {
    padding: 15px !important;
  }

  body.agc-dashboard-body .agc-dashboard-signal {
    padding: 15px !important;
  }

  body.agc-dashboard-body .agc-signal-head strong {
    font-size: 25px;
  }

  body.agc-dashboard-body .agc-signal-pill {
    min-width: 92px;
    padding: 0 12px;
    font-size: 12px;
  }

  body.agc-dashboard-body .agc-signal-graph {
    height: 214px;
  }

  body.agc-dashboard-body .agc-chart-panel {
    min-height: 320px;
  }

  body.agc-dashboard-body .agc-chart-panel canvas {
    height: 230px !important;
  }
}
