:root {
  --bg: #050208;
  --bg-soft: #09040e;
  --panel: rgba(17, 9, 25, 0.88);
  --panel-solid: #110919;
  --line: rgba(255, 255, 255, 0.085);
  --line-purple: rgba(194, 61, 255, 0.24);
  --text: #f4f0f7;
  --muted: #8e8398;
  --muted-dark: #655b6e;
  --purple: #9d12ff;
  --purple-bright: #c23dff;
  --green: #52efab;
  --red: #ff6576;
  --amber: #ffbf4b;
  --display: "Arial Black", "Segoe UI Black", "Segoe UI", sans-serif;
  --body: "Segoe UI", Arial, Helvetica, sans-serif;
  --sidebar: 272px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 88% 4%, rgba(125, 0, 255, 0.11), transparent 34rem),
    radial-gradient(circle at 15% 85%, rgba(92, 0, 207, 0.08), transparent 30rem),
    var(--bg);
  font-family: var(--body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; }
code { font-family: "SFMono-Regular", Consolas, monospace; }
[hidden] { display: none !important; }

::selection { color: #fff; background: rgba(157, 18, 255, 0.7); }

.admin-noise {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

.admin-glow {
  position: fixed;
  z-index: -2;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  opacity: 0.1;
}

.admin-glow-one { top: -18rem; right: -10rem; background: #9d12ff; }
.admin-glow-two { bottom: -20rem; left: -12rem; background: #5700c7; }

/* Login */
.auth-view {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 34px 18px;
}

.auth-card {
  position: relative;
  width: min(470px, 100%);
  overflow: hidden;
  padding: 38px;
  border: 1px solid rgba(194, 61, 255, 0.2);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 36%),
    rgba(13, 6, 20, 0.92);
  box-shadow: 0 35px 110px rgba(0, 0, 0, 0.52), 0 0 70px rgba(131, 0, 255, 0.09);
  backdrop-filter: blur(24px);
}

.auth-card::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -130px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(157, 18, 255, 0.15);
  filter: blur(65px);
}

.auth-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.045em;
}

.auth-brand img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  filter: drop-shadow(0 0 20px rgba(157, 18, 255, 0.35));
}

.auth-brand strong,
.sidebar-brand strong { color: var(--purple-bright); }

.auth-heading { position: relative; margin-top: 46px; }
.auth-heading > span,
.page-kicker,
.panel-title > div > span,
.topbar-title > span {
  color: #8b6da0;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.auth-heading h1 {
  margin: 8px 0 10px;
  font-family: var(--display);
  font-size: clamp(38px, 8vw, 52px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.auth-heading p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.auth-form { display: grid; gap: 15px; margin-top: 30px; }
.auth-form label,
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.auth-form label > span,
.field > span {
  color: #9c91a5;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: 12px;
  outline: none;
  color: #eee8f2;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 170ms ease, background 170ms ease, box-shadow 170ms ease;
}

input { min-height: 48px; padding: 0 14px; }
textarea { min-height: 140px; padding: 13px 14px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #554d5c; }
input:focus, textarea:focus {
  border-color: rgba(194, 61, 255, 0.48);
  background: rgba(157, 18, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(157, 18, 255, 0.08);
}

.password-field { position: relative; }
.password-field input { padding-right: 86px; }
.password-field button {
  position: absolute;
  top: 50%;
  right: 8px;
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  color: #8d8197;
  background: rgba(255, 255, 255, 0.045);
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
  transform: translateY(-50%);
}

.admin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #fff;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease, box-shadow 170ms ease, opacity 170ms ease;
}

.admin-button i { font-style: normal; font-size: 15px; }
.admin-button:hover { transform: translateY(-1px); }
.admin-button:disabled { opacity: 0.55; cursor: wait; transform: none; }
.admin-button-primary {
  background: linear-gradient(110deg, #7500e8, #a20cff 55%, #d342ff);
  box-shadow: 0 13px 34px rgba(137, 0, 255, 0.27), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.admin-button-primary:hover { box-shadow: 0 17px 45px rgba(137, 0, 255, 0.39); }
.admin-button-secondary {
  border-color: rgba(194, 61, 255, 0.22);
  background: rgba(157, 18, 255, 0.07);
}
.admin-button-secondary:hover { border-color: rgba(194, 61, 255, 0.4); background: rgba(157, 18, 255, 0.12); }
.admin-button-wide { width: 100%; margin-top: 5px; }

.form-error { min-height: 20px; margin: 0; color: #ff8491; font-size: 11px; text-align: center; }
.auth-help {
  margin-top: 20px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 191, 75, 0.13);
  border-radius: 11px;
  color: #827481;
  background: rgba(255, 191, 75, 0.035);
  font-size: 10px;
}
.auth-help code { color: #b998c5; }

/* Dashboard shell */
.dashboard { min-height: 100vh; }
.sidebar {
  position: fixed;
  z-index: 60;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  width: var(--sidebar);
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(157, 18, 255, 0.035), transparent 22%),
    rgba(7, 3, 11, 0.96);
  backdrop-filter: blur(22px);
}

.sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}

.sidebar-brand { display: flex; align-items: center; gap: 12px; }
.sidebar-brand img { width: 45px; height: 45px; border-radius: 50%; filter: drop-shadow(0 0 14px rgba(157, 18, 255, 0.3)); }
.sidebar-brand > span { font-family: var(--display); font-size: 16px; letter-spacing: 0.045em; line-height: 1; }
.sidebar-brand small { display: block; margin-top: 5px; color: #5d5266; font-family: var(--body); font-size: 7px; letter-spacing: 0.12em; }
.sidebar-close { display: none; }

.sidebar-nav { display: flex; flex: 1; flex-direction: column; gap: 5px; padding: 24px 16px; }
.sidebar-link {
  display: grid;
  grid-template-columns: 35px 1fr;
  align-items: center;
  min-height: 52px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #877c90;
  background: transparent;
  font-size: 11px;
  font-weight: 730;
  text-align: left;
  cursor: pointer;
  transition: color 170ms ease, background 170ms ease, border-color 170ms ease, transform 170ms ease;
}
.sidebar-link:hover { color: #d8cfe0; background: rgba(255, 255, 255, 0.028); transform: translateX(2px); }
.sidebar-link.is-active {
  color: #f4edf8;
  border-color: rgba(194, 61, 255, 0.18);
  background: linear-gradient(90deg, rgba(157, 18, 255, 0.14), rgba(157, 18, 255, 0.035));
  box-shadow: inset 3px 0 0 var(--purple-bright);
}
.sidebar-icon { display: grid; place-items: center; width: 26px; height: 26px; color: #8c52b4; font-size: 17px; }
.sidebar-link.is-active .sidebar-icon { color: #d592ff; text-shadow: 0 0 14px rgba(194, 61, 255, 0.55); }

.sidebar-footer { padding: 16px; border-top: 1px solid var(--line); }
.sidebar-footer > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 0 12px;
  color: #746a7d;
  font-size: 9px;
  font-weight: 750;
  text-transform: uppercase;
}
.sidebar-footer > a:hover { color: #d4c8dc; }
.sidebar-user { display: flex; align-items: center; gap: 11px; margin-top: 9px; padding: 11px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.025); }
.user-avatar { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid rgba(194, 61, 255, 0.24); border-radius: 11px; color: #d69cff; background: rgba(157, 18, 255, 0.1); font-weight: 900; }
.sidebar-user strong, .sidebar-user small { display: block; }
.sidebar-user strong { color: #d8d0de; font-size: 11px; }
.sidebar-user small { color: #62586a; font-size: 8px; }
.sidebar-backdrop { display: none; }

.dashboard-main { min-height: 100vh; margin-left: var(--sidebar); }
.topbar {
  position: sticky;
  z-index: 40;
  top: 0;
  display: flex;
  align-items: center;
  min-height: 92px;
  padding: 0 34px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 2, 8, 0.78);
  backdrop-filter: blur(22px);
}
.mobile-menu-button { display: none; }
.topbar-title { min-width: 0; }
.topbar-title h1 { margin: 4px 0 0; font-family: var(--display); font-size: 21px; letter-spacing: -0.03em; }
.topbar-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.topbar-status,
.panel-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 31px;
  padding: 0 11px;
  border: 1px solid rgba(82, 239, 171, 0.2);
  border-radius: 999px;
  color: #75eab8;
  background: rgba(82, 239, 171, 0.06);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.topbar-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 11px rgba(82, 239, 171, 0.75); }
.topbar-status.is-offline, .panel-chip.is-offline { color: #ff8794; border-color: rgba(255, 101, 118, 0.2); background: rgba(255, 101, 118, 0.055); }
.topbar-status.is-offline i { background: var(--red); box-shadow: 0 0 11px rgba(255, 101, 118, 0.65); }
.icon-button,
.logout-button,
.sidebar-close {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: #93889c;
  background: rgba(255, 255, 255, 0.028);
  cursor: pointer;
  transition: color 170ms ease, border-color 170ms ease, background 170ms ease;
}
.icon-button { font-size: 20px; }
.icon-button:hover, .logout-button:hover { color: #fff; border-color: rgba(194, 61, 255, 0.28); background: rgba(157, 18, 255, 0.08); }
.icon-button.is-spinning { animation: spin 0.8s linear infinite; }
.logout-button { display: inline-flex; padding: 0 13px; font-size: 9px; font-weight: 800; text-transform: uppercase; }

.dashboard-content { width: min(1440px, 100%); margin: 0 auto; padding: 38px 34px 70px; }
.admin-page { display: none; }
.admin-page.is-active { display: block; animation: page-in 260ms ease both; }
.page-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.page-intro h2 { margin: 7px 0 8px; font-family: var(--display); font-size: clamp(31px, 4vw, 46px); letter-spacing: -0.055em; line-height: 1; }
.page-intro p { max-width: 680px; margin: 0; color: var(--muted); font-size: 12px; }

/* Common panels */
.admin-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.03), transparent 34%),
    var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 21px 23px; border-bottom: 1px solid var(--line); }
.panel-title h3 { margin: 4px 0 0; color: #e9e2ee; font-family: var(--display); font-size: 18px; letter-spacing: -0.03em; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.metric-card {
  position: relative;
  min-height: 164px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.033), rgba(14, 7, 21, 0.78));
}
.metric-label { color: #74677f; font-size: 8px; font-weight: 900; letter-spacing: 0.12em; }
.metric-card > strong { display: block; max-width: 100%; overflow: hidden; margin-top: 28px; color: #f2ebf6; font-family: var(--display); font-size: clamp(25px, 3vw, 38px); letter-spacing: -0.05em; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
.metric-card > strong em { color: #5f5468; font-size: 0.58em; font-style: normal; }
.metric-card > small { display: block; margin-top: 8px; color: #6d6375; font-size: 9px; }
.metric-index { position: absolute; right: 15px; bottom: 8px; color: rgba(194, 61, 255, 0.1); font-family: var(--display); font-size: 54px; font-style: normal; line-height: 1; }
.metric-orb { position: absolute; right: 22px; bottom: 22px; width: 16px; height: 16px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 22px rgba(255, 191, 75, 0.55); }
.metric-orb.is-online { background: var(--green); box-shadow: 0 0 22px rgba(82, 239, 171, 0.55); }
.metric-orb.is-offline { background: var(--red); box-shadow: 0 0 22px rgba(255, 101, 118, 0.55); }

.overview-grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(310px, 0.78fr); gap: 16px; margin-top: 16px; }
.health-list { margin: 0; padding: 10px 23px 18px; }
.health-list > div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 18px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.055); }
.health-list > div:last-child { border-bottom: 0; }
.health-list dt { color: #716678; font-size: 10px; }
.health-list dd { min-width: 0; margin: 0; overflow-wrap: anywhere; color: #bdb3c5; font-size: 10px; text-align: right; }
.health-list code { color: #d5a8ed; }
.quick-actions { display: grid; gap: 9px; padding: 14px; }
.quick-actions button { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; min-height: 68px; padding: 10px 13px; border: 1px solid rgba(255, 255, 255, 0.065); border-radius: 13px; color: inherit; background: rgba(255, 255, 255, 0.018); text-align: left; cursor: pointer; transition: border-color 170ms ease, background 170ms ease, transform 170ms ease; }
.quick-actions button:hover { border-color: rgba(194, 61, 255, 0.24); background: rgba(157, 18, 255, 0.055); transform: translateX(2px); }
.quick-actions button > span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(194, 61, 255, 0.18); border-radius: 11px; color: #be7be8; background: rgba(157, 18, 255, 0.07); font-size: 17px; }
.quick-actions strong, .quick-actions small { display: block; }
.quick-actions strong { color: #d9d1df; font-size: 11px; }
.quick-actions small { margin-top: 2px; color: #665d6e; font-size: 8px; }
.quick-actions i { color: #6b5a76; font-style: normal; }

/* Settings */
.settings-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr); gap: 16px; align-items: start; }
.settings-card, .announcement-settings-card { overflow: hidden; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 15px; padding: 23px; }
.field-wide { grid-column: 1 / -1; }
.field small { color: #645a6d; font-size: 8px; line-height: 1.45; }
.toggle-field { display: flex; grid-column: 1 / -1; align-items: center; gap: 13px; cursor: pointer; }
.toggle-field input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.toggle-control { position: relative; flex: 0 0 auto; width: 44px; height: 24px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.05); transition: background 180ms ease, border-color 180ms ease; }
.toggle-control::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #817587; transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.toggle-field input:checked + .toggle-control { border-color: rgba(82, 239, 171, 0.26); background: rgba(82, 239, 171, 0.1); }
.toggle-field input:checked + .toggle-control::after { background: var(--green); box-shadow: 0 0 12px rgba(82, 239, 171, 0.5); transform: translateX(20px); }
.toggle-field > span:last-child strong, .toggle-field > span:last-child small { display: block; }
.toggle-field > span:last-child strong { color: #afa4b7; font-size: 10px; }
.toggle-field > span:last-child small { margin-top: 2px; color: #615767; font-size: 8px; }
.announcement-settings-card .field { padding: 23px; }
.save-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 23px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.014); }
.save-bar > span { color: #665d6e; font-size: 8px; }
.save-bar code { color: #9c7dad; }

/* Players */
.players-panel { overflow: hidden; }
.players-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.search-field { position: relative; width: min(390px, 100%); }
.search-field > span { position: absolute; top: 50%; left: 14px; color: #6c6075; font-size: 18px; transform: translateY(-50%); }
.search-field input { min-height: 42px; padding-left: 42px; }
.players-total { color: #756a7e; font-size: 9px; font-weight: 750; text-transform: uppercase; }
.players-total b { color: #c591e1; }
.players-table-wrap { position: relative; min-height: 330px; overflow-x: auto; }
.players-table { width: 100%; border-collapse: collapse; min-width: 820px; }
.players-table th { padding: 13px 16px; border-bottom: 1px solid var(--line); color: #5d5464; font-size: 7px; font-weight: 900; letter-spacing: 0.1em; text-align: left; text-transform: uppercase; }
.players-table td { padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); color: #a99eb1; font-size: 10px; }
.players-table tbody tr:hover { background: rgba(157, 18, 255, 0.035); }
.player-cell { display: flex; align-items: center; gap: 11px; min-width: 190px; }
.player-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 37px; height: 37px; border: 1px solid rgba(194, 61, 255, 0.2); border-radius: 11px; color: #d491f8; background: rgba(157, 18, 255, 0.08); font-weight: 900; }
.player-cell strong, .player-cell small { display: block; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-cell strong { color: #dcd3e2; font-size: 11px; }
.player-cell small { margin-top: 2px; color: #625969; font-size: 8px; }
.rank-badge { display: inline-flex; align-items: center; min-height: 25px; padding: 0 8px; border: 1px solid color-mix(in srgb, var(--rank-color) 30%, transparent); border-radius: 7px; color: var(--rank-color); background: color-mix(in srgb, var(--rank-color) 8%, transparent); font-size: 8px; font-weight: 850; }
.table-actions { display: flex; justify-content: flex-end; gap: 6px; }
.table-action { min-width: 32px; height: 32px; padding: 0 9px; border: 1px solid var(--line); border-radius: 9px; color: #84788d; background: rgba(255, 255, 255, 0.025); font-size: 9px; cursor: pointer; }
.table-action:hover { color: #fff; border-color: rgba(194, 61, 255, 0.25); background: rgba(157, 18, 255, 0.07); }
.table-action.is-danger:hover { color: #ff8996; border-color: rgba(255, 101, 118, 0.24); background: rgba(255, 101, 118, 0.055); }
.table-empty { position: absolute; inset: 48px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 280px; color: #63596b; text-align: center; }
.table-empty > span { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid rgba(194, 61, 255, 0.16); border-radius: 20px; color: #965eb8; background: rgba(157, 18, 255, 0.045); font-size: 28px; }
.table-empty strong { margin-top: 16px; color: #aaa0b2; font-size: 12px; }
.table-empty small { margin-top: 4px; font-size: 9px; }

/* Rank editor */
.ranks-editor-panel { overflow: hidden; }
.rank-editor-head,
.rank-editor-row { display: grid; grid-template-columns: 80px minmax(160px, 1fr) 180px 120px 42px; align-items: center; gap: 12px; }
.rank-editor-head { padding: 13px 19px; border-bottom: 1px solid var(--line); color: #5f5567; font-size: 7px; font-weight: 900; letter-spacing: 0.09em; }
.rank-editor-list { display: grid; gap: 8px; padding: 14px; }
.rank-editor-row { min-height: 66px; padding: 9px 10px; border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 13px; background: rgba(255, 255, 255, 0.017); }
.rank-level { display: flex; align-items: center; gap: 9px; color: #776b80; font-family: var(--display); font-size: 10px; }
.rank-level i { width: 8px; height: 8px; border-radius: 3px; background: var(--row-rank-color); box-shadow: 0 0 12px color-mix(in srgb, var(--row-rank-color) 60%, transparent); transform: rotate(45deg); }
.rank-editor-row input { min-height: 40px; }
.color-input-wrap { display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 8px; }
.color-input-wrap input[type="color"] { width: 40px; min-height: 40px; padding: 4px; border-radius: 10px; cursor: pointer; }
.color-input-wrap code { color: #7d7086; font-size: 8px; }
.remove-rank { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 9px; color: #82778a; background: rgba(255, 255, 255, 0.02); cursor: pointer; }
.remove-rank:hover { color: #ff8996; border-color: rgba(255, 101, 118, 0.24); background: rgba(255, 101, 118, 0.055); }
.rank-save-bar { margin-top: 0; }

/* Security */
.security-grid { display: grid; grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr); gap: 16px; align-items: start; }
.security-card { display: grid; gap: 17px; overflow: hidden; padding-bottom: 22px; }
.security-card .field, .security-card > .admin-button { margin-inline: 23px; }
.security-card > .admin-button { justify-self: start; }
.security-notes { overflow: hidden; }
.security-notes ul { display: grid; gap: 0; margin: 0; padding: 7px 22px 18px; list-style: none; }
.security-notes li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.055); }
.security-notes li:last-child { border-bottom: 0; }
.security-notes li > span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(194, 61, 255, 0.16); border-radius: 11px; color: #a86dca; background: rgba(157, 18, 255, 0.055); font-family: var(--display); font-size: 9px; }
.security-notes strong, .security-notes small { display: block; }
.security-notes strong { color: #cbc2d1; font-size: 11px; }
.security-notes small { margin-top: 4px; color: #6a6072; font-size: 9px; }

/* Dialog */
.player-dialog { width: min(620px, calc(100% - 28px)); padding: 0; border: 0; border-radius: 22px; color: var(--text); background: transparent; }
.player-dialog::backdrop { background: rgba(2, 0, 4, 0.78); backdrop-filter: blur(8px); }
.dialog-card { overflow: hidden; border: 1px solid rgba(194, 61, 255, 0.22); border-radius: 22px; background: #100817; box-shadow: 0 35px 110px rgba(0, 0, 0, 0.6); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 23px 25px; border-bottom: 1px solid var(--line); }
.dialog-heading span { color: #806390; font-size: 8px; font-weight: 900; letter-spacing: 0.13em; }
.dialog-heading h2 { margin: 4px 0 0; font-family: var(--display); font-size: 25px; letter-spacing: -0.04em; }
.dialog-heading button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 10px; color: #8b7f94; background: rgba(255, 255, 255, 0.025); font-size: 22px; cursor: pointer; }
.dialog-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 24px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 9px; padding: 17px 24px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); }

/* Toast */
.admin-toast { position: fixed; z-index: 200; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px; min-width: 260px; max-width: calc(100% - 32px); padding: 13px 16px; border: 1px solid rgba(82, 239, 171, 0.24); border-radius: 13px; background: rgba(14, 7, 21, 0.96); box-shadow: 0 22px 70px rgba(0, 0, 0, 0.45); opacity: 0; pointer-events: none; transform: translateY(18px); transition: opacity 190ms ease, transform 190ms ease; }
.admin-toast.is-visible { opacity: 1; transform: none; }
.admin-toast > span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; color: #07110c; background: var(--green); font-size: 12px; font-weight: 900; }
.admin-toast p { margin: 0; color: #d8d0de; font-size: 11px; font-weight: 700; }
.admin-toast.is-error { border-color: rgba(255, 101, 118, 0.26); }
.admin-toast.is-error > span { color: #fff; background: var(--red); }

button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(194, 61, 255, 0.48); outline-offset: 3px; }

@keyframes page-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1180px) {
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .settings-layout, .security-grid { grid-template-columns: 1fr; }
  .announcement-settings-card { order: 2; }
}

@media (max-width: 960px) {
  :root { --sidebar: 280px; }
  .sidebar { transform: translateX(-105%); transition: transform 220ms ease; }
  .sidebar.is-open { transform: none; }
  .sidebar-close { display: grid; min-width: 35px; height: 35px; padding: 0; font-size: 20px; }
  .sidebar-backdrop { position: fixed; z-index: 55; inset: 0; display: block; border: 0; background: rgba(2, 0, 4, 0.7); opacity: 0; pointer-events: none; transition: opacity 220ms ease; }
  .sidebar.is-open + .sidebar-backdrop { opacity: 1; pointer-events: auto; }
  .dashboard-main { margin-left: 0; }
  .mobile-menu-button { display: grid; place-items: center; width: 42px; height: 42px; margin-right: 13px; border: 1px solid var(--line); border-radius: 11px; color: #a89db0; background: rgba(255, 255, 255, 0.028); cursor: pointer; }
  .overview-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .auth-card { padding: 28px 22px; border-radius: 23px; }
  .auth-heading { margin-top: 36px; }
  .topbar { min-height: 76px; padding: 0 14px; }
  .topbar-title > span { display: none; }
  .topbar-title h1 { margin: 0; font-size: 17px; }
  .topbar-status { display: none; }
  .logout-button { min-width: 40px; width: 40px; padding: 0; overflow: hidden; color: transparent; }
  .logout-button::before { content: "↪"; color: #93889c; font-size: 18px; }
  .dashboard-content { padding: 27px 14px 55px; }
  .page-intro { align-items: flex-start; flex-direction: column; margin-bottom: 22px; }
  .page-intro .admin-button { width: 100%; }
  .metric-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .metric-card { min-height: 142px; padding: 17px; }
  .metric-card > strong { margin-top: 24px; font-size: 26px; }
  .metric-index { font-size: 43px; }
  .health-list > div { grid-template-columns: 1fr; gap: 4px; }
  .health-list dd { text-align: left; }
  .form-grid { grid-template-columns: 1fr; padding: 18px; }
  .field-wide, .toggle-field { grid-column: auto; }
  .save-bar { align-items: stretch; flex-direction: column; }
  .save-bar .admin-button { width: 100%; }
  .players-toolbar { align-items: stretch; flex-direction: column; }
  .players-total { align-self: flex-end; }
  .rank-editor-head { display: none; }
  .rank-editor-row { grid-template-columns: 54px minmax(0, 1fr) 42px; gap: 9px; }
  .rank-editor-row > label:nth-of-type(2), .rank-editor-row > label:nth-of-type(3) { grid-column: 2 / -1; }
  .color-input-wrap { grid-template-columns: 40px 1fr; }
  .rank-save-bar { margin-top: 0; }
  .dialog-fields { grid-template-columns: 1fr; }
  .dialog-fields .field-wide { grid-column: auto; }
}

@media (max-width: 460px) {
  .metric-grid { grid-template-columns: 1fr; }
  .metric-card { min-height: 130px; }
  .page-intro h2 { font-size: 34px; }
  .panel-title { padding: 18px; }
  .quick-actions { padding: 10px; }
  .rank-editor-row { grid-template-columns: 44px minmax(0, 1fr) 36px; padding-inline: 7px; }
  .remove-rank { width: 32px; }
  .security-card .field, .security-card > .admin-button { margin-inline: 18px; }
  .admin-toast { right: 16px; bottom: 16px; left: 16px; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}


/* 2.7.1 integrations */
.admin-version { display: inline-flex; margin-left: 7px; padding: 2px 6px; border: 1px solid rgba(194,61,255,.22); border-radius: 999px; color: #b874e8; background: rgba(157,18,255,.08); font-family: var(--body); font-size: 7px; font-weight: 850; letter-spacing: .06em; vertical-align: 1px; }
.integration-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.integration-card { display: grid; grid-template-columns: 46px minmax(0,1fr) auto; align-items: center; gap: 14px; min-height: 106px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,.03), rgba(14,7,21,.78)); }
.integration-icon { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(194,61,255,.22); border-radius: 14px; color: #d49aff; background: rgba(157,18,255,.09); font-family: var(--display); font-size: 14px; box-shadow: inset 0 0 22px rgba(157,18,255,.05); }
.integration-copy { min-width: 0; }
.integration-copy > span { display: block; color: #776b80; font-size: 7px; font-weight: 900; letter-spacing: .12em; }
.integration-copy strong { display: block; margin-top: 5px; color: #eee7f2; font-size: 14px; }
.integration-copy small { display: block; overflow: hidden; margin-top: 5px; color: #716677; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.integration-state { display: inline-flex; align-items: center; min-height: 28px; padding: 0 9px; border: 1px solid rgba(82,239,171,.18); border-radius: 999px; color: #75eab8; background: rgba(82,239,171,.055); font-size: 7px; font-weight: 900; letter-spacing: .1em; }
.integration-state.is-error { border-color: rgba(255,101,118,.2); color: #ff8794; background: rgba(255,101,118,.055); }
.player-avatar:is(img) { object-fit: cover; }
@media (max-width: 760px) { .integration-grid { grid-template-columns: 1fr; } .integration-card { grid-template-columns: 42px minmax(0,1fr) auto; padding: 15px; } }

/* CS2_NEXT 3.1.0 — Seasons */
.season-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
  margin-bottom: 18px;
}
.season-current-panel,
.season-start-panel { min-height: 100%; }
.season-health-list { margin-top: 8px; }
.season-danger-zone {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.season-danger-zone p,
.season-start-form > p { margin: 0 0 13px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.admin-button-danger {
  border-color: rgba(255,101,118,.24);
  color: #ffc2c9;
  background: rgba(255,101,118,.075);
}
.admin-button-danger:hover { border-color: rgba(255,101,118,.42); background: rgba(255,101,118,.12); }
.season-start-form { display: grid; gap: 13px; }
.season-leaderboard-panel,
.season-history-panel { margin-top: 18px; }
.season-admin-player { display: flex; align-items: center; gap: 10px; min-width: 180px; }
.season-admin-player > span {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border: 1px solid rgba(194,61,255,.2);
  border-radius: 10px;
  color: #d9c8e5;
  background: rgba(157,18,255,.09);
  font-size: 11px;
  font-weight: 900;
}
.season-admin-player img { width: 100%; height: 100%; object-fit: cover; }
.season-admin-player > div { display: flex; flex-direction: column; min-width: 0; }
.season-admin-player strong { overflow: hidden; color: #eee7f2; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.season-admin-player small { overflow: hidden; color: #766b7f; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.season-history-list { display: grid; gap: 10px; }
.season-history-card {
  display: grid;
  grid-template-columns: minmax(160px,.75fr) minmax(0,1.5fr);
  gap: 16px;
  padding: 14px 15px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 14px;
  background: rgba(255,255,255,.016);
}
.season-history-card > div:first-child { display: flex; flex-direction: column; justify-content: center; }
.season-history-card > div:first-child strong { color: #eee7f2; font-size: 12px; }
.season-history-card > div:first-child small { margin-top: 3px; color: #776b80; font-size: 8px; }
.season-history-winners { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
.season-history-winners > span {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 0 7px;
  padding: 8px 9px;
  border-radius: 10px;
  background: rgba(157,18,255,.045);
}
.season-history-winners b { grid-row: 1 / 3; align-self: center; color: #c23dff; font-size: 11px; }
.season-history-winners em { overflow: hidden; color: #ddd3e4; font-size: 9px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.season-history-winners small { color: #74687c; font-size: 7px; }
.admin-empty { padding: 18px; color: var(--muted); font-size: 10px; text-align: center; }
@media (max-width: 900px) {
  .season-admin-grid { grid-template-columns: 1fr; }
  .season-history-card { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .season-history-winners { grid-template-columns: 1fr; }
  .season-admin-table { min-width: 720px; }
}

/* CS2_NEXT 3.4.0 — Store admin */
.shop-admin-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:18px; }
.shop-admin-metrics > article { min-height:112px; padding:18px; border:1px solid var(--line); border-radius:17px; background:linear-gradient(145deg,rgba(157,18,255,.045),rgba(255,255,255,.012)); }
.shop-admin-metrics span { display:block; color:#756a7e; font-size:7px; font-weight:900; letter-spacing:.12em; }
.shop-admin-metrics strong { display:block; margin-top:7px; color:#f0e9f4; font-family:var(--display); font-size:30px; }
.shop-admin-metrics small { color:#6f6577; font-size:8px; }
.shop-admin-settings { display:grid; gap:13px; margin-bottom:18px; padding-bottom:20px; }
.shop-admin-settings > .field, .shop-admin-settings > .toggle-field, .shop-admin-settings > .admin-button { margin-inline:20px; }
.shop-catalog-panel, .shop-orders-panel { margin-top:18px; }
.shop-catalog-editor { display:grid; gap:8px; padding:0 18px 18px; }
.shop-catalog-row { display:grid; grid-template-columns:38px minmax(120px,1.35fr) minmax(110px,1fr) 90px 58px 58px 38px; gap:8px; align-items:end; padding:10px; border:1px solid rgba(255,255,255,.055); border-radius:13px; background:rgba(255,255,255,.014); }
.shop-catalog-index { align-self:center; color:#6d6275; font-family:var(--display); font-size:10px; }
.shop-catalog-row label { display:grid; gap:5px; }
.shop-catalog-row label small { color:#706477; font-size:7px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.shop-catalog-row input { width:100%; min-width:0; min-height:38px; border:1px solid rgba(255,255,255,.075); border-radius:9px; outline:none; color:#e9e2ed; background:#0a060e; padding:0 10px; font-size:10px; }
.shop-catalog-row input:focus { border-color:rgba(194,61,255,.38); }
.shop-catalog-row input[type="color"] { padding:4px; }
.shop-catalog-enabled { align-self:center !important; display:flex !important; align-items:center; justify-content:center; }
.shop-catalog-enabled input { position:absolute; opacity:0; pointer-events:none; }
.shop-catalog-enabled span { display:inline-flex; align-items:center; min-height:28px; padding:0 8px; border:1px solid rgba(255,101,118,.2); border-radius:999px; color:#ff8794; background:rgba(255,101,118,.05); font-size:7px; font-weight:900; }
.shop-catalog-enabled input:checked + span { border-color:rgba(82,239,171,.2); color:#74e9b7; background:rgba(82,239,171,.055); }
.shop-admin-table { min-width:880px; }
.shop-order-player, .shop-order-item { display:flex; flex-direction:column; min-width:140px; }
.shop-order-player strong, .shop-order-item strong { color:#e8e0ec; font-size:10px; }
.shop-order-player small, .shop-order-item small { color:#706678; font-size:7px; }
.shop-order-status { display:inline-flex; align-items:center; min-height:26px; padding:0 8px; border-radius:999px; color:#ffbf4b; background:rgba(255,191,75,.06); font-size:7px; font-weight:900; letter-spacing:.07em; }
.shop-order-status.is-approved { color:#73eab8; background:rgba(82,239,171,.055); }
.shop-order-status.is-declined { color:#ff8794; background:rgba(255,101,118,.055); }
.shop-order-actions { display:flex; gap:7px; justify-content:flex-end; }
.shop-order-actions .admin-button { min-height:32px; padding:0 10px; font-size:7px; }
@media (max-width: 980px) { .shop-admin-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); } .shop-catalog-row { grid-template-columns:32px 1fr 1fr; } .shop-catalog-row > label:nth-of-type(n+3), .shop-catalog-row > .shop-catalog-enabled, .shop-catalog-row > .remove-rank { grid-column:auto; } }
@media (max-width: 620px) { .shop-admin-metrics { grid-template-columns:1fr 1fr; } .shop-catalog-row { grid-template-columns:28px 1fr; } .shop-catalog-row > * { grid-column:2; } .shop-catalog-index { grid-column:1; grid-row:1 / 6; } }

/* 3.4.0 - payment gateway diagnostics */
.shop-payment-panel { margin-bottom:18px; padding-bottom:18px; }
.shop-payment-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; padding:0 18px 14px; }
.shop-payment-grid > div { padding:13px; border:1px solid rgba(255,255,255,.055); border-radius:12px; background:rgba(255,255,255,.014); }
.shop-payment-grid span, .shop-payment-urls span { display:block; color:#756a7e; font-size:7px; font-weight:900; letter-spacing:.1em; }
.shop-payment-grid strong { display:block; margin-top:5px; color:#eee6f3; font-size:12px; }
.shop-payment-grid small { display:block; margin-top:4px; color:#6f6577; font-size:7px; line-height:1.45; }
.shop-payment-urls { display:grid; gap:8px; padding:0 18px 14px; }
.shop-payment-urls label { display:grid; grid-template-columns:88px minmax(0,1fr); gap:10px; align-items:center; }
.shop-payment-urls code { overflow:auto; padding:8px 10px; border:1px solid rgba(255,255,255,.055); border-radius:9px; color:#b9a8c6; background:#09050d; font-size:9px; white-space:nowrap; }
.shop-payment-help { margin:0 18px; color:#756b7c; font-size:8px; line-height:1.55; }
@media (max-width: 900px) { .shop-payment-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 620px) { .shop-payment-grid { grid-template-columns:1fr; } .shop-payment-urls label { grid-template-columns:1fr; } }


/* CS2_NEXT 3.6.0 — Orders & payments */
.orders-page-intro { align-items:flex-end; }
.orders-head-actions { display:flex; gap:9px; flex-wrap:wrap; }
.orders-metrics { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; margin-bottom:18px; }
.orders-metrics > article { min-height:110px; padding:17px; border:1px solid var(--line); border-radius:16px; background:linear-gradient(145deg,rgba(157,18,255,.05),rgba(255,255,255,.012)); }
.orders-metrics span { display:block; color:#756a7e; font-size:7px; font-weight:900; letter-spacing:.11em; }
.orders-metrics strong { display:block; margin-top:7px; color:#f1eaf5; font-family:var(--display); font-size:25px; letter-spacing:-.03em; }
.orders-metrics small { display:block; margin-top:4px; color:#6e6475; font-size:7px; line-height:1.45; }
.orders-panel { overflow:hidden; }
.orders-toolbar { display:grid; grid-template-columns:minmax(260px,1.8fr) repeat(3,minmax(120px,.7fr)) auto; gap:10px; align-items:end; padding:16px 18px; border-bottom:1px solid var(--line); }
.orders-toolbar > label:not(.search-field) { display:grid; gap:6px; }
.orders-toolbar > label > span { color:#756a7e; font-size:7px; font-weight:900; letter-spacing:.09em; }
.orders-toolbar select { min-height:38px; border:1px solid rgba(255,255,255,.075); border-radius:9px; outline:none; color:#ddd3e4; background:#0a060e; padding:0 10px; font-size:9px; }
.orders-toolbar select:focus { border-color:rgba(194,61,255,.38); }
.orders-search { min-width:0; }
.orders-found { align-self:center; padding-bottom:3px; color:#706678; font-size:8px; white-space:nowrap; }
.orders-found b { color:#d8cfe0; }
.orders-table { min-width:1160px; }
.order-payment-cell, .order-mode-cell { display:flex; flex-direction:column; gap:3px; min-width:110px; }
.order-payment-cell strong { color:#e8e0ec; font-size:9px; }
.order-payment-cell small { color:#706678; font-size:7px; }
.order-mode-badge { display:inline-flex; width:max-content; align-items:center; min-height:24px; padding:0 8px; border-radius:999px; font-size:7px; font-weight:950; letter-spacing:.08em; }
.order-mode-badge.is-live { color:#74e9b7; background:rgba(82,239,171,.06); border:1px solid rgba(82,239,171,.14); }
.order-mode-badge.is-test { color:#c68cff; background:rgba(157,18,255,.08); border:1px solid rgba(194,61,255,.18); }
.order-mode-badge.is-manual { color:#a8a0af; background:rgba(255,255,255,.035); border:1px solid rgba(255,255,255,.07); }
.order-details-button { min-height:30px !important; padding:0 9px !important; font-size:7px !important; }
.order-dialog { width:min(820px,calc(100% - 28px)); }
.order-detail-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; padding:20px 22px; }
.order-detail-grid > div { min-width:0; padding:13px; border:1px solid rgba(255,255,255,.055); border-radius:12px; background:rgba(255,255,255,.014); }
.order-detail-grid span { display:block; color:#756a7e; font-size:7px; font-weight:900; letter-spacing:.09em; }
.order-detail-grid strong, .order-detail-grid code, .order-detail-grid p { display:block; overflow-wrap:anywhere; margin:5px 0 0; color:#e9e1ed; font-size:10px; }
.order-detail-grid code { color:#bcaac8; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; }
.order-detail-grid small { display:block; margin-top:4px; color:#766b7d; font-size:7px; }
.order-detail-note { grid-column:1 / -1; }
.order-detail-note p { line-height:1.55; }
.order-dialog-actions { flex-wrap:wrap; }
@media (max-width:1100px) { .orders-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); } .orders-toolbar { grid-template-columns:1fr 1fr 1fr; } .orders-search { grid-column:1 / -1; } }
@media (max-width:720px) { .orders-metrics { grid-template-columns:1fr 1fr; } .orders-toolbar { grid-template-columns:1fr 1fr; } .orders-search { grid-column:1 / -1; } .order-detail-grid { grid-template-columns:1fr 1fr; } }
@media (max-width:520px) { .orders-metrics, .orders-toolbar, .order-detail-grid { grid-template-columns:1fr; } .orders-search, .order-detail-note { grid-column:auto; } .orders-head-actions { width:100%; } .orders-head-actions .admin-button { flex:1; } }
