.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.icon-lg {
  width: 28px;
  height: 28px;
}

.btn {
  --btn-bg: var(--grad-deep);
  --btn-color: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--btn-color);
  background: var(--btn-bg);
  box-shadow: 0 12px 28px rgba(27, 59, 90, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.3) 45%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.7s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(27, 59, 90, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn:hover::after {
  transform: translateX(130%);
}

.btn:active {
  transform: translateY(0);
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn-primary {
  --btn-bg: var(--grad-deep);
  --btn-color: var(--white);
}

.btn-glass {
  --btn-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.54));
  --btn-color: var(--deep);
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.btn-glass:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(140, 211, 242, 0.8);
}

.btn-soft {
  --btn-bg: linear-gradient(135deg, rgba(198, 238, 247, 0.8), rgba(179, 229, 242, 0.52));
  --btn-color: var(--deep);
  border-color: rgba(125, 200, 235, 0.28);
  box-shadow: none;
}

.btn-steam {
  --btn-bg: var(--grad-deep);
  --btn-color: var(--white);
  padding-inline: 22px;
}

.btn-steam .icon {
  width: 20px;
  height: 20px;
}

.btn-ghost {
  --btn-bg: transparent;
  --btn-color: var(--deep);
  border-color: var(--line);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(74, 116, 156, 0.22);
}

.btn-mint {
  --btn-bg: var(--grad-mint);
  --btn-color: var(--deep);
  box-shadow: 0 12px 28px rgba(94, 168, 206, 0.14);
}

.btn-sm {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 12.5px;
}

.btn-lg {
  min-height: 56px;
  padding: 16px 30px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.btn[disabled],
.btn.is-disabled {
  opacity: 0.48;
  pointer-events: none;
  filter: saturate(0.55);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--steel);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(74, 116, 156, 0.32);
  text-underline-offset: 4px;
}

.btn-link:hover {
  color: var(--deep);
  text-decoration-color: currentColor;
}

.icon-btn {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--deep);
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.icon-btn:hover {
  background: var(--white);
  border-color: rgba(74, 116, 156, 0.24);
  transform: translateY(-1px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 5px 10px;
  border: 1px solid rgba(27, 59, 90, 0.08);
  border-radius: 999px;
  color: var(--steel);
  background: rgba(255, 255, 255, 0.62);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge .status-dot {
  width: 6px;
  height: 6px;
}

.badge-demo {
  border-color: rgba(94, 168, 206, 0.24);
  color: var(--steel);
  background: rgba(198, 238, 247, 0.5);
}

.badge-online {
  border-color: rgba(94, 168, 206, 0.22);
  color: #28536f;
  background: rgba(156, 224, 216, 0.38);
}

.badge-offline {
  color: rgba(74, 116, 156, 0.86);
  background: rgba(215, 235, 245, 0.5);
}

.badge-maintenance {
  border-color: rgba(140, 211, 242, 0.28);
  color: #315e7b;
  background: rgba(179, 229, 242, 0.54);
}

.badge-new {
  border-color: transparent;
  color: var(--deep);
  background: var(--grad-mint);
}

.badge-dark {
  border-color: transparent;
  color: var(--white);
  background: var(--deep);
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wave-shadow);
  box-shadow: 0 0 0 4px rgba(94, 168, 206, 0.13);
}

.status-dot-online {
  background: var(--mint-1);
  box-shadow: 0 0 0 4px rgba(156, 224, 216, 0.18);
}

.status-dot-offline {
  background: var(--steel);
  box-shadow: 0 0 0 4px rgba(74, 116, 156, 0.12);
}

.status-dot-maintenance {
  background: var(--sky-1);
  box-shadow: 0 0 0 4px rgba(125, 200, 235, 0.16);
}

.glass {
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.4));
  box-shadow: var(--shadow-sm), var(--shadow-inner);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.surface {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-xs);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid rgba(27, 59, 90, 0.08);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
}

.chip .icon {
  width: 13px;
  height: 13px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.card {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.52));
  box-shadow: var(--shadow-xs), var(--shadow-inner);
}

.card-hover {
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    border-color 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  border-color: rgba(140, 211, 242, 0.8);
  box-shadow: var(--shadow-md);
}

.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--faint);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.section-label .line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 17px;
  border: 1px solid rgba(125, 200, 235, 0.26);
  border-radius: var(--radius-sm);
  color: var(--steel);
  background: rgba(198, 238, 247, 0.35);
  font-size: 13px;
  line-height: 1.6;
}

.notice .icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--deep);
}

.notice strong {
  color: var(--deep);
}

.notice-demo {
  border-color: rgba(94, 168, 206, 0.18);
  background: linear-gradient(135deg, rgba(215, 235, 245, 0.68), rgba(198, 238, 247, 0.28));
}

.notice-dark {
  border-color: transparent;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(27, 59, 90, 0.76);
}

.notice-dark strong {
  color: var(--white);
}

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

.form-grid .field-full {
  grid-column: 1 / -1;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field > label,
.field-label {
  color: var(--deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.field-hint {
  color: var(--faint);
  font-size: 11px;
  line-height: 1.45;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid rgba(27, 59, 90, 0.12);
  border-radius: 13px;
  color: var(--deep);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 2px rgba(27, 59, 90, 0.025);
  font-size: 14px;
  line-height: 1.45;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.input::placeholder,
.textarea::placeholder {
  color: rgba(74, 116, 156, 0.56);
}

.input:hover,
.select:hover,
.textarea:hover {
  border-color: rgba(74, 116, 156, 0.24);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: rgba(125, 200, 235, 0.82);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(125, 200, 235, 0.14);
}

.textarea {
  min-height: 126px;
  resize: vertical;
}

.select {
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a749c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.input-wrap {
  position: relative;
}

.input-wrap .icon {
  position: absolute;
  left: 15px;
  top: 50%;
  width: 17px;
  height: 17px;
  color: var(--faint);
  transform: translateY(-50%);
  pointer-events: none;
}

.input-wrap .input {
  padding-left: 44px;
}

.search-input {
  min-width: 250px;
  padding-left: 42px;
}

.field-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

.check input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--steel);
}

.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  cursor: pointer;
}

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

.switch-track {
  position: relative;
  width: 46px;
  height: 26px;
  flex: 0 0 auto;
  border: 1px solid rgba(27, 59, 90, 0.1);
  border-radius: 999px;
  background: rgba(215, 235, 245, 0.74);
  transition: background 0.25s ease;
}

.switch-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(27, 59, 90, 0.18);
  transition: transform 0.25s var(--ease);
}

.switch input:checked + .switch-track {
  border-color: transparent;
  background: var(--grad-sky);
}

.switch input:checked + .switch-track::after {
  transform: translateX(20px);
}

.switch input:focus-visible + .switch-track {
  outline: 3px solid rgba(125, 200, 235, 0.7);
  outline-offset: 3px;
}

.switch-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.switch-copy strong {
  color: var(--deep);
  font-size: 13px;
}

.switch-copy span {
  color: var(--faint);
  font-size: 11.5px;
}

.dialog {
  width: min(560px, calc(100% - 28px));
  max-height: calc(100dvh - 36px);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 26px;
  color: var(--text);
  background: linear-gradient(150deg, #fdfeff, #eef9fd);
  box-shadow: 0 40px 120px rgba(27, 59, 90, 0.3);
}

.dialog::backdrop {
  background: rgba(27, 59, 90, 0.36);
  backdrop-filter: blur(8px);
}

.dialog[open] {
  animation: dialog-in 0.3s var(--ease);
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.dialog-lg {
  width: min(780px, calc(100% - 28px));
}

.dialog-xl {
  width: min(980px, calc(100% - 28px));
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px 0;
}

.dialog-head h2 {
  font-family: var(--font-display);
  font-size: clamp(21px, 3vw, 27px);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.dialog-head p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.dialog-body {
  padding: 22px 28px 28px;
}

.dialog-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 28px 28px;
}

.dialog-close {
  flex: 0 0 auto;
}

.dialog .notice {
  margin-bottom: 18px;
}

.toast-stack {
  position: fixed;
  z-index: 1200;
  right: 18px;
  bottom: 18px;
  display: flex;
  width: min(380px, calc(100vw - 36px));
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 15px;
  color: var(--deep);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
  font-size: 13px;
  line-height: 1.5;
  pointer-events: auto;
  animation: toast-in 0.35s var(--ease);
}

.toast .icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--steel);
}

.toast-error {
  border-color: rgba(94, 168, 206, 0.36);
  background: rgba(255, 255, 255, 0.95);
}

.toast.is-leaving {
  animation: toast-out 0.25s var(--ease-soft) forwards;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(8px);
  }
}

.skeleton {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(215, 235, 245, 0.5);
}

.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.66), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.5s infinite;
}

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

.skeleton-card {
  min-height: 390px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(34px, 6vw, 70px) 24px;
  border: 1px dashed rgba(74, 116, 156, 0.24);
  border-radius: var(--radius-md);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.42);
  text-align: center;
}

.empty-state .empty-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 17px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
  color: var(--steel);
  background: var(--grad-aqua);
  box-shadow: var(--shadow-xs);
}

.empty-state h3 {
  margin-bottom: 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.empty-state p {
  max-width: 440px;
  font-size: 13.5px;
  line-height: 1.65;
}

.empty-state .btn {
  margin-top: 20px;
}

.error-state {
  border-style: solid;
  border-color: rgba(94, 168, 206, 0.2);
  background: rgba(215, 235, 245, 0.4);
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(16px);
}

.toolbar-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 650;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-chip:hover {
  color: var(--deep);
  background: rgba(255, 255, 255, 0.7);
}

.filter-chip.is-active {
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--deep);
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
}

.tab {
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.tab.is-active {
  color: var(--deep);
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-xs);
}

.table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 13px;
}

.table th,
.table td {
  padding: 15px 18px;
  border-bottom: 1px solid rgba(27, 59, 90, 0.07);
  text-align: left;
  vertical-align: middle;
}

.table th {
  color: var(--faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.table tbody tr:last-child td {
  border-bottom: 0;
}

.table tbody tr {
  transition: background 0.2s ease;
}

.table tbody tr:hover {
  background: rgba(198, 238, 247, 0.18);
}

.table .cell-main {
  display: flex;
  align-items: center;
  gap: 11px;
}

.avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 4px 12px rgba(27, 59, 90, 0.1);
  object-fit: cover;
}

.avatar-lg {
  width: 96px;
  height: 96px;
}

.avatar-xl {
  width: 132px;
  height: 132px;
}

.avatar-sm {
  width: 30px;
  height: 30px;
}

.pill-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 650;
  white-space: nowrap;
}

.copy-line {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.copy-line code {
  overflow: hidden;
  color: var(--steel);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(27, 59, 90, 0.09);
  border-radius: 9px;
  color: var(--steel);
  background: rgba(255, 255, 255, 0.56);
  transition: background 0.2s ease, color 0.2s ease;
}

.copy-btn:hover {
  color: var(--deep);
  background: var(--white);
}

.copy-btn .icon {
  width: 14px;
  height: 14px;
}

.progress {
  position: relative;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(27, 59, 90, 0.08);
}

.progress span {
  display: block;
  width: var(--value, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sky-1), var(--mint-1));
  transition: width 1.2s var(--ease);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--faint);
  font-size: 11.5px;
  font-weight: 650;
}

.breadcrumbs a {
  color: var(--steel);
}

.breadcrumbs a:hover {
  color: var(--deep);
}

.breadcrumbs .icon {
  width: 13px;
  height: 13px;
  opacity: 0.65;
}

.tooltip {
  position: relative;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  z-index: 30;
  bottom: calc(100% + 9px);
  left: 50%;
  width: max-content;
  max-width: 220px;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--white);
  background: var(--deep);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 3px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.tooltip:hover::after,
.tooltip:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.spinner-dark {
  border-color: rgba(27, 59, 90, 0.16);
  border-top-color: var(--steel);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 40px 20px;
  color: var(--muted);
  font-size: 13px;
}

.divider {
  height: 1px;
  background: var(--line);
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: var(--faint);
  font-size: 12px;
}

.meta-list span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-list .icon {
  width: 14px;
  height: 14px;
}

.kbd {
  display: inline-flex;
  min-width: 24px;
  height: 23px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 600;
}

.rules-mobile-select {
  display: none;
}

.compact-ui .section {
  padding-top: clamp(54px, 6vw, 82px);
  padding-bottom: clamp(54px, 6vw, 82px);
}

.compact-ui .server-card-body,
.compact-ui .privilege-body {
  padding: 16px;
}

.compact-ui .section-head {
  margin-bottom: 30px;
}

.reduce-motion .reveal,
.reduce-motion .motion-ready .reveal {
  opacity: 1 !important;
  transform: none !important;
}

.preview-servers > .reveal,
.preview-privileges > .reveal,
.servers-grid > .reveal,
.privileges-grid > .reveal,
.news-grid > .reveal,
.news-featured > .reveal {
  display: flex;
  min-width: 0;
}

.preview-servers > .reveal > .server-card,
.preview-privileges > .reveal > .privilege-card,
.servers-grid > .reveal > .server-card,
.privileges-grid > .reveal > .privilege-card,
.news-grid > .reveal > .news-card,
.news-featured > .reveal > .news-card {
  width: 100%;
}

.news-grid > .reveal,
.news-featured > .reveal {
  flex-direction: column;
}

.news-grid > .reveal > .news-card,
.news-featured > .reveal > .news-card {
  height: 100%;
}

.preview-news > .reveal {
  display: flex;
  min-width: 0;
}

.preview-news > .reveal > .news-card {
  width: 100%;
}

@media (max-width: 760px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .dialog-head,
  .dialog-body {
    padding-inline: 20px;
  }

  .dialog-foot {
    padding-inline: 20px;
  }

  .toast-stack {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .search-input {
    width: 100%;
    min-width: 0;
  }

  .toolbar {
    align-items: stretch;
  }

  .toolbar-group {
    width: 100%;
  }

  .filter-chip {
    flex: 1;
    justify-content: center;
  }
}
