.feature-toolbar {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.feature-search {
  position: relative;
}

.feature-search input {
  width: 100%;
  min-height: 46px;
  padding: 0 16px 0 42px;
  border: 1px solid rgba(139, 190, 255, 0.14);
  border-radius: 15px;
  background: rgba(12, 29, 49, 0.84);
  color: #f4f8ff;
  font: inherit;
  outline: none;
}

.feature-search::before {
  content: "⌕";
  position: absolute;
  left: 16px;
  top: 10px;
  color: #77a9d8;
  font-size: 22px;
}

.category-chips {
  display: flex;
  gap: 8px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-chips::-webkit-scrollbar {
  display: none;
}

.category-chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(139, 190, 255, 0.14);
  border-radius: 999px;
  background: rgba(12, 29, 49, 0.72);
  color: #91a8c1;
  font: inherit;
  font-size: 13px;
}

.category-chip.active {
  border-color: rgba(59, 206, 255, 0.4);
  background: rgba(23, 116, 166, 0.36);
  color: #eaf8ff;
}

.feature-grid {
  display: grid;
  gap: 10px;
}

.feature-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 78px;
  padding: 13px;
  border: 1px solid rgba(139, 190, 255, 0.1);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(17, 38, 62, 0.94), rgba(10, 25, 43, 0.94));
  color: #f4f8ff;
  font: inherit;
  text-align: left;
}

.feature-card:active {
  transform: scale(0.985);
}

.feature-card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: rgba(20, 105, 155, 0.3);
  color: #a8e6ff;
  font-size: 23px;
}

.feature-card-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

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

.feature-card-copy small,
.feature-card-side small {
  color: #7f96af;
  font-size: 12px;
  line-height: 1.35;
}

.feature-card-side {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.feature-card-side b {
  color: #58c9f7;
  font-size: 23px;
  font-weight: 400;
}

.feature-empty {
  padding: 42px 18px;
  color: #7f96af;
  text-align: center;
}

.admin-queue {
  margin: 14px 0 18px;
  padding: 16px;
  border: 1px solid rgba(98, 178, 255, 0.16);
  border-radius: 20px;
  background: rgba(10, 28, 48, 0.68);
}

.admin-queue-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.admin-queue-item {
  display: grid;
  gap: 10px;
  padding: 13px;
  border-radius: 15px;
  background: rgba(15, 42, 70, 0.72);
}

.admin-queue-item strong,
.admin-queue-item small {
  display: block;
}

.admin-queue-item small {
  margin-top: 3px;
  color: var(--muted);
}

.admin-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-links a {
  color: #83c9ff;
  font-size: 12px;
}

.admin-queue-item button {
  justify-self: start;
  padding: 8px 13px;
  border: 0;
  border-radius: 999px;
  color: #07111f;
  background: #7bd3ff;
  font-weight: 750;
}

.action-modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  align-items: end;
}

.action-modal.hidden {
  display: none;
}

.action-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(1, 7, 14, 0.72);
  backdrop-filter: blur(5px);
}

.action-sheet {
  position: relative;
  z-index: 1;
  max-height: min(82vh, 720px);
  padding: 20px 18px calc(18px + env(safe-area-inset-bottom));
  overflow-y: auto;
  border: 1px solid rgba(139, 190, 255, 0.16);
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  background: #0b192a;
  box-shadow: 0 -24px 70px rgba(0, 0, 0, 0.42);
}

.action-sheet-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 10px;
  margin-bottom: 18px;
}

.action-sheet-head h2 {
  margin: 0 0 6px;
  font-size: 21px;
}

.action-sheet-head p {
  margin: 0;
  color: #8299b2;
  font-size: 13px;
}

.action-modal-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #c8d8e8;
  font-size: 21px;
}

.action-fields {
  display: grid;
  gap: 13px;
}

.action-field {
  display: grid;
  gap: 7px;
  color: #9eb2c7;
  font-size: 13px;
}

.action-field input,
.action-field select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(139, 190, 255, 0.14);
  border-radius: 14px;
  background: #10243a;
  color: #f4f8ff;
  font: inherit;
  outline: none;
}

.action-field input:focus,
.action-field select:focus {
  border-color: rgba(64, 201, 255, 0.52);
  box-shadow: 0 0 0 3px rgba(64, 201, 255, 0.08);
}

.action-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 18px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, #39bde9, #2878df);
  color: white;
  font: inherit;
  font-weight: 700;
}

.action-submit:disabled {
  opacity: 0.6;
}

.user-results {
  display: grid;
  gap: 6px;
}

.user-results button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid rgba(139, 190, 255, 0.1);
  border-radius: 11px;
  background: rgba(21, 49, 78, 0.72);
  color: #e8f4ff;
  font: inherit;
}

.user-results span,
.user-results small {
  color: #7f96af;
  font-size: 12px;
}

.selected-user {
  color: #58d3aa !important;
}

.app-toast {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: calc(82px + env(safe-area-inset-bottom));
  width: min(calc(100% - 36px), 480px);
  padding: 13px 16px;
  transform: translateX(-50%);
  border: 1px solid rgba(139, 190, 255, 0.18);
  border-radius: 14px;
  background: rgba(11, 27, 45, 0.96);
  color: #eaf6ff;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.38);
  text-align: center;
}

.app-toast.hidden {
  display: none;
}

.app-toast.success {
  border-color: rgba(71, 210, 164, 0.36);
}

.app-toast.error {
  border-color: rgba(255, 105, 115, 0.4);
}

body.modal-open {
  overflow: hidden;
}
