.levelup-panel {
  min-width: 0;
}
.levelup-panel .panel-body {
  padding: 20px;
}
.levelup-panel h2 {
  flex-wrap: wrap;
}
.discord-preview {
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #121713;
  min-width: 0;
}
.discord-preview-channel {
  padding-bottom: 12px;
  margin-bottom: 13px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 10px;
}
.discord-preview-author {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}
.discord-preview-author .avatar {
  width: 25px;
  height: 25px;
  font-size: 10px;
}
.discord-preview-author strong {
  font-size: 11px;
}
.discord-preview-author small {
  color: var(--muted);
  margin-left: auto;
  font-size: 9px;
}
.bot-label {
  color: var(--mint);
  background: var(--mint-dim);
  font-size: 7px;
  letter-spacing: 0.6px;
  padding: 2px 4px;
  border-radius: 3px;
}
.announcement-caption {
  font-size: 11px;
  line-height: 1.7;
  margin: 0 0 11px;
  color: #d0dacf;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
#levelup-canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #afcbb42a;
  background: #1b2923;
}
#announcement-disabled {
  font-size: 11px;
  line-height: 1.7;
}
.levelup-summary {
  font-size: 10px;
  line-height: 1.7;
  color: #b0c7b4;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.levelup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}
.levelup-actions .button {
  flex: 1;
  font-size: 10px;
  padding: 10px;
}
:root {
  color-scheme: dark;
  --bg: #101312;
  --sidebar: #131615;
  --panel: #191d1b;
  --panel-soft: #151917;
  --border: #2b302d;
  --text: #f0f2ed;
  --muted: #89938c;
  --mint: #b3f2cd;
  --mint-dim: #243b2e;
  --radius: 12px;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button,
a {
  touch-action: manipulation;
}
button {
  color: inherit;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
input,
select {
  color: var(--text);
  background: #111513;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 11px 12px;
  outline: none;
}
input:focus,
select:focus {
  border-color: var(--mint);
}
input[type="checkbox"] {
  accent-color: var(--mint);
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}
svg.icon {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.65;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3,
.brand,
.metric-value {
  font-family: "Manrope", sans-serif;
}
h1 {
  font-size: 27px;
  font-weight: 750;
  letter-spacing: -1px;
  line-height: 1.35;
}
h2 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 14px;
  font-weight: 650;
}
small {
  font-size: 11px;
}
strong {
  font-weight: 600;
}
.muted {
  color: var(--muted);
}
.mint {
  color: var(--mint);
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 99;
  background: var(--mint);
  color: #13251a;
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
[hidden] {
  display: none !important;
}
.sidebar {
  width: 238px;
  position: fixed;
  inset: 0 auto 0 0;
  background: var(--sidebar);
  border-right: 1px solid var(--border);
  padding: 29px 17px 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1.4px;
  padding: 0 13px;
  gap: 9px;
}
.brand-mark {
  width: 32px;
  height: 34px;
  color: var(--mint);
  display: inline-flex;
}
.brand-dot {
  margin-left: -10px;
  color: var(--mint);
}
.beta-tag {
  font-family: "DM Sans", sans-serif;
  align-self: center;
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 3px 5px;
  border-radius: 4px;
  margin-left: 4px;
  font-weight: 500;
}
.server-selector-wrap {
  position: relative;
  margin: 35px 0 29px;
}
.server-selector {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  text-align: left;
  padding: 11px 9px;
  border: 1px solid #343a35;
  border-radius: 8px;
  background: #1c211e;
}
.server-icon {
  background: linear-gradient(145deg, #58634f, #252e27);
  border: 1px solid #71826355;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 36px;
  font-family: Georgia, serif;
  font-size: 24px;
  color: #e4ebd6;
  position: relative;
  flex-shrink: 0;
}
.server-icon > span {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 9px;
  height: 9px;
  border: 2px solid #1c211e;
  border-radius: 50%;
  background: var(--mint);
}
.server-text {
  flex: 1;
  min-width: 0;
}
.server-text strong {
  font-size: 11px;
  display: block;
  white-space: nowrap;
}
.server-text small {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.selector-arrows .icon {
  width: 13px;
  color: var(--muted);
}
.server-menu {
  position: absolute;
  top: 66px;
  left: 0;
  right: -20px;
  z-index: 50;
  background: #232a25;
  border: 1px solid #435347;
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 12px 30px #0008;
}
.server-menu p {
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 10px;
}
.server-menu button {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
  padding: 9px 0;
  text-align: left;
  font-size: 11px;
}
.server-menu .small {
  width: 25px;
  height: 25px;
  font-size: 18px;
}
.nav-heading {
  padding: 0 12px;
  margin-bottom: 12px;
  color: #737e76;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.6px;
}
.settings-heading {
  margin-top: 30px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  color: #9aa39c;
  border-radius: 7px;
  margin-bottom: 4px;
  font-size: 12px;
  position: relative;
  transition: 0.18s;
}
.nav-link .icon {
  width: 17px;
  height: 17px;
}
.nav-link:hover {
  background: #ffffff05;
  color: #e1e9e2;
}
.nav-link.active {
  background: #b3f2cd12;
  color: var(--mint);
}
.nav-link.active:before {
  content: "";
  height: 17px;
  width: 3px;
  background: var(--mint);
  position: absolute;
  left: -17px;
  border-radius: 0 2px 2px 0;
}
.nav-counter {
  margin-left: auto;
  font-size: 10px;
  color: #939d96;
  background: #242b26;
  padding: 2px 6px;
  border-radius: 4px;
}
.nav-new {
  height: 5px;
  width: 5px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--mint);
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 45px;
}
.community-note {
  border: 1px solid #343e35;
  border-radius: 9px;
  padding: 18px 14px;
  background: radial-gradient(ellipse at 90% 0, #314e2922, transparent 80%);
}
.note-icon {
  display: block;
  color: var(--mint);
  margin-bottom: 12px;
}
.note-icon .icon {
  width: 24px;
  height: 24px;
}
.community-note strong {
  font-size: 11px;
}
.community-note p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  margin: 7px 0 13px;
}
.text-button {
  color: var(--mint);
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 500;
}
.text-button .icon {
  width: 14px;
  height: 14px;
}
.support-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9aa59d;
  font-size: 10px;
  padding: 22px 4px;
}
.support-link .icon {
  width: 16px;
  height: 16px;
}
.support-link .icon:last-child {
  margin-left: auto;
  width: 13px;
}
.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 8px;
  color: #69756c;
  border-top: 1px solid var(--border);
  padding: 16px 0;
}
.sidebar-footer > span:last-child {
  margin-left: auto;
}
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
}
.workspace {
  margin-left: 238px;
}
.topbar {
  height: 77px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  gap: 16px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
}
.breadcrumb-server {
  color: var(--muted);
}
.breadcrumb-slash {
  color: #58625b;
}
.breadcrumb strong {
  font-weight: 500;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 21px;
}
.demo-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #b4bfb6;
}
.demo-badge span {
  width: 5px;
  height: 5px;
  background: #c1cea7;
  border-radius: 50%;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #99a39b;
  border-radius: 6px;
}
.icon-button:hover {
  background: #ffffff09;
  color: var(--text);
}
.notification-button {
  position: relative;
}
.notification-button i {
  position: absolute;
  right: 7px;
  top: 4px;
  background: var(--mint);
  border: 2px solid var(--bg);
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.topbar-divider {
  height: 25px;
  width: 1px;
  background: var(--border);
}
.profile-button {
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: left;
  padding: 0;
}
.profile-info strong {
  display: block;
  font-size: 11px;
}
.profile-info small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 3px;
}
.profile-button > .icon {
  width: 14px;
  margin-left: 9px;
}
.avatar {
  --av: #dfba91;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #232c2a;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 800;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, #ffffff70, transparent 50%), var(--av);
  box-shadow: inset 0 0 0 1px #ffffff14;
}
.avatar-me {
  --av: #c2cec1;
}
.avatar::after {
  content: "";
  width: 24px;
  height: 12px;
  border-radius: 50%;
  background: #0000000c;
  position: absolute;
  bottom: -5px;
}
.mobile-menu {
  display: none;
}
main {
  max-width: 1540px;
  margin: 0 auto;
  padding: 29px 34px 0;
  min-height: calc(100vh - 134px);
  outline: 0;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.page-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 7px;
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #39413b;
  background: #1a201c;
  border-radius: 7px;
  padding: 10px 14px;
  font-weight: 500;
  font-size: 11px;
  white-space: nowrap;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button .icon {
  width: 15px;
  height: 15px;
}
.button:hover {
  background: #26312a;
  border-color: #536056;
}
.button.primary {
  background: var(--mint);
  border-color: var(--mint);
  color: #143121;
  font-weight: 650;
}
.button.primary:hover {
  background: #c7f9da;
  transform: translateY(-1px);
}
.button.ghost {
  background: transparent;
  border-color: var(--border);
}
.button.danger {
  color: #efadad;
}
.hero {
  height: 201px;
  border: 1px solid #52624866;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #344334;
  margin-bottom: 22px;
  isolation: isolate;
  display: flex;
  align-items: center;
  padding: 28px 31px;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, #17271af2 0%, #1c3023a8 48%, #1b302518 100%),
    url("/static/forest.jpg");
  background-size: cover;
  background-position: center 53%;
  z-index: -2;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #13221955, transparent);
}
.hero-content {
  max-width: 520px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #c5e6c5;
  margin-bottom: 13px;
}
.eyebrow .icon {
  width: 13px;
  height: 13px;
}
.hero h2 {
  font-size: 27px;
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: -0.9px;
  margin-bottom: 10px;
}
.hero h2 em {
  font-style: normal;
  color: #c2edbd;
}
.hero p {
  font-size: 11px;
  color: #b7cbb9;
  line-height: 1.7;
}
.hero .button {
  margin-top: 18px;
  padding: 8px 12px;
  font-size: 10px;
}
.hero-corner {
  position: absolute;
  right: 23px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #e0ebdf;
  font-size: 9px;
  background: #23312877;
  backdrop-filter: blur(8px);
  border: 1px solid #ffffff20;
  padding: 7px 10px;
  border-radius: 5px;
}
.hero-corner .icon {
  width: 12px;
  height: 12px;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 23px;
}
.metric-card {
  padding: 17px 18px 15px;
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 119px;
}
.metric-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aab2ac;
  font-size: 11px;
}
.metric-label .icon {
  width: 15px;
  height: 15px;
  color: #84958a;
}
.metric-value {
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.9px;
  margin-top: 12px;
  line-height: 1.15;
}
.metric-change {
  font-size: 9px;
  color: #6fb790;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.metric-change .icon {
  width: 10px;
  height: 10px;
}
.metric-change span {
  color: #79847c;
  margin-left: 3px;
}
.sparkline {
  position: absolute;
  bottom: 21px;
  right: 15px;
  width: 65px;
  height: 30px;
  opacity: 0.8;
}
.dashboard-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(310px, 1fr);
  gap: 22px;
  align-items: start;
}
.dashboard-left,
.dashboard-right {
  display: grid;
  gap: 22px;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 21px 21px 0;
}
.panel-header p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.panel-header h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.panel-header h2 .icon {
  color: #9baa9e;
  width: 16px;
  height: 16px;
}
.panel-body {
  padding: 21px;
}
.segmented {
  display: inline-flex;
  padding: 3px;
  border: 1px solid #303731;
  border-radius: 6px;
  gap: 2px;
  background: #121613;
}
.segmented button {
  padding: 5px 8px;
  font-size: 9px;
  color: #819088;
  border-radius: 4px;
}
.segmented button.active {
  background: #303b32;
  color: #dbe9dc;
}
.chart-legend {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #9ea99f;
  font-size: 9px;
  padding: 20px 22px 0;
}
.chart-legend span {
  width: 6px;
  height: 6px;
  background: var(--mint);
  border-radius: 2px;
}
.chart-wrap {
  position: relative;
  padding: 8px 16px 5px;
}
.activity-chart {
  width: 100%;
  height: 180px;
  overflow: visible;
  display: block;
}
.activity-chart text {
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  fill: #737f76;
}
.chart-caption {
  font-size: 9px;
  color: #78847b;
  padding: 0 22px 19px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.chart-caption .icon {
  width: 12px;
  height: 12px;
  color: #a8c2ab;
}
.chart-caption strong {
  font-weight: 500;
  color: #b0c7b3;
}
.rank-card-wrapper {
  padding: 18px 18px 0;
}
.rank-card {
  --card-accent: #b3f2cd;
  --card-opacity: 1;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #89a18a55;
  background: #101614;
  min-height: 171px;
  padding: 21px;
  color: #f5f8f5;
  isolation: isolate;
}
.rank-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--card-bg, url("/static/forest.jpg"));
  background-size: cover;
  background-position: center;
  opacity: var(--card-opacity, 1);
  transition: opacity 0.1s ease;
  z-index: -2;
}
.rank-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 20, 16, 0.76), rgba(12, 24, 20, 0.52) 55%, rgba(10, 20, 16, 0.28));
  pointer-events: none;
  z-index: -1;
}
.rank-card-top {
  display: flex;
  gap: 11px;
  align-items: center;
}
.rank-card .avatar {
  width: 43px;
  height: 43px;
  font-size: 18px;
  border: 3px solid #e1eddd75;
  box-shadow: 0 0 0 3px #aabda22a;
}
.rank-card-name {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 16px;
}
.rank-card-sub {
  font-size: 9px;
  color: #bac6bd;
  margin-top: 4px;
}
.rank-card-level {
  margin-left: auto;
  text-align: right;
  font-size: 8px;
  color: #c5d0c6;
  letter-spacing: 1px;
}
.rank-card-level strong {
  display: block;
  font-size: 29px;
  font-weight: 600;
  font-family: "Manrope", sans-serif;
  letter-spacing: -1px;
  color: var(--card-accent);
  line-height: 1.15;
}
.rank-card-progress-label {
  font-size: 9px;
  display: flex;
  justify-content: space-between;
  margin-top: 21px;
  color: #ced6ce;
}
.rank-card-progress-label strong {
  color: #ecf4e9;
  font-weight: 500;
}
.progress-track {
  height: 6px;
  background: #ddeadd22;
  border-radius: 5px;
  margin-top: 8px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 68%;
  background: var(--card-accent, var(--mint));
  border-radius: 5px;
}
.rank-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  color: #b5c6b8;
  margin-top: 12px;
}
.rank-card-foot > span:last-child {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 11px;
  color: #d8e7d7;
}
.card-preview-footer {
  padding: 14px 20px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.card-preview-footer p {
  font-size: 9px;
  color: var(--muted);
}
.card-preview-footer .text-button {
  font-size: 10px;
}
.table-panel .panel-header {
  padding-bottom: 15px;
}
.table-wrap {
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
}
.data-table thead {
  background: #151917;
  border-top: 1px solid #ffffff04;
  border-bottom: 1px solid var(--border);
}
.data-table th {
  padding: 11px 20px;
  font-size: 9px;
  font-weight: 500;
  color: #809087;
  white-space: nowrap;
}
.data-table td {
  padding: 12px 20px;
  border-bottom: 1px solid #ffffff05;
  white-space: nowrap;
}
.data-table tbody tr:last-child td {
  border-bottom: 0;
}
.data-table tbody tr:hover {
  background: #ffffff02;
}
.data-table .rank-column {
  width: 45px;
  padding-right: 0;
}
.rank-number {
  font-size: 11px;
  color: #8b978d;
}
.rank-number.first {
  color: #dfc379;
}
.rank-number.second {
  color: #b8c5c7;
}
.rank-number.third {
  color: #c19f86;
}
.rank-number .icon {
  width: 16px;
  height: 16px;
}
.member-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 0;
}
.member-name {
  font-size: 11px;
  font-weight: 500;
  display: block;
}
.member-handle {
  display: block;
  margin-top: 3px;
  color: #718176;
  font-size: 9px;
}
.level-badge {
  font-size: 10px;
  background: #b6edbf0b;
  border: 1px solid #bbd5c013;
  border-radius: 4px;
  padding: 4px 8px;
  color: #c3d5c6;
}
.xp-cell {
  color: #c5d0c7;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.table-count {
  font-size: 9px;
  color: #818d84;
  padding: 13px 20px;
  border-top: 1px solid var(--border);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #42614d66;
  background: #9ee4b710;
  color: #a6d8b8;
  font-size: 9px;
  padding: 4px 7px;
  border-radius: 5px;
  white-space: nowrap;
}
.status-pill::before {
  content: "";
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
}
.quick-setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
  gap: 18px;
}
.quick-setting strong {
  font-size: 11px;
  font-weight: 500;
}
.quick-setting p {
  font-size: 9px;
  color: var(--muted);
  margin-top: 5px;
}
.switch {
  display: inline-flex;
  position: relative;
  align-items: center;
  flex-shrink: 0;
  width: 31px;
  height: 18px;
}
.switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}
.switch span {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: #46524a;
  transition: 0.2s;
}
.switch span:after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f0f5ef;
  transition: 0.2s;
}
.switch input:checked + span {
  background: var(--mint);
}
.switch input:checked + span:after {
  transform: translateX(13px);
  background: #294332;
}
.switch input:focus-visible + span {
  outline: 2px solid white;
  outline-offset: 3px;
}
.quick-config-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 2px 0 16px;
  padding: 14px 0;
}
.quick-config-details > div + div {
  padding-left: 15px;
  border-left: 1px solid var(--border);
}
.quick-config-details span {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}
.quick-config-details strong {
  font-size: 12px;
  font-weight: 500;
}
.quick-config-details small {
  font-size: 9px;
  color: var(--muted);
  font-weight: 400;
}
.quick-settings .button {
  width: 100%;
  font-size: 10px;
  padding: 9px;
}
.activity-list {
  padding: 6px 20px 16px;
}
.activity-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 0;
}
.activity-item + .activity-item {
  border-top: 1px solid #ffffff05;
}
.activity-icon {
  width: 29px;
  height: 29px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #b2e5b809;
  color: #afcbb2;
  border: 1px solid #aacbaa12;
}
.activity-icon .icon {
  width: 14px;
  height: 14px;
}
.activity-item p {
  font-size: 10px;
  color: #a4b0a7;
  line-height: 1.6;
}
.activity-item strong {
  color: #dce5db;
  font-weight: 500;
}
.activity-item small {
  font-size: 8px;
  color: #738077;
}
.page-footer {
  max-width: 1540px;
  margin: 0 auto;
  padding: 25px 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  color: #68766b;
  font-size: 9px;
}
.page-footer > span:first-child {
  font-weight: 700;
  color: #a0aaa2;
}
.page-footer > span:first-child > span:last-child {
  font-weight: 400;
  color: #68766b;
  margin-left: 9px;
}
.footer-dot {
  color: var(--mint);
}
.sidebar-scrim {
  display: none;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + 119px);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  background: #d9f6e2;
  color: #173323;
  border: 1px solid #b9d6c0;
  border-radius: 8px;
  box-shadow: 0 8px 35px #0005;
  padding: 13px 20px;
  font-size: 12px;
  max-width: calc(100vw - 30px);
  transition: 0.2s;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  background: #1a201c;
  color: var(--text);
  border: 1px solid #424c43;
  border-radius: 15px;
  padding: 25px;
  max-width: 480px;
  width: calc(100% - 32px);
  box-shadow: 0 25px 100px #0007;
}
dialog::backdrop {
  background: #070c09b8;
  backdrop-filter: blur(4px);
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}
.dialog-eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--mint);
}
dialog h2 {
  font-size: 22px;
  margin-bottom: 14px;
}
dialog p {
  font-size: 12px;
  line-height: 1.8;
  color: #a7b4aa;
  margin-bottom: 16px;
}
dialog .button {
  margin-top: 9px;
}
dialog ul {
  padding-left: 18px;
  color: #adbaaf;
  font-size: 12px;
  line-height: 2;
}
.dialog-callout {
  font-size: 11px;
  color: #cad7c9;
  border: 1px solid var(--border);
  background: #111a14;
  padding: 12px;
  border-radius: 8px;
  margin: 15px 0;
  line-height: 1.7;
}
.page-tabs {
  display: flex;
  gap: 23px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 23px;
}
.page-tabs button {
  font-size: 12px;
  color: var(--muted);
  padding: 0 1px 13px;
  border-bottom: 2px solid transparent;
}
.page-tabs button.active {
  border-color: var(--mint);
  color: var(--mint);
}
.notice {
  border: 1px solid #38483d;
  background: #b3f2cd05;
  border-radius: 9px;
  padding: 13px 15px;
  font-size: 11px;
  color: #a4b5a8;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.7;
  margin-bottom: 22px;
}
.notice .icon {
  width: 15px;
  height: 15px;
  color: #adc1ae;
  flex-shrink: 0;
  margin-top: 2px;
}
.notice strong {
  color: #d8e7d9;
}
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 1fr);
  gap: 24px;
  align-items: start;
}
.stack {
  display: grid;
  gap: 22px;
}
.form-panel .panel-body {
  padding: 24px;
}
.form-panel .panel-header {
  padding: 23px 24px 0;
}
.field {
  display: block;
  margin-bottom: 21px;
}
.field:last-child {
  margin-bottom: 0;
}
.field > span:first-child,
.field > label {
  font-size: 12px;
  font-weight: 500;
  display: block;
  margin-bottom: 9px;
}
.field input:not([type="checkbox"]):not([type="range"]):not([type="color"]),
.field select {
  width: 100%;
}
.field small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 10px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.field-row .field {
  margin-bottom: 21px;
}
.form-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0 23px;
}
.field input[type="range"] {
  padding: 0;
  width: 100%;
  accent-color: var(--mint);
  height: 20px;
  background: transparent;
  border: 0;
}
.range-heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12px;
}
.range-heading output {
  color: var(--mint);
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 23px;
  border-top: 1px solid var(--border);
}
.checkbox-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.checkbox-list label {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #111813;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 11px;
  font-size: 11px;
  color: #bac7bc;
}
.checkbox-list input {
  margin: 0;
}
.large-preview {
  padding: 28px;
}
.large-preview .rank-card {
  min-height: 208px;
  padding: 27px;
}
.large-preview .rank-card .avatar {
  width: 55px;
  height: 55px;
  font-size: 23px;
}
.large-preview .rank-card-name {
  font-size: 20px;
}
.large-preview .rank-card-progress-label {
  margin-top: 27px;
}
.preview-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.live-indicator {
  color: var(--mint);
  display: flex;
  gap: 5px;
  align-items: center;
}
.live-indicator::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--mint);
  border-radius: 50%;
}
.preview-hint {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
  margin-top: 18px;
}
.background-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 12px 0 18px;
}
.background-choice {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  text-align: left;
  overflow: hidden;
  background: #101712;
  position: relative;
}
.background-choice.active {
  border-color: var(--mint);
}
.background-choice .bg-thumb {
  height: 63px;
  width: 100%;
  display: block;
  background-size: cover;
  background-position: center;
}
.background-choice .bg-thumb.aurora {
  background:
    radial-gradient(ellipse at 10% 0, #78947c, transparent 60%),
    linear-gradient(130deg, #223e38, #1a2440);
}
.background-choice > span:last-child {
  display: block;
  padding: 8px;
  font-size: 10px;
}
.upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  border: 1px dashed #4c5d50;
  border-radius: 8px;
  padding: 21px;
  width: 100%;
  font-size: 11px;
  color: #c1d0c2;
  background: #8de3a303;
}
.upload-zone:hover {
  background: #8de3a308;
}
.upload-zone .icon {
  color: #93b99e;
  width: 23px;
  height: 23px;
}
.upload-zone small {
  font-size: 9px;
  color: var(--muted);
}
.swatches {
  display: flex;
  align-items: center;
  gap: 10px;
}
.swatch {
  width: 27px;
  height: 27px;
  border: 3px solid var(--panel);
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px #ffffff13;
}
.swatch.active {
  box-shadow: 0 0 0 1px var(--swatch);
}
input[type="color"] {
  width: 32px;
  height: 30px;
  border: 1px solid #445247;
  border-radius: 6px;
  padding: 3px;
  cursor: pointer;
}
.color-value {
  font-size: 10px;
  color: var(--muted);
  margin-left: 3px;
  font-family: monospace;
}
.podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 25px;
}
.podium-card {
  position: relative;
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  display: flex;
  gap: 15px;
  align-items: center;
}
.podium-card:first-child {
  border-color: #6e624238;
  background: linear-gradient(130deg, #35302566, var(--panel));
}
.podium-card .avatar {
  width: 50px;
  height: 50px;
  font-size: 21px;
}
.podium-card h3 {
  font-size: 14px;
  margin-bottom: 7px;
}
.podium-card p {
  font-size: 10px;
  color: var(--muted);
}
.podium-rank {
  margin-left: auto;
  align-self: flex-start;
  font-size: 18px;
  font-family: "Manrope", sans-serif;
  color: #9daaa0;
}
.podium-card:first-child .podium-rank {
  color: #d4bd7f;
}
.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  gap: 15px;
}
.search-field {
  display: flex;
  align-items: center;
  background: #111612;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0 10px;
  gap: 8px;
}
.search-field .icon {
  color: var(--muted);
  width: 15px;
}
.search-field input {
  border: 0;
  background: none;
  font-size: 11px;
  padding: 10px 0;
  min-width: 220px;
  width: 100%;
}
.search-field:focus-within {
  border-color: var(--mint);
}
.toolbar-summary {
  font-size: 10px;
  color: var(--muted);
}
.sort-button {
  padding: 0;
  font-size: inherit;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.sort-button .icon {
  width: 11px;
  height: 11px;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 20px;
  border-top: 1px solid var(--border);
  font-size: 10px;
  color: var(--muted);
}
.pagination > div {
  display: flex;
  gap: 6px;
}
.pagination button {
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 5px;
}
.pagination button.active {
  background: var(--mint-dim);
  color: var(--mint);
}
.empty-state {
  text-align: center;
  padding: 50px 20px;
  color: var(--muted);
  font-size: 12px;
}
.reward-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.reward-card {
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--panel);
  padding: 23px;
  position: relative;
}
.reward-card > .icon {
  width: 29px;
  height: 29px;
  color: var(--mint);
  margin-bottom: 24px;
}
.reward-card h3 {
  font-size: 16px;
  margin-bottom: 7px;
}
.reward-card p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 20px;
}
.role-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 5px;
  padding: 6px 9px;
  font-size: 10px;
  background: #b4ecc50a;
  color: var(--role-color, #b3f2cd);
  border: 1px solid #b4ecc518;
}
.role-pill::before {
  content: "";
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
}
.reward-delete {
  position: absolute;
  right: 14px;
  top: 14px;
}
.add-reward-card {
  border: 1px dashed #425248;
  border-radius: 11px;
  min-height: 208px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  color: #adc3b1;
  font-size: 12px;
  background: #b3f2cd03;
}
.add-reward-card:hover {
  background: #b3f2cd09;
}
.integration-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.integration-row:last-child {
  border: 0;
}
.integration-row > .icon {
  width: 28px;
  height: 28px;
  color: #b9cabb;
}
.integration-row h3 {
  font-size: 12px;
  margin-bottom: 5px;
}
.integration-row p {
  font-size: 10px;
  color: var(--muted);
}
.integration-row > .button {
  margin-left: auto;
}
.integration-status {
  margin-left: auto;
  font-size: 10px;
  color: #b9aa85;
  white-space: nowrap;
}
.formula {
  padding: 17px;
  background: #111612;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  font-family: monospace;
  color: var(--mint);
  margin: 15px 0;
}
.plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.plain-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 11px;
  border-bottom: 1px solid #ffffff06;
  color: var(--muted);
}
.plain-list li strong {
  color: #c8d5ca;
}
.view-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 21px;
  color: var(--muted);
  font-size: 10px;
}
.view-switch select {
  padding: 5px 8px;
  font-size: 10px;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.feature-item {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #121a15;
}
.feature-item .icon {
  color: var(--mint);
  margin-bottom: 10px;
}
.feature-item strong {
  display: block;
  font-size: 11px;
  margin-bottom: 6px;
}
.feature-item p {
  font-size: 10px;
  margin: 0;
}
.inline-error {
  font-size: 11px;
  color: #efb8aa;
  margin-bottom: 14px;
}
.profile-modal-header {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}
.profile-modal-header .avatar {
  width: 65px;
  height: 65px;
  font-size: 26px;
}
.profile-modal-header h2 {
  margin-bottom: 5px;
}
.profile-modal-header p {
  margin: 0;
}
.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.profile-stats > div {
  text-align: center;
  background: #111813;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 15px 5px;
}
.profile-stats strong {
  font-size: 19px;
  display: block;
  color: var(--mint);
}
.profile-stats small {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-top: 6px;
}
.responsive-label {
  display: none;
}
@media (min-width: 1600px) {
  main {
    padding-top: 35px;
  }
  .hero {
    height: 235px;
  }
  .hero h2 {
    font-size: 33px;
  }
  .metrics-grid {
    gap: 22px;
  }
  .metric-card {
    min-height: 130px;
  }
  .dashboard-columns {
    grid-template-columns: minmax(0, 1.75fr) minmax(350px, 1fr);
  }
  .activity-chart {
    height: 220px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 218px;
    padding-left: 13px;
    padding-right: 13px;
  }
  .workspace {
    margin-left: 218px;
  }
  .brand {
    padding-left: 8px;
  }
  .server-text strong {
    font-size: 10px;
  }
  .nav-link {
    font-size: 11px;
  }
  .nav-link.active:before {
    left: -13px;
  }
  .topbar {
    padding: 0 25px;
  }
  main {
    padding: 25px 25px 0;
  }
  .page-footer {
    padding: 25px;
  }
  .dashboard-columns {
    gap: 17px;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr);
  }
  .dashboard-left,
  .dashboard-right {
    gap: 17px;
  }
  .metric-card {
    padding: 15px 13px;
  }
  .sparkline {
    width: 43px;
    right: 12px;
  }
  .metric-change {
    font-size: 8px;
  }
  .metric-change span {
    margin-left: 0;
  }
  .metric-value {
    font-size: 25px;
  }
  .data-table td,
  .data-table th {
    padding-left: 15px;
    padding-right: 15px;
  }
  .hero h2 {
    font-size: 25px;
  }
  .rank-card {
    padding: 17px;
  }
  .hero-corner {
    display: none;
  }
  .toast {
    left: calc(50% + 109px);
  }
  .form-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
  }
  .large-preview {
    padding: 20px;
  }
  .podium-card {
    padding: 18px;
    gap: 10px;
  }
  .podium-card .avatar {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
}
@media (max-width: 1000px) {
  .sidebar {
    width: 205px;
  }
  .workspace {
    margin-left: 205px;
  }
  .brand {
    font-size: 26px;
    gap: 7px;
  }
  .beta-tag {
    margin-left: 0;
  }
  .server-selector {
    padding: 10px 7px;
    gap: 7px;
  }
  .server-icon {
    width: 29px;
    height: 32px;
  }
  .server-text small {
    font-size: 8px;
  }
  .nav-link {
    padding-left: 10px;
    gap: 9px;
    font-size: 10px;
  }
  .topbar-actions {
    gap: 12px;
  }
  .profile-info {
    display: none;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .metric-label {
    font-size: 10px;
  }
  .metric-change span {
    display: none;
  }
  .dashboard-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .dashboard-right {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-right .recent-activity {
    grid-column: 1/-1;
  }
  .activity-list {
    display: flex;
    gap: 23px;
  }
  .activity-item + .activity-item {
    border-top: 0;
  }
  .activity-chart {
    height: 200px;
  }
  .page-heading .button {
    font-size: 10px;
    padding: 9px 11px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .card-editor-preview {
    grid-row: 1;
  }
  .large-preview .rank-card {
    max-width: 540px;
    margin: 0 auto;
  }
  .reward-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .podium-card {
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  .podium-rank {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 14px;
  }
  .podium-card .avatar {
    width: 43px;
    height: 43px;
  }
  .toast {
    left: calc(50% + 102px);
  }
}
@media (max-width: 760px) {
  .sidebar {
    width: 238px;
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar-scrim.open {
    display: block;
    position: fixed;
    inset: 0;
    background: #0009;
    z-index: 29;
    backdrop-filter: blur(3px);
  }
  .workspace {
    margin-left: 0;
  }
  .mobile-menu {
    display: flex;
    margin-left: -7px;
  }
  .topbar {
    height: 65px;
    padding: 0 20px;
  }
  .breadcrumb {
    gap: 9px;
  }
  .breadcrumb-server,
  .breadcrumb-slash {
    display: none;
  }
  .topbar-divider {
    display: none;
  }
  .profile-button > .icon {
    display: none;
  }
  .topbar-actions {
    gap: 10px;
  }
  .demo-badge {
    font-size: 9px;
  }
  .topbar .avatar {
    width: 28px;
    height: 28px;
  }
  .notification-button {
    width: 25px;
  }
  .page-heading {
    align-items: flex-start;
    margin-bottom: 20px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading p {
    font-size: 11px;
    line-height: 1.7;
    max-width: 290px;
  }
  .page-heading > .heading-actions {
    padding-top: 4px;
  }
  .page-heading > .heading-actions > .button:not(.primary) {
    display: none;
  }
  main {
    padding: 24px 19px 0;
  }
  .hero {
    height: 219px;
    padding: 24px;
  }
  .hero h2 {
    font-size: 25px;
    max-width: 370px;
  }
  .hero p {
    max-width: 330px;
  }
  .hero:before {
    background-position: 60% center;
    background-image:
      linear-gradient(90deg, #17271af2, #1c302399), url("/static/forest.jpg");
  }
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .metric-card {
    padding: 17px;
  }
  .metric-value {
    font-size: 29px;
  }
  .metric-change span {
    display: inline;
  }
  .sparkline {
    width: 58px;
    right: 15px;
  }
  .metric-label {
    font-size: 11px;
  }
  .dashboard-right {
    gap: 17px;
  }
  .dashboard-columns {
    gap: 17px;
  }
  .panel-header {
    padding: 19px 17px 0;
  }
  .panel-header h2 {
    font-size: 14px;
  }
  .panel-header p {
    font-size: 9px;
  }
  .segmented button {
    padding: 5px 7px;
  }
  .page-footer {
    padding: 24px 19px;
    flex-wrap: wrap;
    font-size: 8px;
    justify-content: center;
    text-align: center;
  }
  .page-footer > span:last-child {
    font-size: 8px;
  }
  .toast {
    left: 50%;
    width: max-content;
    text-align: center;
    font-size: 11px;
  }
  .brand {
    font-size: 28px;
  }
  .nav-link {
    font-size: 12px;
    padding: 12px 13px;
    gap: 12px;
  }
  .server-text strong {
    font-size: 11px;
  }
  .server-text small {
    font-size: 9px;
  }
  .server-icon {
    width: 34px;
    height: 36px;
  }
  .activity-chart {
    height: 185px;
  }
  .form-panel .panel-body {
    padding: 20px;
  }
  .form-panel .panel-header {
    padding: 20px 20px 0;
  }
  .podium {
    gap: 10px;
  }
  .podium-card {
    padding: 20px 10px 16px;
  }
  .podium-card h3 {
    font-size: 12px;
  }
  .podium-card p {
    font-size: 9px;
  }
  .table-toolbar {
    flex-wrap: wrap;
  }
  .search-field {
    flex: 1;
  }
  .search-field input {
    min-width: 100px;
  }
  .toolbar-summary {
    font-size: 9px;
  }
  .full-leaderboard td,
  .full-leaderboard th {
    padding: 13px 12px;
  }
  .full-leaderboard .member-handle {
    display: none;
  }
  .full-leaderboard .member-cell {
    gap: 7px;
  }
  .full-leaderboard .avatar {
    width: 27px;
    height: 27px;
  }
  .full-leaderboard .member-name {
    font-size: 10px;
  }
  .full-leaderboard .role-column {
    display: none;
  }
  .table-toolbar .segmented {
    margin-left: auto;
  }
}
@media (max-width: 480px) {
  .dashboard-right {
    grid-template-columns: 1fr;
  }
  .dashboard-right .recent-activity {
    grid-column: auto;
  }
  .activity-list {
    display: block;
  }
  .activity-item + .activity-item {
    border-top: 1px solid #ffffff05;
  }
  .page-heading > .heading-actions .button {
    font-size: 0;
    padding: 9px;
  }
  .page-heading > .heading-actions .button .icon {
    width: 17px;
    height: 17px;
  }
  .hero {
    height: 222px;
    padding: 22px;
  }
  .hero h2 {
    font-size: 24px;
  }
  .hero p {
    font-size: 10px;
    max-width: 260px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .metric-change span {
    font-size: 8px;
  }
  .sparkline {
    width: 45px;
  }
  .metric-value {
    font-size: 27px;
  }
  .metric-card {
    padding: 14px;
  }
  .metric-label {
    font-size: 10px;
  }
  .metric-label .icon {
    width: 13px;
  }
  .panel-header {
    gap: 8px;
  }
  .panel-header .text-button {
    font-size: 9px;
  }
  .panel-header h2 {
    font-size: 13px;
  }
  .panel-header p {
    font-size: 9px;
  }
  .chart-caption {
    font-size: 8px;
    padding-left: 16px;
  }
  .data-table td,
  .data-table th {
    padding-left: 13px;
    padding-right: 13px;
  }
  .data-table .avatar {
    width: 28px;
    height: 28px;
  }
  .member-cell {
    gap: 8px;
  }
  .rank-card {
    min-height: 185px;
    padding: 22px;
  }
  .large-preview {
    padding: 17px;
  }
  .large-preview .rank-card {
    min-height: 190px;
    padding: 20px;
  }
  .large-preview .rank-card .avatar {
    width: 45px;
    height: 45px;
  }
  .large-preview .rank-card-name {
    font-size: 17px;
  }
  .field-row {
    gap: 10px;
  }
  .reward-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .reward-card {
    padding: 18px 14px;
  }
  .reward-card h3 {
    font-size: 14px;
  }
  .reward-card p {
    font-size: 10px;
  }
  .reward-card .role-pill {
    font-size: 9px;
  }
  .reward-delete {
    right: 7px;
    top: 7px;
  }
  .page-tabs {
    gap: 20px;
  }
  .page-tabs button {
    font-size: 11px;
  }
  .pagination {
    font-size: 9px;
    padding: 13px;
  }
  .preview-hint {
    font-size: 9px;
  }
  .form-actions {
    padding: 17px;
  }
  .integration-row {
    gap: 10px;
  }
  .integration-row h3 {
    font-size: 11px;
  }
  .integration-status {
    font-size: 9px;
  }
  .integration-row > .button {
    font-size: 9px;
    padding: 8px;
  }
  .notice {
    font-size: 10px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .swatches {
    gap: 8px;
  }
  .swatch {
    width: 25px;
    height: 25px;
  }
  .color-value {
    font-size: 9px;
  }
}
/* Orvilo Live Dashboard Styles */
.login-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #5865f2;
  color: #ffffff;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 7px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease;
}
.login-header-btn:hover {
  background: #4752c4;
}
.login-header-btn .icon {
  width: 16px;
  height: 16px;
}
.user-profile-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}
.user-profile-badge .avatar-me {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.server-item-row {
  transition: background 0.15s ease;
}
.server-item-row:hover {
  background: rgba(255, 255, 255, 0.05);
}
.server-pick-btn.active {
  color: var(--mint) !important;
}
.server-pick-btn.active strong {
  color: var(--mint);
}
.server-menu {
  max-height: 360px;
  overflow-y: auto;
}
.server-menu-action {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  font-size: 11px;
  color: var(--text);
  text-decoration: none;
  border-top: 1px solid var(--border);
  margin-top: 6px;
  border-radius: 6px;
}
.server-menu-action:hover {
  background: rgba(255, 255, 255, 0.05);
}
.live-badge {
  color: var(--mint);
  border: 1px solid rgba(179, 242, 205, 0.2);
}
.live-badge span {
  background: var(--mint) !important;
  box-shadow: 0 0 8px var(--mint);
}
.status-pill.online {
  background: rgba(179, 242, 205, 0.15);
  color: var(--mint);
  border: 1px solid rgba(179, 242, 205, 0.3);
}

.nav-badge-new {
  margin-left: auto;
  background: rgba(179, 242, 205, 0.15);
  color: var(--mint);
  border: 1px solid rgba(179, 242, 205, 0.3);
  font-size: 9px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}

/* =========================================================
   CLIENT SHOWCASE & ANIMATIONS
   ========================================================= */
.client-hero {
  position: relative;
  border: 1px solid #344037;
  border-radius: 16px;
  background: radial-gradient(circle at 10% 20%, rgba(179, 242, 205, 0.08) 0%, transparent 45%),
              linear-gradient(135deg, #171d19 0%, #111513 100%);
  padding: 48px 44px;
  margin-bottom: 36px;
  overflow: hidden;
}
.client-hero-content {
  max-width: 620px;
  position: relative;
  z-index: 2;
}
.client-hero h1 {
  font-size: 38px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin: 14px 0 16px;
  color: #f1f5ef;
}
.client-hero h1 em {
  font-style: normal;
  color: var(--mint);
  text-shadow: 0 0 24px rgba(179, 242, 205, 0.35);
}
.client-hero p {
  font-size: 15px;
  line-height: 1.65;
  color: #a6b5a8;
  margin-bottom: 26px;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero-cta-group .button {
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 600;
}

/* Vitrine Visuelle Animée */
.showcase-stage {
  position: relative;
  margin: 20px 0 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.showcase-glow {
  position: absolute;
  width: 70%;
  height: 260px;
  background: radial-gradient(circle, rgba(179, 242, 205, 0.18) 0%, rgba(88, 101, 242, 0.1) 50%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}
.showcase-card-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 820px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: visible;
  transition: transform 0.3s ease;
}
.showcase-card-box:hover {
  transform: translateY(-4px);
}
.showcase-card-box .rank-card {
  margin: 0;
}

/* Badges Flottants Animés */
.floating-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(22, 28, 24, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(179, 242, 205, 0.25);
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.floating-badge.badge-top-right {
  top: -16px;
  right: -16px;
  animation: floatSlow 5s ease-in-out infinite;
}
.floating-badge.badge-bottom-left {
  bottom: -18px;
  left: -16px;
  animation: floatSlow 5.5s ease-in-out infinite reverse;
}
.floating-badge strong {
  font-size: 12px;
  display: block;
  color: #f1f5ef;
}
.floating-badge small {
  font-size: 10px;
  color: var(--mint);
  display: block;
}
.floating-badge .badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(179, 242, 205, 0.15);
  color: var(--mint);
}

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

@keyframes pulseGlow {
  0% {
    opacity: 0.6;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Grille des fonctionnalités Client */
.features-section-heading {
  text-align: center;
  margin: 48px auto 28px;
  max-width: 600px;
}
.features-section-heading h2 {
  font-size: 26px;
  font-weight: 800;
  color: #f1f5ef;
  margin-bottom: 8px;
}
.features-section-heading p {
  font-size: 13px;
  color: var(--muted);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}
.feature-card {
  background: #181e1a;
  border: 1px solid #2f3a31;
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature-card:hover {
  border-color: rgba(179, 242, 205, 0.4);
  transform: translateY(-3px);
}
.feature-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(179, 242, 205, 0.1);
  color: var(--mint);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.feature-card-icon .icon {
  width: 22px;
  height: 22px;
}
.feature-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #f1f5ef;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 12px;
  line-height: 1.7;
  color: #9aa89d;
}

/* Bannière d'appel à l'action */
.showcase-cta-banner {
  background: linear-gradient(135deg, #1f2722 0%, #151c17 100%);
  border: 1px solid rgba(179, 242, 205, 0.25);
  border-radius: 14px;
  padding: 34px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.showcase-cta-banner h2 {
  font-size: 22px;
  font-weight: 800;
  color: #f1f5ef;
  margin-bottom: 6px;
}
.showcase-cta-banner p {
  font-size: 13px;
  color: #a2b0a4;
  margin: 0;
}

/* =========================================================
   CHANGELOG / MISES À JOUR
   ========================================================= */
.changelog-feed {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 880px;
}
.changelog-card {
  background: #181e1a;
  border: 1px solid #2f3a31;
  border-radius: 12px;
  padding: 26px 30px;
  position: relative;
}
.changelog-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.changelog-version {
  font-size: 18px;
  font-weight: 800;
  color: #f1f5ef;
}
.changelog-date {
  font-size: 11px;
  color: var(--muted);
}
.changelog-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}
.changelog-badge.badge-primary {
  background: rgba(179, 242, 205, 0.15);
  color: var(--mint);
  border: 1px solid rgba(179, 242, 205, 0.3);
}
.changelog-badge.badge-secondary {
  background: rgba(88, 101, 242, 0.15);
  color: #8da0ff;
  border: 1px solid rgba(88, 101, 242, 0.3);
}
.changelog-title {
  font-size: 15px;
  font-weight: 700;
  color: #e4ebd6;
  margin-bottom: 16px;
}
.changelog-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.changelog-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: #abbcb0;
}
.changelog-item .tag {
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-top: 2px;
}
.tag-new {
  background: rgba(179, 242, 205, 0.15);
  color: var(--mint);
}
.tag-improve {
  background: rgba(168, 199, 250, 0.15);
  color: #a8c7fa;
}
.tag-fix {
  background: rgba(244, 185, 189, 0.15);
  color: #f4b9bd;
}

/* --- Presets & Image Cropper --- */
.presets-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 10px 0;
}
.presets-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}
.preset-counter {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(179, 242, 205, 0.12);
  color: var(--mint);
  border: 1px solid rgba(179, 242, 205, 0.25);
}
.presets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.preset-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #364239;
  background: #151c17;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.preset-card:hover {
  border-color: #556658;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.preset-card.active {
  border-color: var(--mint);
  box-shadow: 0 0 0 1px var(--mint), 0 4px 16px rgba(179, 242, 205, 0.2);
}
.preset-select {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.preset-thumb {
  width: 100%;
  aspect-ratio: 2.5 / 1;
  background-size: cover;
  background-position: center;
  border-radius: 7px 7px 0 0;
  background-color: #0b0e0c;
}
.preset-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  font-size: 10px;
  font-weight: 500;
  color: #cad7c9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.preset-card.active .preset-label {
  color: var(--mint);
  font-weight: 700;
}
.preset-delete-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: rgba(14, 18, 15, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e09898;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  opacity: 0.4;
  backdrop-filter: blur(4px);
}
.preset-card:hover .preset-delete-btn {
  opacity: 1;
}
.preset-delete-btn:hover {
  background: #b83232;
  color: #fff;
  border-color: #b83232;
  transform: scale(1.1);
}
.add-preset-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px dashed #47584b;
  border-radius: 8px;
  padding: 12px 8px;
  background: rgba(179, 242, 205, 0.02);
  cursor: pointer;
  color: #b0c2b2;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.2s;
  min-height: 80px;
  text-align: center;
}
.add-preset-btn:hover {
  background: rgba(179, 242, 205, 0.06);
  border-color: var(--mint);
  color: #fff;
  transform: translateY(-2px);
}
.add-preset-btn small {
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
}
.add-preset-btn.full {
  border-color: #70583b;
  background: rgba(240, 201, 158, 0.02);
}
.add-preset-btn.full:hover {
  border-color: #f0c99e;
  background: rgba(240, 201, 158, 0.06);
}

/* Cropper Modal */
dialog.cropper-dialog {
  max-width: 620px;
  width: calc(100% - 24px);
  padding: 24px;
}
.cropper-area {
  position: relative;
  width: 100%;
  aspect-ratio: 2.5 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: #090c0a;
  border: 1px solid #364239;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
  cursor: grab;
  user-select: none;
  touch-action: none;
}
.cropper-area:active {
  cursor: grabbing;
}
.cropper-canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.cropper-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(179, 242, 205, 0.35);
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.45);
}
.cropper-grid-overlay::before,
.cropper-grid-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cropper-grid-overlay::before {
  border-left: 1px dashed rgba(255, 255, 255, 0.25);
  border-right: 1px dashed rgba(255, 255, 255, 0.25);
  left: 33.333%;
  right: 33.333%;
}
.cropper-grid-overlay::after {
  border-top: 1px dashed rgba(255, 255, 255, 0.25);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
  top: 33.333%;
  bottom: 33.333%;
}
.cropper-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 10px 14px;
  background: #141a16;
  border-radius: 8px;
  border: 1px solid #2e3831;
}
.cropper-controls span {
  font-size: 11px;
  font-weight: 500;
  color: #a7b4aa;
  white-space: nowrap;
}
.cropper-slider {
  flex: 1;
  accent-color: var(--mint);
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

