:root {
  color-scheme: dark;
  --bg-base: #0d123a;
  --bg-panel: #111842;
  --bg-panel-deep: #0b1135;
  --accent: #0144ee;
  --accent-strong: #2d74ff;
  --accent-glow: rgba(47, 116, 255, 0.35);
  --text-primary: #ebf1ff;
  --text-muted: #95a5dc;
  --text-dim: #7e90c9;
  --border: rgb(19 42 101);
  --radius: 4px;
  --input-radius: 3px;
  --shadow-card: 0 20px 35px rgb(2 8 34 / 66%);
  --scrollbar-track: rgba(8, 17, 52, 0.9);
  --scrollbar-thumb: linear-gradient(180deg, rgba(32, 103, 255, 0.78), rgba(14, 67, 211, 0.82));
  --scrollbar-thumb-hover: linear-gradient(180deg, rgba(79, 145, 255, 0.86), rgba(22, 86, 240, 0.9));
}

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

html,
body {
  margin: 0;
  height: 100%;
  font-family: 'Istok Web', sans-serif;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 14% 12%, rgba(28, 94, 255, 0.2), transparent 48%),
    radial-gradient(circle at 84% 18%, rgba(12, 40, 130, 0.35), transparent 42%),
    linear-gradient(160deg, #0a1033 0%, var(--bg-base) 52%, #080f2f 100%);
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.griddy-icon {
  filter: brightness(0) invert(1);
}

.dashboard-shell {
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
}

.sidebar {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  border-right: 1px solid rgba(30, 95, 245, 0.35);
  background:
    radial-gradient(circle at 20% 0%, rgba(11, 90, 255, 0.38), transparent 40%),
    linear-gradient(180deg, rgba(9, 20, 69, 0.97), rgba(8, 14, 50, 0.97) 55%, rgba(5, 11, 40, 0.98));
  padding: 0px;
}

.sidebar,
.dashboard-main {
  scrollbar-width: thin;
  scrollbar-color: rgba(38, 112, 255, 0.75) var(--scrollbar-track);
}

.sidebar::-webkit-scrollbar,
.dashboard-main::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.sidebar::-webkit-scrollbar-track,
.dashboard-main::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-radius: 999px;
}

.sidebar::-webkit-scrollbar-thumb,
.dashboard-main::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 999px;
  border: 1px solid rgba(78, 136, 255, 0.36);
  box-shadow: inset 0 0 6px rgba(166, 201, 255, 0.25);
}

.sidebar::-webkit-scrollbar-thumb:hover,
.dashboard-main::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

.sidebar::after {
  content: '';
  position: absolute;
  top: 0px;
  bottom: 0px;
  right: -1px;
  width: 2px;
  background: linear-gradient(180deg, rgba(67, 143, 255, 0.55), rgba(18, 72, 231, 0.32));
  box-shadow: 0 0 10px rgba(45, 118, 255, 0.45);
  pointer-events: none;
}

.brand {
  display: flex;
  align-items: center;
  margin: 10px;
  padding: 9px 10px;
  border-bottom: 1px solid rgba(98, 138, 230, 0.32);
}

.brand-logo {
  width: 100%;
  max-width: 244px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(47, 116, 255, 0.38));
}

.atlas-sandbox-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin: 0 10px 6px;
  border: 1px solid rgba(63, 130, 255, 0.42);
  border-radius: var(--input-radius);
  color: #edf3ff;
  font-size: 13px;
  font-weight: 700;
  background:
    radial-gradient(circle at 50% -90%, rgba(88, 144, 255, 0.26), transparent 62%),
    linear-gradient(180deg, rgba(15, 45, 128, 0.82), rgba(8, 17, 58, 0.96));
  box-shadow: inset 0 1px 0 rgba(113, 164, 255, 0.18), 0 1px 1px rgb(4 10 31);
  transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.atlas-sandbox-link:hover {
  border-color: rgba(89, 156, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(60, 123, 255, 0.22), 0 0 12px rgba(47, 116, 255, 0.16);
}

/* Sidebar "Chat with our data" button: a soft light follows the cursor
   (--mx/--my are set by dashboard.js on pointermove). */
.atlas-chat-link {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 36px;
  margin: 0 10px 6px;
  padding: 0 12px;
  border: 1px solid rgba(94, 132, 225, 0.45);
  border-radius: var(--input-radius);
  color: #edf3ff;
  font-size: 13px;
  font-weight: normal;
  text-decoration: none;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
  background: radial-gradient(circle at 50% -90%, rgba(120, 150, 255, 0.28), transparent 62%), linear-gradient(180deg, rgb(22 23 138 / 90%), rgba(10, 20, 66, 0.98));
  box-shadow: inset 0 1px 0 rgba(150, 180, 255, 0.2), 0 1px 1px rgb(4 10 31);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.atlas-chat-link-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(120px 80px at var(--mx) var(--my), rgb(143 159 255 / 45%), rgba(192, 132, 252, 0.18) 45%, transparent 70%);
  transition: opacity 220ms ease;
  mix-blend-mode: overlay;
}

.atlas-chat-link::after {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(160px 60px at var(--mx) var(--my), rgba(190, 210, 255, 0.9), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 220ms ease;
}

.atlas-chat-link:hover,
.atlas-chat-link:focus-visible {
  border-color: rgba(143, 179, 255, 0.7);
  /* box-shadow: inset 0 1px 0 rgba(150, 180, 255, 0.25), 0 0 18px rgba(45, 116, 255, 0.28); */
  transform: translateY(-1px);
}

.atlas-chat-link:hover .atlas-chat-link-glow,
.atlas-chat-link:hover::after,
.atlas-chat-link:focus-visible .atlas-chat-link-glow {
  opacity: 1;
}

.atlas-chat-link.is-active {
  border-color: rgb(0 8 250 / 60%);
}

.atlas-chat-link-icon,
.atlas-chat-link-label {
  position: relative;
  z-index: 1;
}

.atlas-chat-link-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(143, 179, 255, 0.55));
  transition: transform 220ms ease;
}

.atlas-chat-link:hover .atlas-chat-link-icon {
  /* transform: rotate(-8deg) scale(1.08); */
}

@media (prefers-reduced-motion: reduce) {
  .atlas-chat-link,
  .atlas-chat-link-icon,
  .atlas-chat-link-glow,
  .atlas-chat-link::after {
    transition: none;
  }

  .atlas-chat-link:hover {
    transform: none;
  }
}

.sidebar-search {
  min-height: 34px;
  border-radius: var(--input-radius);
  border: 0px;
  padding: 0 12px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 12px;
  background: radial-gradient(circle at 50% -120%, rgba(88, 144, 255, 0.18), transparent 58%), linear-gradient(180deg, rgba(6, 13, 40, 0.95), rgba(7, 14, 43, 0.98));
  box-shadow: inset 0 2px 0 rgb(0 0 0), inset 0 -10px 16px rgba(2, 8, 28, 0.5), 0px 1px 1px rgb(41 98 205);
  display: flex;
  align-items: center;
  margin: 4px 10px;
}

.sidebar-search-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 13px;
  font-family: inherit;
}

.sidebar-search-input::placeholder {
  color: var(--text-dim);
}

.sidebar-icon {
  width: 18px;
  height: 18px;
  opacity: 0.88;
  filter: brightness(0) saturate(100%) invert(65%) sepia(83%) saturate(1458%) hue-rotate(195deg) brightness(103%) contrast(103%);
}

.game-selector {
  width: 100%;
  min-height: 42px;
  font-size: 13px;
  padding: 8px 12px 7px;
}

.game-selector-dropdown {
  margin: 4px 10px 8px;
  width: calc(100% - 20px);
}

.game-selector-dropdown .dropdown-menu {
  margin-top: 4px;
}

.nav-section {
  margin-bottom: 8px;
  padding: 4px 10px;
}

.nav-label {
  margin: 0 0 5px;
  font-size: 11px;
  color: #2fa1ff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-group {
  border-left: 2px solid rgba(59, 145, 255, 0.65);
  padding-left: 4px;
}

.nav-section-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 0 0 5px;
  border: 0;
  background: none;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
}

.nav-section-toggle .nav-label {
  display: block;
  margin: 0;
}

.nav-collapse-chevron {
  width: 14px;
  height: 14px;
  opacity: 0.7;
  transition: transform 140ms ease;
}

.nav-section-collapsible.is-collapsed .nav-collapse-chevron {
  transform: rotate(-90deg);
}

.nav-section-collapsible.is-collapsed .nav-group {
  display: none;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  border-radius: 0;
  color: #edf3ff;
  padding: 0 12px;
  margin-bottom: 2px;
  border: 1px solid transparent;
  font-size: 15px;
  transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

/* Game-gated nav links use the hidden attribute; beat display:flex above. */
.nav-item[hidden],
.nav-item.is-hidden-for-game {
  display: none !important;
}

.nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.95;
  filter: brightness(0) saturate(100%) invert(99%) sepia(16%) saturate(382%) hue-rotate(183deg) brightness(116%) contrast(100%);
}

.nav-item:hover,
.nav-item.active {
  border-color: rgba(63, 130, 255, 0.55);
  background:
    radial-gradient(circle at 25% 50%, rgba(58, 126, 255, 0.32), transparent 68%),
    linear-gradient(90deg, rgba(35, 98, 243, 0.35), rgba(21, 54, 152, 0.34));
  box-shadow: inset 0 0 0 1px rgba(60, 123, 255, 0.22);
}

/* Pinned to the bottom of the sidebar column, but still scrolls with it when
   the navigation is taller than the viewport. */
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  margin: auto 10px 10px;
  border-top: 1px solid rgba(98, 138, 230, 0.32);
}

.sidebar-user-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(92, 140, 255, 0.5);
  background:
    radial-gradient(circle at 50% -30%, rgba(108, 167, 255, 0.46), transparent 56%),
    linear-gradient(180deg, rgba(26, 47, 111, 0.96), rgba(16, 32, 82, 0.94));
}

.sidebar-user-initials {
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

.sidebar-user-meta {
  min-width: 0;
  flex: 1;
}

.sidebar-user-meta p {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-user-name {
  font-size: 13px;
}

.sidebar-user-role {
  font-size: 11px;
  color: var(--text-muted);
}

.sidebar-user-signout {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: var(--input-radius);
  border: 1px solid transparent;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.sidebar-user-signout:hover {
  border-color: rgba(63, 130, 255, 0.55);
  background: linear-gradient(90deg, rgba(35, 98, 243, 0.35), rgba(21, 54, 152, 0.34));
}

.dashboard-main {
  height: 100vh;
  overflow-y: auto;
  padding: 26px;
  transition: opacity 120ms ease;
}

.dashboard-main.is-loading {
  opacity: 0.82;
  pointer-events: none;
}

.content-scroll {
  scrollbar-width: thin;
}

.placeholder-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.card,
.stat-card,
.player-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  background:
    radial-gradient(circle at 18% -12%, rgba(1, 68, 238, 0.32), transparent 52%),
    linear-gradient(175deg, rgba(17, 27, 73, 0.96), rgba(11, 18, 53, 0.96));
}

.card {
  padding: 14px;
}

.dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.header-left h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1;
}

.header-left p {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

.header-actions,
.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

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

.ui-span-2 { grid-column: span 2; }
.ui-span-3 { grid-column: span 3; }
.ui-span-4 { grid-column: span 4; }
.ui-span-5 { grid-column: span 5; }
.ui-span-6 { grid-column: span 6; }

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.card-title-row h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.button-primary,
.button-secondary {
  border-radius: 3px;
  padding: 7px 22px 5px;
  font-size: 15px;
  color: var(--text-primary);
  border: 0px;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  text-shadow: 0 0 4px rgba(1, 68, 238, 0.95);
  transition: transform 120ms ease, filter 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.button-sm {
  min-height: 24px;
  padding: 4px 10px 3px;
  font-size: 12px;
  line-height: 1;
}

.button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.button-icon .griddy-icon {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}

.button-primary {
  color: #fff;
  background: linear-gradient(
45deg, #081C66 0%, #042B97 35.58%, #023DD5 71.63%, #082173 100%);
  box-shadow: inset 0 0 3.8px rgb(1 106 232), 0 2px 4px rgba(0, 0, 0, 0.88);
}

.button-secondary {
  border-color: rgba(73, 132, 255, 0.72);
  color: #6ab7ff;
  text-shadow: 0 0 5px rgba(90, 165, 255, 0.45);
  background: linear-gradient(0deg, #08164B 0%, #002481 100%);
  box-shadow: inset 0 0 3.8px rgb(0 61 135), 0 2px 4px rgba(0, 0, 0, 0.88);
}

.button-primary:hover,
.button-primary.is-hover {
  background: linear-gradient(
45deg, #0F31B0 0%, #0A41E5 35.58%, #036EF6 71.63%, #0D3ACE 100%);
  box-shadow: inset 0 0 3.8px rgb(1 174 249), 0 2px 4px rgba(0, 0, 0, 0.88);
}

.button-secondary:hover,
.button-secondary.is-hover {
  border-color: rgba(111, 172, 255, 0.95);
  background: linear-gradient(0deg, #0D2374 0%, #0233B4 100%);
  box-shadow: inset 0 0 3.8px rgb(1 110 234), 0 2px 4px rgba(0, 0, 0, 0.88);
}

.button-primary:active,
.button-primary.is-active {
  transform: translateY(1px) scale(0.988);
  filter: brightness(0.98);
  background: linear-gradient(180deg, #002fa7 0%, #0a1959 100%);
  box-shadow:
    inset 0 3px 8.9px rgba(0, 0, 0, 0.84),
    0 1px 1px #1358e8;
}

.button-secondary:active,
.button-secondary.is-active {
  transform: translateY(1px) scale(0.988);
  box-shadow: inset 0 3px 8.9px rgba(0, 0, 0, 0.84), 0 1px 1px #133273;
}

.button-primary:disabled,
.button-primary[disabled] {
  color: #bcbcbc;
  cursor: not-allowed;
  pointer-events: none;
  text-shadow: none;
  filter: grayscale(1) brightness(1.5);
  opacity: 0.6;
}

.button-secondary:disabled {
  opacity: 0.6;
  filter: grayscale(1) brightness(1.5);
  cursor: not-allowed;
  pointer-events: none;
  text-shadow: none;
}

.button-group-merged {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  overflow: hidden;
}

.button-group-merged > .button-primary,
.button-group-merged > .button-secondary,
.button-group-merged > .button-sm {
  border-radius: 0;
}

.button-group-merged > .button-primary + .button-primary,
.button-group-merged > .button-primary + .button-secondary,
.button-group-merged > .button-secondary + .button-primary,
.button-group-merged > .button-secondary + .button-secondary,
.button-group-merged > .button-sm + .button-primary,
.button-group-merged > .button-sm + .button-secondary,
.button-group-merged > .button-sm + .button-sm {
  margin-left: 0;
  box-shadow:
    inset 1px 0 0 rgba(8, 20, 58, 0.82),
    inset 0 0 3.8px rgb(0 61 135),
    0 2px 4px rgba(0, 0, 0, 0.88);
}

.stat-label {
  margin: 0;
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
}

.stat-value {
  margin: 10px 0 8px;
  font-size: 26px;
  font-weight: 700;
}

.stat-card {
  padding: 14px;
}

.player-card {
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.player-ident {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-avatar {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(92, 140, 255, 0.5);
  background:
    radial-gradient(circle at 50% -30%, rgba(108, 167, 255, 0.46), transparent 56%),
    linear-gradient(180deg, rgba(26, 47, 111, 0.96), rgba(16, 32, 82, 0.94));
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}

.player-meta p {
  margin: 0;
}

.player-name {
  font-size: 13px;
}

.player-role {
  color: var(--text-muted);
  font-size: 11px;
}

.stack {
  display: grid;
  gap: 8px;
}

.input {
  width: 100%;
  min-height: 34px;
  border-radius: var(--input-radius);
  border: 0px;
  padding: 0 12px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 12px;
  background: radial-gradient(circle at 50% -120%, rgb(88 144 255 / 0%), transparent 58%), linear-gradient(180deg, rgba(6, 13, 40, 0.95), rgba(7, 14, 43, 0.98));
  box-shadow: inset 0 2px 0 rgb(0 0 0), inset 0 -10px 16px rgba(2, 8, 28, 0.5), 0px 1px 1px rgb(22 51 104);
}

.input:focus {
  outline: none;
  border: 0px;
  box-shadow:
    inset 0 1px 0 rgba(155, 193, 255, 0.14),
    inset 0 -8px 14px rgba(2, 10, 35, 0.45),
    inset 0 0 0 1px rgba(42, 92, 222, 0.42),
    0 0 0 1px rgba(57, 121, 255, 0.24);
}

.input::placeholder {
  color: rgba(67, 124, 216, 0.9);
  font-style: italic;
}

.input-textarea {
  min-height: 84px;
  resize: vertical;
  padding: 10px 12px;
}

/* Native <select> fallback — keep old UI dark when AtlasSelect isn't used.
   Option styling works in Chromium/Firefox; color-scheme helps OS chrome. */
select,
select.input {
  color: var(--text-primary);
  background-color: var(--bg-panel-deep);
  cursor: pointer;
}

select.input {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
    linear-gradient(135deg, var(--text-muted) 50%, transparent 50%),
    radial-gradient(circle at 50% -120%, rgba(88, 144, 255, 0.18), transparent 58%),
    linear-gradient(180deg, rgba(6, 13, 40, 0.95), rgba(7, 14, 43, 0.98));
  background-position:
    calc(100% - 16px) calc(50% - 1px),
    calc(100% - 11px) calc(50% - 1px),
    0 0,
    0 0;
  background-size:
    5px 5px,
    5px 5px,
    auto,
    auto;
  background-repeat: no-repeat;
  padding-right: 28px;
}

select option,
select.input option {
  background-color: #0a1240;
  color: #dce8ff;
}

select option:checked,
select.input option:checked,
select option:hover,
select.input option:hover {
  background-color: #1a4fd4;
  color: #ffffff;
}

.badge {
  border-radius: 2px;
  border: 1px solid rgba(107, 126, 176, 0.48);
  color: #d8e0ff;
  background: linear-gradient(180deg, rgba(27, 35, 78, 0.92), rgba(17, 23, 58, 0.9));
  font-size: 11px;
  line-height: 1;
  padding: 4px 9px 2px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(183, 202, 255, 0.12);
}

.badge-default {
  border-color: rgba(118, 131, 170, 0.55);
  color: #c8d2f5;
}

.badge-primary {
  border-color: rgba(67, 136, 255, 0.82);
  color: #dce8ff;
  background: linear-gradient(180deg, rgba(20, 73, 195, 0.9), rgba(11, 55, 157, 0.9));
}

.badge-success {
  border-color: rgba(73, 177, 103, 0.82);
  color: #d6ffd8;
  background: linear-gradient(180deg, rgba(22, 90, 45, 0.9), rgba(12, 64, 31, 0.9));
}

.badge-warning {
  border-color: rgba(232, 176, 61, 0.85);
  color: #ffd88c;
  background: linear-gradient(180deg, rgba(100, 72, 20, 0.92), rgba(70, 49, 11, 0.92));
}

.badge-danger {
  border-color: rgba(220, 92, 108, 0.82);
  color: #ffccd3;
  background: linear-gradient(180deg, rgba(104, 32, 43, 0.92), rgba(72, 18, 27, 0.92));
}

.badge-info {
  border-color: rgba(58, 171, 216, 0.82);
  color: #c9f2ff;
  background: linear-gradient(180deg, rgba(15, 83, 109, 0.92), rgba(11, 58, 76, 0.92));
}

.badge-muted {
  border-color: rgba(124, 135, 176, 0.45);
  background: linear-gradient(180deg, rgba(53, 60, 88, 0.86), rgba(35, 43, 72, 0.84));
}

.dropdown {
  position: relative;
}

.dropdown-trigger {
  width: 100%;
  min-height: 36px;
  padding: 6px 12px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
}

.dropdown-trigger.button-primary {
  color: #f3f8ff;
}

.dropdown-trigger-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dropdown-label {
  display: block;
  min-width: 0;
  margin-top: 5px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dropdown-token-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 5px;
  padding: 2px;
}

.dropdown-trigger-icon .dropdown-token-icon {
  width: 25px;
  height: 25px;
}

.dropdown-trigger-condensed {
  min-height: 32px;
  border-radius: 3px;
  padding: 5px 10px 4px;
  font-size: 13px;
}

.dropdown-trigger-condensed .dropdown-label {
  color: #dce8ff;
}

.dropdown-chevron {
  width: 14px;
  height: 14px;
  display: block;
  opacity: 0.95;
  filter: brightness(0) saturate(100%) invert(71%) sepia(64%) saturate(1413%) hue-rotate(188deg) brightness(104%) contrast(104%);
  transition: transform 120ms ease, color 120ms ease;
}

.dropdown-trigger[aria-expanded='true'] .dropdown-chevron {
  transform: rotate(180deg);
  filter: brightness(0) saturate(100%) invert(88%) sepia(22%) saturate(1408%) hue-rotate(181deg) brightness(106%) contrast(104%);
}

.dropdown-menu {
  list-style: none;
  width: 100%;
  margin: 5px 0 0;
  padding: 1px;
  border: 0px;
  border-radius: 4px;
  background:
    radial-gradient(circle at 50% -110%, rgba(114, 172, 255, 0.24), transparent 58%),
    linear-gradient(180deg, rgba(12, 36, 111, 0.97), rgba(7, 22, 72, 0.98));
  box-shadow: inset 0 0 0 1px rgb(0 92 255), 0 8px 18px rgba(3, 11, 38, 0.62);
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 20;
}

.dropdown-menu.open {
  display: block;
}

.dropdown-menu-scroll {
  max-height: min(320px, 50vh);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.dropdown-menu-scroll::-webkit-scrollbar {
  width: 8px;
}

.dropdown-menu-scroll::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-radius: 4px;
}

.dropdown-menu-scroll::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 4px;
}

.atlas-select {
  width: 100%;
}

.atlas-select-icons .dropdown-token-icon.country-flag {
  width: 16px;
  height: 12px;
  padding: 0;
  border-radius: 1px;
  object-fit: cover;
}

.atlas-select-icons .dropdown-trigger-condensed .dropdown-token-icon.country-flag {
  width: 16px;
  height: 12px;
}

.entity-flag-row .atlas-select,
.entity-flag-row .dropdown {
  flex: 1;
  min-width: 0;
}

.dropdown-item {
  min-height: 34px;
  padding: 6px 8px;
  border-radius: 0px;
  color: #deebff;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background-color 110ms ease, box-shadow 110ms ease, color 110ms ease;
}

.dropdown-item:first-child {
  border-radius: 4px 4px 0px 0px;
}

.dropdown-item:last-child {
  border-radius: 0px 0px 4px 4px;
}

.dropdown-item-label {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dropdown-item-icon .dropdown-token-icon {
  opacity: 0.94;
}


.dropdown-item.is-selected {
  background: linear-gradient(86deg, #003de3 1.58%, #002CDA 100%);
  box-shadow: inset 0 0 3px 1px rgb(31 96 255);
}

.dropdown-item.is-active:not(.is-selected) {
  background: linear-gradient(86deg, #072D94 1.58%, #002CDA 100%);
  box-shadow: inset 0 0 2px 1px rgb(44 0 255);
}

.dropdown-item:hover {
  background: linear-gradient(86deg, #072D94 1.58%, #002CDA 100%);
  box-shadow: inset 0 0 2px 1px rgb(44 0 255);
}


.dropdown-menu-condensed .dropdown-item {
  min-height: 30px;
  font-size: 12px;
  padding: 5px 8px;
}

.control-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.control-label {
  font-size: 11px;
  color: var(--text-muted);
}

.segmented {
  display: flex;
  border: 1px solid rgba(109, 145, 229, 0.28);
  border-radius: 6px;
  overflow: hidden;
}

.segment {
  min-height: 28px;
  border: none;
  border-right: 1px solid rgba(109, 145, 229, 0.2);
  background: linear-gradient(180deg, rgba(25, 37, 89, 0.9), rgba(15, 24, 62, 0.9));
  color: #cdd9ff;
  font-size: 11px;
  padding: 0 11px;
  cursor: pointer;
}

.segment:last-child {
  border-right: none;
}

.segment.active {
  background:
    radial-gradient(circle at 50% -30%, rgba(110, 169, 255, 0.38), transparent 56%),
    linear-gradient(180deg, #155eff, #0d4ce0);
}

.custom-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.custom-label {
  font-size: 12px;
  color: #e7edff;
}

.custom-check,
.custom-radio,
.custom-switch-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d7e3ff;
  user-select: none;
}

.custom-check-box {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid rgba(81, 132, 247, 0.62);
  background:
    radial-gradient(circle at 50% -60%, rgba(113, 168, 255, 0.22), transparent 62%),
    linear-gradient(180deg, rgba(11, 22, 62, 0.96), rgba(7, 15, 43, 0.96));
  box-shadow: inset 0 -8px 12px rgba(1, 7, 23, 0.45);
  transition: all 140ms ease;
}

.custom-check input:checked + .custom-check-box {
  border-color: rgba(93, 151, 255, 0.92);
  background:
    radial-gradient(circle at 50% -80%, rgba(173, 212, 255, 0.42), transparent 60%),
    linear-gradient(180deg, rgba(25, 99, 255, 0.96), rgba(12, 71, 220, 0.96));
  box-shadow: 0 0 12px rgba(33, 108, 255, 0.34);
}

.custom-check input[data-indeterminate='true'] + .custom-check-box {
  border-color: rgba(93, 151, 255, 0.92);
  background:
    radial-gradient(circle at 50% -80%, rgba(173, 212, 255, 0.42), transparent 60%),
    linear-gradient(180deg, rgba(25, 99, 255, 0.96), rgba(12, 71, 220, 0.96));
  box-shadow: 0 0 12px rgba(33, 108, 255, 0.34);
}

.custom-check input:checked + .custom-check-box::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  margin: 3px;
  background: url('/images/griddy-icons/check.svg') center / contain no-repeat;
  filter: brightness(0) invert(1);
}

.custom-check input[data-indeterminate='true'] + .custom-check-box::after {
  content: '';
  position: absolute;
  width: 11px;
  height: 11px;
  margin: 4px;
  background: url('/images/griddy-icons/minus.svg') center / contain no-repeat;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.custom-check input:disabled + .custom-check-box,
.custom-radio input:disabled + .custom-radio-dot,
.custom-switch input:disabled + .custom-switch-track {
  opacity: 0.45;
}

.custom-check input:disabled ~ .custom-label,
.custom-radio input:disabled ~ .custom-label,
.custom-switch input:disabled ~ .custom-label {
  color: rgba(150, 166, 216, 0.65);
}

.custom-radio-dot {
  width: 23px;
  height: 23px;
  border-radius: 999px;
  border: 1px solid rgba(89, 138, 247, 0.55);
  background:
    radial-gradient(circle at 50% -70%, rgba(123, 175, 255, 0.2), transparent 64%),
    linear-gradient(180deg, rgba(12, 23, 65, 0.98), rgba(8, 15, 46, 0.98));
  position: relative;
}

.custom-radio input:checked + .custom-radio-dot {
  border-color: rgba(95, 153, 255, 0.92);
  box-shadow: 0 0 12px rgba(35, 109, 255, 0.35);
}

.custom-radio input:checked + .custom-radio-dot::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% -80%, rgba(186, 217, 255, 0.5), transparent 58%),
    linear-gradient(180deg, rgba(31, 108, 255, 0.98), rgba(11, 72, 224, 0.96));
}

.custom-switch-row {
  justify-content: space-between;
  cursor: pointer;
}

.custom-switch {
  position: relative;
  width: 40px;
  height: 22px;
}

.custom-switch-track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(97, 140, 245, 0.4);
  background:
    linear-gradient(180deg, rgba(34, 48, 96, 0.9), rgba(16, 25, 64, 0.9));
  box-shadow: inset 0 -7px 10px rgba(3, 9, 28, 0.45);
}

.custom-switch-track::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 40% 30%, #dde8ff, #8eaef2 74%);
  transition: transform 150ms ease;
}

.custom-switch input:checked + .custom-switch-track {
  border-color: rgba(83, 149, 255, 0.68);
  background:
    linear-gradient(180deg, rgba(34, 113, 255, 0.96), rgba(16, 75, 216, 0.96));
}

.custom-switch input:checked + .custom-switch-track::before {
  transform: translateX(18px);
  background: radial-gradient(circle at 40% 30%, #ffffff, #dce9ff 74%);
}

.custom-slider-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 10px;
}

.custom-slider-bound {
  font-size: 11px;
  color: var(--text-dim);
}

.custom-slider-value {
  min-width: 44px;
  text-align: center;
  border-radius: 5px;
  border: 1px solid rgba(73, 133, 255, 0.58);
  background:
    radial-gradient(circle at 50% -70%, rgba(113, 170, 255, 0.35), transparent 62%),
    linear-gradient(180deg, rgba(17, 69, 191, 0.95), rgba(9, 51, 155, 0.95));
  color: #f1f6ff;
  font-size: 12px;
  padding: 4px 6px;
}

.custom-slider {
  width: 100%;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  border: 1px solid rgba(75, 128, 237, 0.32);
  background: linear-gradient(90deg, rgba(16, 75, 220, 0.9), rgba(6, 15, 39, 0.95));
}

.custom-slider::-webkit-slider-thumb {
  appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border: 1px solid rgba(97, 158, 255, 0.92);
  background:
    radial-gradient(circle at 45% 20%, rgba(210, 234, 255, 0.65), transparent 50%),
    linear-gradient(180deg, rgba(45, 124, 255, 1), rgba(19, 92, 231, 1));
  box-shadow: 0 0 10px rgba(36, 108, 255, 0.36);
}

.custom-slider::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border: 1px solid rgba(97, 158, 255, 0.92);
  background:
    radial-gradient(circle at 45% 20%, rgba(210, 234, 255, 0.65), transparent 50%),
    linear-gradient(180deg, rgba(45, 124, 255, 1), rgba(19, 92, 231, 1));
  box-shadow: 0 0 10px rgba(36, 108, 255, 0.36);
}

.alert {
  border-radius: 6px;
  border: 1px solid;
  font-size: 12px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.alert-main {
  display: flex;
  align-items: center;
  gap: 8px;
}

.alert-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.alert-close {
  border: none;
  background: transparent;
  padding: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
  opacity: 0.85;
}

.alert-close:hover {
  opacity: 1;
}

.alert-close-icon {
  width: 16px;
  height: 16px;
  display: block;
}

.alert-info {
  border-color: rgba(48, 138, 255, 0.7);
  color: #cfe6ff;
  background:
    radial-gradient(circle at 50% 10%, rgba(68, 143, 255, 0.15), transparent 72%),
    linear-gradient(90deg, rgba(13, 43, 114, 0.9), rgba(11, 29, 77, 0.86));
}

.alert-info .alert-icon,
.alert-info .alert-close-icon {
  filter: brightness(0) saturate(100%) invert(73%) sepia(89%) saturate(2294%) hue-rotate(188deg) brightness(100%) contrast(101%);
}

.alert-success {
  border-color: rgba(69, 160, 69, 0.66);
  color: #cde8c5;
  background:
    radial-gradient(circle at 50% 10%, rgba(90, 176, 90, 0.14), transparent 72%),
    linear-gradient(90deg, rgba(34, 86, 30, 0.86), rgba(22, 58, 19, 0.82));
}

.alert-success .alert-icon,
.alert-success .alert-close-icon {
  filter: brightness(0) saturate(100%) invert(80%) sepia(11%) saturate(2267%) hue-rotate(57deg) brightness(103%) contrast(90%);
}

.alert-warning {
  border-color: rgba(220, 159, 49, 0.68);
  color: #f6c65f;
  font-weight: 700;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 201, 97, 0.14), transparent 72%),
    linear-gradient(90deg, rgba(103, 71, 18, 0.88), rgba(63, 43, 9, 0.84));
}

.alert-warning .alert-icon,
.alert-warning .alert-close-icon {
  filter: brightness(0) saturate(100%) invert(80%) sepia(66%) saturate(943%) hue-rotate(343deg) brightness(100%) contrast(97%);
}

.alert-danger {
  border-color: rgba(224, 82, 101, 0.72);
  color: #ffb3bf;
  font-weight: 700;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 134, 149, 0.14), transparent 72%),
    linear-gradient(90deg, rgba(109, 27, 41, 0.9), rgba(74, 17, 28, 0.86));
}

.alert-danger .alert-icon,
.alert-danger .alert-close-icon {
  filter: brightness(0) saturate(100%) invert(71%) sepia(35%) saturate(1984%) hue-rotate(308deg) brightness(101%) contrast(102%);
}

.chip {
  border-radius: 6px;
  border: 1px solid rgba(94, 132, 225, 0.4);
  background: linear-gradient(180deg, rgba(28, 38, 85, 0.9), rgba(14, 23, 60, 0.86));
  font-size: 11px;
  color: #cedaff;
  padding: 6px 10px;
}

.chip-button {
  min-height: 29px;
}

.icons-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.icon-chip {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(98, 138, 235, 0.42);
  display: grid;
  place-items: center;
  color: #8fb2ff;
  font-size: 12px;
}

.tooltip-demo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.tooltip {
  position: absolute;
  top: -40px;
  left: 0;
  white-space: nowrap;
  font-size: 11px;
  color: #d8e5ff;
  background: linear-gradient(180deg, rgba(31, 47, 104, 0.98), rgba(15, 26, 66, 0.95));
  border: 1px solid rgba(89, 140, 255, 0.42);
  border-radius: 6px;
  padding: 6px 9px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease;
}

.tooltip-demo:hover .tooltip {
  opacity: 1;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-btn {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid rgba(88, 126, 219, 0.36);
  background: linear-gradient(180deg, rgba(24, 34, 78, 0.88), rgba(14, 22, 58, 0.86));
  color: #ccd9ff;
  cursor: pointer;
}

.page-btn.active {
  border-color: rgba(72, 136, 255, 0.76);
  background: linear-gradient(180deg, #1761ff, #0e4de2);
}

.page-divider {
  color: var(--text-muted);
  font-size: 12px;
}

.progress-bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(84, 132, 253, 0.35);
  background:
    radial-gradient(circle at 20% -40%, rgba(63, 124, 255, 0.35), transparent 56%),
    linear-gradient(180deg, rgba(16, 28, 78, 0.96), rgba(10, 20, 56, 0.92));
}

.progress-fill {
  height: 100%;
  background:
    radial-gradient(circle at 50% -150%, rgba(182, 215, 255, 0.7), transparent 60%),
    linear-gradient(90deg, #155cff, #2b75ff);
}

.meta-value {
  margin: 0;
  font-size: 12px;
  color: #cbdcff;
}

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

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.step-dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(91, 132, 224, 0.4);
  background: linear-gradient(180deg, rgba(21, 35, 83, 0.94), rgba(12, 22, 58, 0.92));
  display: grid;
  place-items: center;
  font-size: 10px;
  color: #bccfff;
}

.step.active .step-dot {
  border-color: rgba(78, 136, 255, 0.8);
  background: linear-gradient(180deg, #1660ff, #0f4de2);
  box-shadow: 0 0 14px rgba(47, 116, 255, 0.33);
}

.step-label {
  font-size: 11px;
  color: var(--text-muted);
}

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

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

.data-table th,
.data-table td {
  text-align: left;
  padding: 9px 10px;
  font-size: 12px;
  border-bottom: 1px solid rgba(116, 144, 220, 0.14);
}

.data-table th {
  color: #b8ceff;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.data-table tbody tr:hover {
  background: rgba(18, 69, 205, 0.2);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 24, 0.6);
  backdrop-filter: blur(2px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.modal-backdrop.open {
  display: flex;
}

.modal {
  width: 380px;
}

.modal p {
  margin: 0 0 14px;
  color: #d2ddff;
  font-size: 13px;
}

.modal-close {
  border: none;
  background: transparent;
  color: #95aff0;
  font-size: 14px;
  cursor: pointer;
}

@media (max-width: 1480px) {
  .ui-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .ui-span-5,
  .ui-span-6 {
    grid-column: span 8;
  }

  .ui-span-4 {
    grid-column: span 4;
  }

  .ui-span-3 {
    grid-column: span 4;
  }

  .ui-span-2 {
    grid-column: span 4;
  }
}

.sidebar-menu-toggle,
.sidebar-backdrop {
  display: none;
}

.equipment-category-pill {
  --pill-color: #9fb2da;
  --pill-text: #c6d5f3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--pill-color);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--pill-text);
  background: rgba(159, 178, 218, 0.16);
}

.equipment-category-pill.is-attack {
  --pill-color: #b12a2a;
  --pill-text: #f08787;
  background: rgba(177, 42, 42, 0.16);
}

.equipment-category-pill.is-magic {
  --pill-color: #732b9c;
  --pill-text: #c691e5;
  background: rgba(115, 43, 156, 0.16);
}

.equipment-category-pill.is-defense {
  --pill-color: #955623;
  --pill-text: #e6b37f;
  background: rgba(149, 86, 35, 0.16);
}

.equipment-category-pill.is-movement {
  --pill-color: #31519c;
  --pill-text: #8fb1ff;
  background: rgba(49, 81, 156, 0.16);
}

.equipment-category-pill.is-jungling {
  --pill-color: #a4276e;
  --pill-text: #ee89bf;
  background: rgba(164, 39, 110, 0.16);
}

.equipment-category-pill.is-roaming {
  --pill-color: #196b6b;
  --pill-text: #76d6d6;
  background: rgba(25, 107, 107, 0.16);
}

@media (max-width: 1200px) {
  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .sidebar-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 1200;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(63, 130, 255, 0.42);
    border-radius: var(--input-radius);
    color: #edf3ff;
    cursor: pointer;
    background:
      radial-gradient(circle at 50% -90%, rgba(88, 144, 255, 0.26), transparent 62%),
      linear-gradient(180deg, rgba(15, 45, 128, 0.9), rgba(8, 17, 58, 0.98));
    box-shadow: inset 0 1px 0 rgba(113, 164, 255, 0.18), 0 4px 14px rgb(4 10 31 / 55%);
    transition: left 200ms ease, border-color 140ms ease, box-shadow 140ms ease;
  }

  .sidebar-menu-toggle:hover {
    border-color: rgba(89, 156, 255, 0.72);
    box-shadow: inset 0 0 0 1px rgba(60, 123, 255, 0.22), 0 0 12px rgba(47, 116, 255, 0.16);
  }

  .sidebar-menu-toggle img {
    width: 20px;
    height: 20px;
  }

  .sidebar-menu-toggle .icon-close {
    display: none;
  }

  .dashboard-shell.is-sidebar-open .sidebar-menu-toggle {
    left: calc(min(260px, 86vw) + 16px);
  }

  .dashboard-shell.is-sidebar-open .sidebar-menu-toggle .icon-open {
    display: none;
  }

  .dashboard-shell.is-sidebar-open .sidebar-menu-toggle .icon-close {
    display: block;
  }

  .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1090;
    background: rgba(4, 8, 28, 0.62);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
  }

  .dashboard-shell.is-sidebar-open .sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(260px, 86vw);
    height: 100vh;
    z-index: 1100;
    border-right: 1px solid rgba(30, 95, 245, 0.35);
    border-bottom: none;
    transform: translateX(-105%);
    transition: transform 200ms ease;
    box-shadow: none;
  }

  .dashboard-shell.is-sidebar-open .sidebar {
    transform: translateX(0);
    box-shadow: 12px 0 40px rgba(2, 8, 34, 0.55);
  }

  .dashboard-header {
    padding-left: 52px;
  }

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

  .ui-span-2,
  .ui-span-3,
  .ui-span-4,
  .ui-span-5,
  .ui-span-6 {
    grid-column: span 1;
  }
}
