/* [project]/app/globals.css [app-client] (css) */
:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --background: #292828;
  --foreground: #151a18;
  --panel: #363636;
  --surface: #e7e3da;
  --muted: #626b66;
  --border: #d8d3c8;
  --accent: #b33f22;
  --accent-strong: #4456f5;
  --accent-subtle: rgba(31, 122, 104, .882);
  --discord: #5865f2;
  --danger: #e53e3e;
  --danger-subtle: rgba(229, 62, 62, .1);
  --warning: #d97706;
  --warning-subtle: rgba(217, 119, 6, .1);
  --success: #2e7d32;
  --success-subtle: rgba(46, 125, 50, .1);
  --shadow-xs: 0 1px 2px 0 rgba(21, 26, 24, .04);
  --shadow-sm: 0 2px 6px rgba(21, 26, 24, .04);
  --shadow-md: 0 10px 30px rgba(21, 26, 24, .06);
  --shadow-lg: 0 20px 50px rgba(21, 26, 24, .08);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  margin: 0;
  line-height: 1.5;
}

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

button {
  cursor: pointer;
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
}

code, pre {
  font-family: var(--font-mono);
}

.app-shell {
  background: radial-gradient(100% 50% at 50% 0%, rgba(126, 128, 127, .07) 0%, transparent 100%), var(--background);
  color: var(--foreground);
  flex-direction: column;
  min-height: 100vh;
  display: flex;
}

.topbar {
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
  background: rgba(251, 250, 246, .85);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

.topbar-inner {
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-width: 1200px;
  min-height: 64px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
}

.brand {
  color: var(--foreground);
  letter-spacing: -.02em;
  font-size: 1.15rem;
  font-weight: 800;
}

.nav-links, .header-actions {
  align-items: center;
  display: flex;
}

.nav-links {
  color: var(--muted);
  gap: 20px;
  font-size: .88rem;
  font-weight: 600;
}

.nav-links a {
  padding: 6px 4px;
  transition: color .15s;
}

.nav-links a:hover {
  color: var(--foreground);
}

.header-actions {
  gap: 12px;
}

.dashboard-link, .discord-login, .logout-link, .primary-button, .secondary-button, .user-pill {
  border-radius: var(--radius-sm);
  white-space: nowrap;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  font-size: .86rem;
  font-weight: 600;
  transition: all .16s cubic-bezier(.16, 1, .3, 1);
  display: inline-flex;
}

.dashboard-link, .secondary-button {
  border: 1px solid var(--border);
  color: var(--foreground);
  background: none;
}

.dashboard-link:hover, .secondary-button:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
  background: #fff;
}

.discord-login {
  background: var(--discord);
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0);
}

.discord-login:hover {
  background: #4752c4;
}

.logout-link {
  border: 1px solid var(--border);
  color: var(--muted);
  background: none;
}

.logout-link:hover {
  border-color: var(--muted);
  color: var(--foreground);
}

.user-pill {
  background: var(--surface);
  color: var(--foreground);
  text-overflow: ellipsis;
  border: 1px solid rgba(0, 0, 0, 0);
  max-width: 180px;
  overflow: hidden;
}

.eyebrow {
  color: var(--accent-strong);
  letter-spacing: .08em;
  text-transform: uppercase;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  font-size: .72rem;
  font-weight: 800;
  display: inline-flex;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  letter-spacing: -.03em;
  margin-bottom: 16px;
  font-size: max(2.2rem, min(5vw, 3.8rem));
  font-weight: 800;
  line-height: 1.05;
}

.hero-copy {
  color: var(--muted);
  max-width: 680px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}

.hero-section, .features-section, .operator-band {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.hero-section {
  padding-top: 44px;
}

.hero-panel {
  background: linear-gradient(135deg, rgba(31, 122, 104, .14), transparent 42%), linear-gradient(315deg, rgba(88, 101, 242, .1), transparent 36%), var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  min-height: 470px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(21, 26, 24, .08);
}

.hero-actions {
  gap: 12px;
  margin-top: 44px;
}

.primary-button {
  background: var(--foreground);
  color: #fff;
}

.primary-button:hover {
  background: var(--accent-strong);
}

.features-section {
  padding-top: 64px;
}

.section-heading {
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 24px;
  display: flex;
}

.section-heading h2, .operator-band h2 {
  max-width: 680px;
  margin-bottom: 0;
  font-size: max(1.75rem, min(3vw, 2.5rem));
  line-height: 1.08;
}

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

.feature-card {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  min-height: 230px;
  padding: 22px;
  box-shadow: 0 14px 40px rgba(21, 26, 24, .05);
}

.feature-meta {
  color: var(--accent);
  margin-bottom: 34px;
  font-size: .8rem;
  font-weight: 800;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.feature-card p:last-child {
  color: var(--muted);
  margin-bottom: 0;
  font-size: .93rem;
  line-height: 1.6;
}

.operator-band {
  grid-template-columns: 1fr .9fr;
  align-items: center;
  gap: 32px;
  padding-top: 64px;
  padding-bottom: 72px;
  display: grid;
}

.operator-band > p {
  background: var(--foreground);
  color: rgba(255, 255, 255, .76);
  border-radius: 8px;
  margin-bottom: 0;
  padding: 26px;
  line-height: 1.7;
}

.dashboard-shell {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.dashboard-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 40px;
}

.dashboard-heading {
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  margin-bottom: 32px;
  padding-bottom: 28px;
  display: flex;
}

.dashboard-heading h1 {
  letter-spacing: -.02em;
  margin-bottom: 8px;
  font-size: max(1.8rem, min(3.5vw, 2.4rem));
  font-weight: 800;
}

.dashboard-header {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  display: flex;
}

.dashboard-header h1 {
  letter-spacing: -.02em;
  margin-bottom: 12px;
  font-size: max(2rem, min(3.5vw, 2.75rem));
}

.dashboard-badge-indicator {
  border: 1px solid var(--border);
  color: var(--muted);
  letter-spacing: .02em;
  background: #fff;
  border-radius: 999px;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: .78rem;
  font-weight: 700;
  display: inline-flex;
}

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

.control-tile {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--foreground);
  background: #fff;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  padding: 24px;
  transition: all .18s cubic-bezier(.16, 1, .3, 1);
  display: flex;
}

.control-tile:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.control-tile:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 122, 104, .25);
}

.tile-top {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  display: flex;
}

.tile-icon-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--foreground);
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  transition: all .18s;
  display: flex;
}

.control-tile:hover .tile-icon-box {
  background: var(--accent-subtle);
  color: var(--accent-strong);
  border-color: rgba(31, 122, 104, .3);
}

.tile-badge {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: .68rem;
  font-weight: 700;
}

.tile-badge.alert {
  background: var(--warning-subtle);
  color: var(--warning);
  border-color: rgba(217, 119, 6, .3);
}

.tile-main {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.tile-title-row {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.tile-title {
  letter-spacing: -.01em;
  font-size: 1.05rem;
  font-weight: 700;
}

.tile-arrow {
  color: var(--muted);
  transition: transform .16s, color .16s;
}

.control-tile:hover .tile-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

.tile-description {
  color: var(--muted);
  margin: 0;
  font-size: .88rem;
  line-height: 1.55;
}

.status-indicator {
  background: #8e8e8e;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  display: inline-block;
}

.status-indicator.online {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, .7);
}

.directory-wrapper {
  flex-direction: column;
  display: flex;
}

.directory-meta-cluster {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  display: flex;
}

.directory-search-wrapper {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  align-items: center;
  width: 280px;
  padding: 0 12px;
  transition: all .16s;
  display: flex;
}

.directory-search-wrapper:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 122, 104, .15);
}

.directory-search-icon {
  color: var(--muted);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

.directory-search-input {
  color: var(--foreground);
  background: none;
  border: 0;
  outline: none;
  width: 100%;
  min-height: 38px;
  font-family: inherit;
  font-size: .88rem;
}

.member-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
  display: grid;
}

.member-card-anchor {
  color: inherit;
  display: block;
}

.member-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  background: #fff;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
  padding: 20px;
  transition: all .18s;
  display: flex;
  position: relative;
}

.member-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 122, 104, .4);
  transform: translateY(-2px);
}

.member-card-star {
  color: rgba(98, 107, 102, .3);
  z-index: 2;
  font-size: 1.25rem;
  transition: transform .14s, color .14s;
  position: absolute;
  top: 14px;
  right: 14px;
}

.member-card-star:hover {
  color: #f1c40f;
  transform: scale(1.15);
}

.member-card-star--active {
  color: #f39c12 !important;
}

.member-card-head {
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding-right: 24px;
  display: flex;
}

.member-avatar-wrapper {
  flex-shrink: 0;
  position: relative;
}

.member-avatar-img {
  border: 1px solid var(--border);
  object-fit: cover;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: block;
}

.member-avatar-fallback {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent-strong);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
}

.member-presence-dot {
  background: #8e8e8e;
  border: 2px solid #fff;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  position: absolute;
  bottom: 0;
  right: 0;
}

.member-presence-dot--online {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, .7);
}

.member-meta {
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  display: flex;
}

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

.member-name {
  color: var(--foreground);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .94rem;
  font-weight: 700;
  overflow: hidden;
}

.member-username {
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .8rem;
  overflow: hidden;
}

.member-card-footer {
  border-top: 1px solid var(--surface);
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 12px;
  display: flex;
}

.member-devices {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  display: flex;
}

.member-device-tag {
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--foreground);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: .7rem;
  font-weight: 700;
}

.member-offline-label {
  color: var(--muted);
  font-size: .74rem;
}

.control-code-tag code {
  color: var(--accent-strong);
  font-family: var(--font-mono);
  letter-spacing: .08em;
  font-size: .85rem;
  font-weight: 800;
}

.report-empty {
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  background: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  padding: 48px 24px;
  display: flex;
}

.report-empty-title {
  color: var(--foreground);
  margin-bottom: 6px;
  font-size: 1.15rem;
  font-weight: 800;
}

.report-empty-subtitle {
  color: var(--muted);
  max-width: 400px;
  margin-bottom: 0;
  font-size: .9rem;
}

.report-list {
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
  display: flex;
}

.report-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  background: #fff;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  transition: all .16s;
  display: flex;
}

.report-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 122, 104, .35);
}

.report-card-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  display: flex;
}

.report-title-lockup {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.report-id-tag {
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: .04em;
  font-size: .75rem;
  font-weight: 700;
}

.report-reason-title {
  color: var(--foreground);
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}

.report-label {
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 0;
  font-size: .7rem;
  font-weight: 700;
}

.report-status {
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: 999px;
  align-items: center;
  padding: 4px 10px;
  font-size: .72rem;
  font-weight: 800;
  display: inline-flex;
}

.report-status-open {
  background: var(--warning-subtle);
  color: var(--warning);
  border: 1px solid rgba(217, 119, 6, .25);
}

.report-status-resolved {
  background: var(--accent-subtle);
  color: var(--accent-strong);
  border: 1px solid rgba(31, 122, 104, .25);
}

.report-status-dismissed {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
}

.report-parties-grid {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 14px 16px;
  display: grid;
}

.report-party-cell {
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  display: flex;
}

.report-user-row {
  align-items: center;
  gap: 12px;
  min-width: 0;
  display: flex;
}

.report-avatar {
  border: 1px solid var(--border);
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
}

.report-avatar-fallback {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  font-size: .8rem;
  font-weight: 800;
  display: flex;
}

.report-user-meta {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.report-user-name {
  color: var(--foreground);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .92rem;
  font-weight: 700;
  overflow: hidden;
}

.report-user-sub {
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .78rem;
  overflow: hidden;
}

.report-attachment-box {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.report-attachment-header {
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  display: flex;
}

.report-media-badge {
  background: var(--accent-subtle);
  color: var(--accent-strong);
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid rgba(31, 122, 104, .2);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: .68rem;
  font-weight: 800;
}

.report-media-container {
  padding: 14px;
}

.report-media-image {
  background: var(--surface);
  border: 1px solid var(--border);
  object-fit: contain;
  border-radius: 6px;
  width: auto;
  max-width: 100%;
  max-height: 380px;
  display: block;
}

.report-media-video {
  background: #000;
  border-radius: 6px;
  outline: none;
  width: 100%;
  max-height: 380px;
}

.report-media-audio {
  border-radius: 6px;
  outline: none;
  width: 100%;
}

.report-media-text {
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--foreground);
  white-space: pre-wrap;
  word-break: break-word;
  border-radius: 6px;
  max-height: 220px;
  padding: 14px;
  font-family: inherit;
  font-size: .9rem;
  line-height: 1.6;
  overflow-y: auto;
}

.report-notes-box {
  background: var(--panel);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  display: flex;
}

.report-notes-content {
  color: var(--foreground);
  margin: 0;
  font-size: .9rem;
  line-height: 1.55;
}

.report-footer {
  border-top: 1px solid var(--surface);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 14px;
  display: flex;
}

.report-timestamp {
  color: var(--muted);
  font-size: .8rem;
}

.report-closed-tag {
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
}

.report-actions {
  align-items: center;
  gap: 10px;
  display: flex;
}

.btn-resolve, .btn-dismiss {
  border-radius: var(--radius-sm);
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 14px;
  font-size: .82rem;
  font-weight: 700;
  transition: all .14s;
  display: inline-flex;
}

.btn-resolve {
  background: var(--accent);
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0);
}

.btn-resolve:hover {
  background: var(--accent-strong);
}

.btn-resolve:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 122, 104, .25);
}

.btn-dismiss {
  border: 1px solid var(--border);
  color: var(--danger);
  background: none;
}

.btn-dismiss:hover {
  background: var(--danger-subtle);
  border-color: rgba(229, 62, 62, .35);
}

.btn-dismiss:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, .2);
}

.admin-verify-grid {
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
  display: flex;
}

.admin-verify-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  background: #fff;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  transition: all .16s;
  display: flex;
}

.admin-verify-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 122, 104, .35);
}

.admin-verify-card-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  display: flex;
}

.admin-verify-user-block {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.admin-verify-username {
  color: var(--foreground);
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
}

.admin-verify-subhandle {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
}

.admin-verify-media-row {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  display: grid;
}

.admin-verify-media-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  overflow: hidden;
}

.admin-verify-media-meta {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  display: flex;
}

.admin-verify-zoom-btn {
  color: var(--accent-strong);
  cursor: pointer;
  text-transform: uppercase;
  background: none;
  border: 0;
  padding: 2px 4px;
  font-size: .76rem;
  font-weight: 800;
}

.admin-verify-zoom-btn:hover {
  text-decoration: underline;
}

.admin-verify-img-frame {
  cursor: zoom-in;
  background: #111413;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  height: 220px;
  display: flex;
  overflow: hidden;
}

.admin-verify-img-frame img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  transition: transform .16s;
}

.admin-verify-img-frame:hover img {
  transform: scale(1.02);
}

.admin-verify-data-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 16px;
  padding: 14px 18px;
  display: grid;
}

.admin-verify-data-item {
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  display: flex;
}

.admin-verify-token {
  color: var(--accent-strong);
  font-family: var(--font-mono);
  font-size: .95rem;
  font-weight: 800;
}

.admin-verify-data-val {
  color: var(--foreground);
  font-size: .88rem;
  font-weight: 700;
}

.admin-verify-loading {
  color: var(--muted);
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 60px 0;
  display: flex;
}

.age-verify-page {
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: 48px 20px;
  display: flex;
}

.age-verify-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 100%;
  max-width: 640px;
  padding: 40px 36px;
  box-shadow: 0 20px 60px rgba(21, 26, 24, .08);
}

.age-verify-header {
  text-align: center;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
  display: flex;
}

.age-verify-icon-wrapper {
  background: var(--accent-subtle);
  color: var(--accent);
  border: 1px solid rgba(31, 122, 104, .2);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  display: flex;
}

.age-verify-icon {
  width: 24px;
  height: 24px;
}

.age-verify-title {
  margin-bottom: 8px;
  font-size: max(1.6rem, min(3.2vw, 2.1rem));
  font-weight: 800;
  line-height: 1.15;
}

.age-verify-subtitle {
  color: var(--muted);
  max-width: 480px;
  margin: 0;
  font-size: .95rem;
  line-height: 1.55;
}

.age-instructions-card {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 6px;
  margin-bottom: 24px;
  padding: 20px;
}

.age-instructions-head {
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
  padding-bottom: 12px;
}

.age-instructions-badge {
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 800;
}

.age-instructions-title {
  margin: 4px 0 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.age-step-list {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.age-step-item {
  align-items: flex-start;
  gap: 12px;
  display: flex;
}

.age-step-num {
  background: var(--surface);
  color: var(--foreground);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  font-size: .8rem;
  font-weight: 800;
  display: inline-flex;
}

.age-step-content {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}

.age-step-content strong {
  color: var(--foreground);
  margin-bottom: 2px;
  font-size: .92rem;
  display: block;
}

.age-token-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 6px 12px;
  display: inline-flex;
}

.age-token-label {
  color: var(--muted);
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
}

.age-token-code {
  color: var(--foreground);
  font-family: var(--font-mono);
  font-size: .95rem;
  font-weight: 700;
}

.age-flow-form {
  flex-direction: column;
  gap: 20px;
  display: flex;
}

.age-field-group {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.age-field-label {
  color: var(--foreground);
  gap: 4px;
  font-size: .85rem;
  font-weight: 700;
  display: flex;
}

.age-field-required {
  color: var(--danger);
}

.age-input-wrapper {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 6px;
  align-items: center;
  padding: 0 12px;
  transition: border-color .16s, box-shadow .16s;
  display: flex;
}

.age-input-wrapper:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 122, 104, .15);
}

.age-text-input {
  color: var(--foreground);
  background: none;
  border: 0;
  outline: none;
  width: 100%;
  min-height: 42px;
  font-size: .92rem;
}

.age-upload-grid {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  display: grid;
}

.age-dropzone {
  border: 1.5px dashed var(--border);
  cursor: pointer;
  text-align: center;
  background: #fff;
  border-radius: 6px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 150px;
  padding: 16px;
  transition: border-color .16s, background .16s;
  display: flex;
  position: relative;
}

.age-dropzone:hover {
  border-color: var(--accent);
  background: rgba(31, 122, 104, .02);
}

.age-verify-btn {
  background: var(--foreground);
  color: #fff;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 0 20px;
  font-size: .95rem;
  font-weight: 700;
  transition: all .16s;
  display: inline-flex;
}

.age-verify-btn:hover:not(:disabled) {
  background: var(--accent-strong);
}

.banned-page {
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: 48px 20px;
  display: flex;
}

.banned-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 540px;
  padding: 36px 32px;
  display: flex;
}

.banned-header {
  flex-direction: column;
  align-items: flex-start;
  display: flex;
}

.banned-badge {
  background: var(--danger-subtle);
  color: var(--danger);
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid rgba(229, 62, 62, .28);
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 5px 12px;
  font-size: .72rem;
  font-weight: 800;
  display: inline-flex;
}

.banned-badge-dot {
  background: var(--danger);
  border-radius: 50%;
  width: 6px;
  height: 6px;
  display: inline-block;
}

.banned-badge-icon {
  width: 14px;
  height: 14px;
}

.banned-title {
  color: var(--foreground);
  letter-spacing: -.02em;
  margin: 0 0 8px;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.15;
}

.banned-subtitle {
  color: var(--muted);
  margin: 0;
  font-size: .92rem;
  line-height: 1.55;
}

.banned-meta-grid {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  grid-template-columns: 1fr 1.2fr .8fr;
  gap: 12px;
  padding: 12px 16px;
  display: grid;
}

.banned-meta-cell {
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  display: flex;
}

.banned-meta-label {
  color: var(--muted);
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: .68rem;
  font-weight: 800;
}

.banned-meta-val {
  color: var(--foreground);
  font-family: var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .82rem;
  font-weight: 700;
  overflow: hidden;
}

.banned-meta-val--danger {
  color: var(--danger);
  font-family: inherit;
  font-size: .82rem;
  font-weight: 800;
}

.banned-reason-section {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.banned-reason-content {
  border: 1px solid var(--border);
  border-left: 3.5px solid var(--danger);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 14px 16px;
}

.banned-section-head {
  align-items: center;
  display: flex;
}

.banned-reason-label {
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 800;
}

.banned-reason-text {
  color: var(--foreground);
  margin: 0;
  font-size: .9rem;
  line-height: 1.55;
}

.banned-appeal-section {
  border-top: 1px solid var(--border);
  flex-direction: column;
  gap: 16px;
  padding-top: 20px;
  display: flex;
}

.banned-appeal-title {
  color: var(--foreground);
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 800;
}

.banned-appeal-copy {
  color: var(--muted);
  margin: 0;
  font-size: .88rem;
  line-height: 1.55;
}

.banned-appeal-copy strong {
  color: var(--foreground);
}

.banned-actions {
  display: flex;
}

.banned-discord-button {
  border-radius: var(--radius-sm);
  color: #fff;
  background: #2b2d31;
  border: 1px solid rgba(255, 255, 255, .08);
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 0 20px;
  font-size: .88rem;
  font-weight: 700;
  transition: all .16s cubic-bezier(.16, 1, .3, 1);
  display: inline-flex;
}

.banned-discord-button:hover {
  background: var(--discord);
  border-color: rgba(0, 0, 0, 0);
  transform: translateY(-1px);
}

.banned-discord-button:active {
  transform: translateY(0);
}

.banned-discord-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.banned-card-footer {
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.banned-footer-notice {
  color: var(--muted);
  text-align: center;
  margin: 0;
  font-size: .78rem;
  line-height: 1.5;
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.site-footer-inner {
  color: var(--muted);
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  font-size: .85rem;
  display: flex;
}

.site-footer-inner a:hover {
  color: var(--foreground);
}

@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard-grid, .member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .operator-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .topbar-inner {
    flex-direction: column;
    gap: 12px;
    padding: 14px 20px;
  }

  .nav-links {
    display: none;
  }

  .dashboard-panel {
    padding: 24px 18px;
  }

  .dashboard-grid, .member-grid, .feature-grid, .admin-verify-media-row, .admin-verify-data-strip, .age-upload-grid {
    grid-template-columns: 1fr;
  }

  .directory-search-wrapper {
    width: 100%;
  }
}

.modal-backdrop {
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  background: rgba(21, 26, 24, .45);
  justify-content: center;
  align-items: center;
  padding: 20px;
  display: flex;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.modal-container {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 500px;
  padding: 28px;
}

.modal-header {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  display: flex;
}

.modal-title {
  letter-spacing: -.01em;
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.modal-close-btn {
  color: var(--muted);
  padding: 4px;
  font-size: 1.1rem;
  transition: color .14s;
}

.modal-close-btn:hover {
  color: var(--foreground);
}

.modal-field-head {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.modal-char-count {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .75rem;
}

.modal-textarea-wrapper {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 6px;
  padding: 8px 12px;
  transition: border-color .16s, box-shadow .16s;
}

.modal-textarea-wrapper:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 122, 104, .15);
}

.modal-textarea {
  color: var(--foreground);
  resize: none;
  background: none;
  border: 0;
  outline: none;
  width: 100%;
  font-family: inherit;
  font-size: .92rem;
}

.modal-error-banner {
  background: var(--danger-subtle);
  border-radius: var(--radius-sm);
  color: var(--danger);
  border: 1px solid rgba(229, 62, 62, .25);
  padding: 8px 12px;
  font-size: .82rem;
  font-weight: 600;
}

.modal-toggle-row {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  display: flex;
}

.modal-toggle-label {
  cursor: pointer;
  font-size: .9rem;
  font-weight: 700;
  display: block;
}

.modal-toggle-sub {
  color: var(--muted);
  margin: 0;
  font-size: .78rem;
}

.switch-wrapper {
  cursor: pointer;
  flex-shrink: 0;
  width: 44px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.switch-wrapper input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  transition: all .18s;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.switch-slider:before {
  content: "";
  background-color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  transition: transform .18s;
  position: absolute;
  bottom: 2px;
  left: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
}

.switch-wrapper input:checked + .switch-slider {
  background-color: var(--accent);
  border-color: var(--accent);
}

.switch-wrapper input:checked + .switch-slider:before {
  transform: translateX(19px);
}

.modal-footer-actions {
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
  display: flex;
}

.groups-toolbar {
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  display: flex;
}

.groups-tab-list {
  background: var(--surface);
  border-radius: var(--radius-sm);
  gap: 4px;
  padding: 4px;
  display: inline-flex;
}

.groups-tab-btn {
  color: var(--muted);
  border-radius: 4px;
  padding: 6px 14px;
  font-size: .85rem;
  font-weight: 700;
  transition: all .14s;
}

.groups-tab-btn:hover {
  color: var(--foreground);
}

.groups-tab-btn--active {
  box-shadow: var(--shadow-xs);
  color: var(--foreground);
  background: #fff;
}

.groups-card-footer {
  border-top: 1px solid var(--surface);
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-top: 12px;
  display: flex;
}

.role-badge {
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: 4px;
  align-items: center;
  padding: 2px 6px;
  font-size: .68rem;
  font-weight: 800;
  display: inline-flex;
}

.role-badge--owner {
  background: var(--accent-subtle);
  color: var(--accent-strong);
  border: 1px solid rgba(31, 122, 104, .35);
}

.role-badge--mod {
  background: var(--warning-subtle);
  color: var(--warning);
  border: 1px solid rgba(217, 119, 6, .35);
}

.role-badge--member {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
}

.group-members-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background: #fff;
  flex-direction: column;
  margin-top: 24px;
  display: flex;
  overflow: hidden;
}

.group-members-header {
  border-bottom: 1px solid var(--surface);
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px 16px;
  display: flex;
}

.group-members-header h3 {
  letter-spacing: -.01em;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
}

.group-members-count {
  color: var(--muted);
  font-size: .85rem;
  font-weight: 600;
}

.group-members-list {
  flex-direction: column;
  max-height: 420px;
  display: flex;
  overflow-y: auto;
}

.group-member-row {
  border-bottom: 1px solid var(--surface);
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  transition: background .12s;
  display: flex;
}

.group-member-row:last-child {
  border-bottom: 0;
}

.group-member-row:hover {
  background: var(--panel);
}

.group-member-info {
  align-items: center;
  gap: 14px;
  min-width: 0;
  display: flex;
}

.group-member-avatar-box {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  position: relative;
}

.group-member-avatar-img {
  border: 1px solid var(--border);
  object-fit: cover;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  display: block;
}

.group-member-avatar-fallback {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent-strong);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: .95rem;
  font-weight: 800;
  display: flex;
}

.group-member-name {
  color: var(--foreground);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .92rem;
  font-weight: 700;
  overflow: hidden;
}

.group-role-badge {
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: .68rem;
  font-weight: 800;
}

.group-role-badge--owner {
  background: var(--warning-subtle);
  color: var(--warning);
  border: 1px solid rgba(217, 119, 6, .3);
}

.group-role-badge--mod {
  background: var(--accent-subtle);
  color: var(--accent-strong);
  border: 1px solid rgba(31, 122, 104, .3);
}

.group-member-status {
  color: var(--muted);
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  display: flex;
}

.group-members-footer {
  background: var(--panel);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
}

.btn-leave-group {
  color: var(--danger);
  border-color: var(--border);
  background: #fff;
}

.btn-leave-group:hover {
  background: var(--danger-subtle);
  color: var(--danger);
  border-color: rgba(229, 62, 62, .35);
}

.member-role-select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--foreground);
  outline: none;
  padding: 4px 8px;
  font-family: inherit;
  font-size: .78rem;
  font-weight: 700;
  transition: border-color .14s;
}

.member-role-select:focus {
  border-color: var(--accent);
}

.member-action-btn-danger {
  border-radius: var(--radius-sm);
  color: var(--danger);
  cursor: pointer;
  background: none;
  border: 1px solid rgba(229, 62, 62, .3);
  padding: 4px 10px;
  font-size: .75rem;
  font-weight: 700;
  transition: all .14s;
}

.member-action-btn-danger:hover {
  background: var(--danger-subtle);
  border-color: var(--danger);
}

.group-split-view {
  grid-template-columns: 320px 1fr;
  align-items: start;
  gap: 20px;
  display: grid;
}

.commands-sidebar-panel {
  border-radius: var(--radius-md);
  color: #f2f3f5;
  background: #18191c;
  border: 1px solid rgba(255, 255, 255, .08);
  flex-direction: column;
  padding: 20px;
  display: flex;
}

.commands-sidebar-header {
  margin-bottom: 16px;
}

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

.commands-title-row h3 {
  color: #fff;
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.commands-device-select {
  color: #fff;
  background: #2b2d31;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  outline: none;
  padding: 4px 8px;
  font-family: inherit;
  font-size: .78rem;
  font-weight: 600;
}

.commands-sidebar-copy {
  color: #949ba4;
  margin: 0;
  font-size: .82rem;
  line-height: 1.45;
}

.commands-accordion-list {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.command-accordion-item {
  background: #2b2d31;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 8px;
  overflow: hidden;
}

.command-accordion-header {
  color: #f2f3f5;
  background: none;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  font-size: .88rem;
  font-weight: 700;
  display: flex;
}

.command-arrow-icon {
  color: #949ba4;
  font-size: .65rem;
}

.command-accordion-body {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 12px 14px;
}

.command-send-button {
  color: #fff;
  background: #5865f2;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 38px;
  font-size: .88rem;
  font-weight: 700;
  transition: background .14s;
  display: flex;
}

.command-send-button:hover:not(:disabled) {
  background: #4752c4;
}

@media (max-width: 900px) {
  .group-split-view {
    grid-template-columns: 1fr;
  }
}

.command-input-field {
  color: #f2f3f5;
  resize: vertical;
  background: #1e1f22;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  outline: none;
  width: 100%;
  padding: 8px 10px;
  font-family: inherit;
  font-size: .84rem;
  transition: border-color .14s;
}

.command-input-field:focus {
  border-color: #5865f2;
}

/*# sourceMappingURL=app_globals_71f961d1.css.map*/