:root {
  color-scheme: light;
  --bg-1: #f2f7ff;
  --bg-2: #e8efff;
  --shell: #ffffff;
  --ink: #0e1f45;
  --muted: #526082;
  --line: #dbe4ff;
  --accent: #315ee8;
  --accent-2: #1f3fa8;
  --warm: #ff9f2d;
  --danger: #b42318;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "SF Pro Text", Tahoma, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 100% 0%, var(--bg-2), var(--bg-1) 58%);
}

.page {
  min-height: 100vh;
  padding: 18px;
}

.shell {
  width: min(1280px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--shell);
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: calc(100vh - 36px);
  box-shadow: 0 22px 50px rgba(31, 63, 168, 0.12);
}

.sidebar {
  background: linear-gradient(180deg, #f8fbff, #edf3ff);
  border-right: 1px solid var(--line);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-copy h1 {
  margin: 0;
  font-size: 25px;
  line-height: 1;
  letter-spacing: 0.1px;
}

.brand-copy h1 span {
  color: var(--accent);
}

.brand-copy p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.logo-mark {
  width: 48px;
  height: 44px;
  position: relative;
}

.heart-left,
.heart-right,
.heart-bottom {
  position: absolute;
}

.heart-left,
.heart-right {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  top: 0;
}

.heart-left {
  left: 4px;
  background: var(--accent-2);
}

.heart-right {
  right: 4px;
  background: var(--warm);
}

.heart-bottom {
  width: 26px;
  height: 26px;
  left: 11px;
  top: 10px;
  background: var(--accent);
  transform: rotate(45deg);
  border-bottom-left-radius: 7px;
}

.bar {
  position: absolute;
  width: 20px;
  height: 4px;
  border-radius: 8px;
  left: 14px;
  top: 16px;
  background: #ffe08d;
}

.weight {
  position: absolute;
  width: 4px;
  height: 11px;
  border-radius: 6px;
  top: 13px;
  background: #ffe08d;
}

.wl {
  left: 11px;
}
.wli {
  left: 15px;
}
.wri {
  right: 15px;
}
.wr {
  right: 11px;
}

.menu {
  display: grid;
  gap: 8px;
}

.menu-item {
  border: 1px solid transparent;
  min-height: 44px;
  border-radius: 12px;
  padding: 0 12px;
  text-align: left;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.menu-item:hover {
  background: #e9f0ff;
}

.menu-item.active {
  background: linear-gradient(135deg, var(--accent), #5881ff);
  color: #fff;
}

.sidebar-actions {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.content {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.auth-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: #fbfdff;
  width: min(560px, 100%);
}

.stack {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

input,
textarea,
button {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-size: 14px;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(49, 94, 232, 0.22);
  border-color: var(--accent);
}

button {
  border: 0;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

button:hover {
  background: var(--accent-2);
}

.ghost {
  border: 1px solid var(--line);
  background: #f3f7ff;
  color: var(--ink);
}

.danger {
  background: #b42318;
  color: #fff;
}

.danger:hover {
  background: #8f1a12;
}

.panel-header h2 {
  margin: 0;
  font-size: 30px;
}

.panel-header p {
  margin: 6px 0 0;
  color: var(--muted);
}

.stats {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 12px;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(145deg, #f8fbff, #eef3ff);
}

.stat span {
  font-size: 12px;
  color: var(--muted);
}

.stat strong {
  display: block;
  margin-top: 8px;
  font-size: 34px;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  margin: 14px 0 8px;
}

.section-head h3 {
  margin: 0;
  font-size: 22px;
}

.section-head.compact {
  margin-top: 0;
}

.section-head.compact h4 {
  margin: 0;
  font-size: 18px;
}

.section-head input {
  width: min(360px, 100%);
}

.table {
  display: grid;
  gap: 10px;
  max-height: 62vh;
  overflow: auto;
  padding-right: 2px;
}

.row-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 12px;
}

.row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.row-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  object-fit: cover;
  display: block;
}

.avatar.placeholder {
  display: grid;
  place-items: center;
  background: #ebf1ff;
  color: var(--accent);
  font-weight: 800;
}

.row-card p {
  margin: 4px 0;
  font-size: 13px;
  word-break: break-word;
}

.row-card .micro {
  color: var(--muted);
  font-size: 11px;
}

.report-row {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 10px;
}

.report-grid {
  display: grid;
  grid-template-columns: 120px 1.2fr 1.2fr 1fr 1.2fr 170px 180px;
  gap: 10px;
  align-items: start;
}

.report-head {
  background: #f4f8ff;
  font-weight: 800;
  color: var(--muted);
  border: 1px solid var(--line);
}

.report-cell {
  font-size: 13px;
  line-height: 1.35;
  word-break: break-word;
}

.report-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid var(--line);
  background: #eef4ff;
  color: var(--accent-2);
  margin-bottom: 4px;
}

.report-detail {
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
  border: 1px dashed var(--line);
  background: #fbfdff;
}

.report-detail p {
  margin: 4px 0;
  font-size: 12px;
}

.report-actions {
  display: grid;
  gap: 6px;
}

.report-actions button {
  min-height: 34px;
  font-size: 12px;
}

.report-inspector {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #f8fbff;
}

.report-inspector h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

.report-inspector-body p {
  margin: 6px 0;
  font-size: 13px;
  line-height: 1.4;
}

.verification-evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 14px;
}

.verification-evidence-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.verification-evidence-image {
  width: 100%;
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: block;
}

.verification-evidence-empty {
  min-height: 180px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  padding: 12px;
}

.profile-inspector-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.profile-showcase {
  padding: 18px;
  background: linear-gradient(180deg, #f8fbff, #eef4ff);
}

.profile-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
}

.profile-hero {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  overflow: hidden;
}

.profile-hero-media {
  position: relative;
  aspect-ratio: 4 / 4.7;
  background: linear-gradient(180deg, #edf3ff, #dfe8ff);
}

.profile-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-hero-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 52px;
  font-weight: 900;
  letter-spacing: 0.8px;
}

.profile-hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  background: linear-gradient(180deg, rgba(10, 19, 48, 0), rgba(10, 19, 48, 0.82));
  color: #fff;
}

.profile-hero-overlay h5 {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
}

.profile-hero-subtitle {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.profile-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.profile-glance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
}

.glance-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(180deg, #fafcff, #f1f5ff);
}

.glance-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 6px;
}

.glance-card strong {
  font-size: 14px;
  line-height: 1.35;
}

.profile-side-stack {
  display: grid;
  gap: 14px;
}

.profile-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 16px;
}

.profile-panel h5 {
  margin: 0 0 10px;
  font-size: 16px;
}

.profile-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.detail-row {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdff;
  padding: 10px 12px;
}

.detail-row span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 4px;
}

.detail-row strong {
  font-size: 13px;
  line-height: 1.4;
}

.profile-copy {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
}

.profile-chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-gallery-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.profile-gallery-wall a {
  display: block;
}

.profile-gallery-photo {
  width: 100%;
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: block;
}

.profile-inspector-avatar {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  border: 1px solid var(--line);
  object-fit: cover;
  display: block;
}

.profile-inspector-avatar.placeholder {
  display: grid;
  place-items: center;
  background: #ebf1ff;
  color: var(--accent);
  font-weight: 800;
}

.profile-gallery {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  gap: 6px;
}

.profile-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: block;
}

.inspector-messages {
  margin-top: 8px;
  display: grid;
  gap: 8px;
  max-height: 280px;
  overflow: auto;
}

.inspector-message {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  background: #fff;
}

.inspector-message p {
  margin: 3px 0;
  font-size: 12px;
}

.broadcast-form {
  margin-top: 10px;
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.broadcast-form textarea {
  resize: vertical;
  min-height: 96px;
  font-family: inherit;
}

.broadcast-history-row {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 10px;
}

.broadcast-history-row p {
  margin: 3px 0;
  font-size: 13px;
}

.membership-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) 220px;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 214, 133, 0.5);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 219, 147, 0.92), rgba(255, 219, 147, 0) 35%),
    linear-gradient(135deg, #0f1b3d, #17306f 58%, #274ba5);
  color: #fff8ef;
  overflow: hidden;
  box-shadow: 0 24px 44px rgba(14, 31, 69, 0.2);
}

.membership-kicker {
  margin: 0 0 10px;
  color: rgba(255, 239, 205, 0.9);
  text-transform: uppercase;
  letter-spacing: 1.1px;
  font-size: 12px;
  font-weight: 900;
}

.membership-hero-copy h3 {
  margin: 0;
  font-size: 34px;
  line-height: 1.08;
}

.membership-hero-copy p:last-child {
  margin: 12px 0 0;
  color: rgba(255, 246, 231, 0.82);
  max-width: 720px;
  line-height: 1.7;
}

.membership-hero-orb {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 170px;
}

.membership-hero-orb span {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 28%, #fff7dc, #ffd478 42%, rgba(255, 189, 71, 0.22) 72%, rgba(255, 189, 71, 0));
  box-shadow: 0 0 0 18px rgba(255, 236, 193, 0.08), 0 20px 40px rgba(8, 15, 34, 0.35);
}

.membership-hero-orb strong {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 34px;
  letter-spacing: 3px;
  color: #6d4200;
}

.membership-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 0;
}

.membership-stat-card {
  border: 1px solid rgba(255, 214, 133, 0.46);
  border-radius: 18px;
  padding: 16px;
  background: linear-gradient(180deg, #fffdf7, #fff6e3);
  box-shadow: 0 12px 28px rgba(31, 63, 168, 0.08);
}

.membership-stat-card span,
.membership-stat-card small {
  display: block;
}

.membership-stat-card span {
  color: #8c5c12;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 800;
}

.membership-stat-card strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 38px;
  color: #162a62;
}

.membership-stat-card small {
  color: #7b6d54;
  line-height: 1.5;
}

.membership-grid {
  display: grid;
  grid-template-columns: minmax(360px, 450px) minmax(0, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.membership-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  padding: 18px;
  box-shadow: 0 18px 36px rgba(31, 63, 168, 0.08);
}

.membership-search {
  display: grid;
  gap: 12px;
}

.membership-user-results {
  display: grid;
  gap: 10px;
  max-height: 280px;
  overflow: auto;
}

.membership-candidate {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
}

.membership-candidate:hover {
  border-color: #b8cbff;
  background: #f8fbff;
}

.membership-candidate.active {
  border-color: #d9a23b;
  background: linear-gradient(180deg, #fffaf0, #fff2d3);
}

.membership-candidate-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.membership-candidate-main strong,
.membership-candidate-main span {
  display: block;
}

.membership-candidate-main span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.membership-candidate-avatar,
.membership-selected-avatar,
.membership-record-avatar {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(219, 228, 255, 0.9);
  background: #eef4ff;
}

.membership-candidate-avatar.placeholder,
.membership-selected-avatar.placeholder,
.membership-record-avatar.placeholder {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: 900;
}

.membership-mini-badge,
.membership-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid transparent;
}

.membership-mini-badge.plus,
.membership-record.plus .membership-record-kicker {
  color: #1f3fa8;
}

.membership-mini-badge.elite,
.membership-record.elite .membership-record-kicker {
  color: #8a5b00;
}

.membership-mini-badge.plus {
  background: #ebf1ff;
  border-color: #cad8ff;
}

.membership-mini-badge.elite {
  background: #fff3d7;
  border-color: #ffd489;
}

.muted-badge {
  background: #f3f6fc;
  border-color: var(--line);
  color: var(--muted);
}

.membership-selected-user {
  margin: 16px 0;
  border: 1px solid rgba(255, 214, 133, 0.5);
  border-radius: 18px;
  padding: 14px;
  background: linear-gradient(180deg, #fffdf8, #fff4de);
}

.membership-selected-user.empty {
  border-style: dashed;
  background: #fbfdff;
}

.membership-selected-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.membership-selected-label,
.membership-record-kicker {
  display: block;
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.membership-selected-head strong,
.membership-selected-head span {
  display: block;
}

.membership-selected-head span {
  color: var(--muted);
  margin-top: 4px;
}

.membership-form {
  display: grid;
  gap: 14px;
}

.membership-plan-grid {
  display: grid;
  gap: 10px;
}

.membership-plan {
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: linear-gradient(180deg, #fdfefe, #f5f8ff);
  color: var(--ink);
  text-align: left;
}

.membership-plan:hover {
  background: linear-gradient(180deg, #ffffff, #eef4ff);
}

.membership-plan.active {
  border-color: #d9a23b;
  background: linear-gradient(180deg, #fff8ea, #ffe6af);
  box-shadow: 0 14px 30px rgba(140, 92, 18, 0.14);
}

.membership-plan-tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #7b5b20;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.membership-plan strong,
.membership-plan small {
  display: block;
}

.membership-plan strong {
  font-size: 24px;
  margin-bottom: 8px;
}

.membership-plan small {
  color: #5f6782;
  line-height: 1.55;
}

.membership-duration-row {
  display: grid;
  gap: 10px;
}

.membership-quick-days {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.membership-quick-days button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f2f6ff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.membership-quick-days button.active {
  background: linear-gradient(135deg, #1f3fa8, #315ee8);
  color: #fff;
  border-color: transparent;
}

.membership-table {
  max-height: 900px;
}

.membership-record {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 14px;
}

.membership-record.active.plus {
  background: linear-gradient(180deg, #f9fbff, #eff4ff);
}

.membership-record.active.elite {
  background: linear-gradient(180deg, #fffaf0, #fff1cf);
}

.membership-record-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.membership-record-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.membership-record-user strong,
.membership-record-user span {
  display: block;
}

.membership-record-user span {
  color: var(--muted);
  margin-top: 4px;
}

.membership-record-meta {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.membership-status.active {
  background: #e8f7ef;
  border-color: #bde3ca;
  color: #10623b;
}

.membership-status.inactive {
  background: #f6f0f0;
  border-color: #e8d6d6;
  color: #8d3d3d;
}

.membership-record-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.membership-record-grid div {
  border: 1px solid rgba(219, 228, 255, 0.92);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.72);
}

.membership-record-grid span,
.membership-record-grid strong {
  display: block;
}

.membership-record-grid span {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 5px;
}

.membership-record-grid strong {
  line-height: 1.45;
}

.bot-grid {
  display: grid;
  grid-template-columns: minmax(340px, 440px) minmax(320px, 1fr);
  gap: 14px;
  margin-top: 12px;
}

.bot-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfdff, #f5f8ff);
  padding: 14px;
}

.bot-form {
  display: grid;
  gap: 12px;
}

.two-col,
.three-col {
  display: grid;
  gap: 12px;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bot-form textarea {
  resize: vertical;
  min-height: 86px;
  font-family: inherit;
}

.inline-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
}

.inline-check input {
  min-height: auto;
  width: 18px;
  height: 18px;
  margin: 0;
}

.bot-form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.bot-list {
  max-height: 520px;
}

.bot-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(circle at top right, rgba(255, 159, 45, 0.16), transparent 32%),
    linear-gradient(180deg, #ffffff, #f8fbff);
  padding: 14px;
  box-shadow: 0 12px 28px rgba(49, 94, 232, 0.08);
}

.bot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
}

.bot-signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 10px;
}

.bot-signal-stat {
  border: 1px solid #dbe4ff;
  border-radius: 16px;
  padding: 12px;
  background: rgba(243, 247, 255, 0.96);
}

.bot-signal-stat.premium {
  border-color: #ffd4a0;
  background: linear-gradient(180deg, #fff6e9, #fff0d5);
}

.bot-signal-stat span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 6px;
}

.bot-signal-stat strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #eef4ff;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
}

.pill.warm {
  background: #fff3df;
  color: #9b5b00;
  border-color: #ffd7a1;
}

.bot-inbox-panel {
  margin-top: 14px;
}

.bot-signal-panel {
  margin-top: 18px;
  background:
    radial-gradient(circle at top right, rgba(49, 94, 232, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.98));
}

.bot-like-feed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.bot-like-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
  box-shadow: 0 16px 34px rgba(24, 52, 123, 0.08);
}

.bot-like-card.power {
  border-color: #ffd3a3;
  background:
    radial-gradient(circle at top right, rgba(255, 159, 45, 0.2), transparent 34%),
    linear-gradient(180deg, #fffaf2, #fff3e1);
}

.bot-like-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.bot-like-card-head h5 {
  margin: 4px 0;
  font-size: 18px;
}

.bot-like-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.bot-like-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.bot-like-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.bot-like-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bot-like-grid div {
  border: 1px solid rgba(219, 228, 255, 0.9);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.82);
}

.bot-like-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 6px;
}

.bot-like-grid strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
  word-break: break-word;
}

.operator-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 14px;
}

.operator-sidebar,
.operator-main {
  min-width: 0;
}

.operator-main {
  display: grid;
  gap: 14px;
}

.operator-block {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  padding: 12px;
}

.operator-list {
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow: auto;
}

.operator-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.operator-item:hover {
  border-color: #b8cbff;
  box-shadow: 0 8px 18px rgba(49, 94, 232, 0.08);
  transform: translateY(-1px);
}

.operator-item.active {
  border-color: var(--accent);
  background: linear-gradient(180deg, #f5f8ff, #eef4ff);
  box-shadow: 0 10px 22px rgba(49, 94, 232, 0.12);
}

.operator-item p {
  margin: 4px 0;
  font-size: 13px;
}

.operator-item-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.operator-avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid var(--line);
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  background: #edf3ff;
}

.operator-avatar.placeholder {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.4px;
}

.operator-item-copy {
  min-width: 0;
}

.operator-item-copy p {
  margin: 2px 0;
}

.operator-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.operator-name {
  font-size: 14px;
}

.operator-subtle {
  color: var(--muted);
  font-size: 12px;
}

.operator-bio {
  color: var(--ink);
  opacity: 0.86;
  line-height: 1.45;
}

.operator-search-row {
  margin: 0 0 10px;
}

.operator-targets {
  max-height: 280px;
}

.operator-form {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  padding: 14px;
}

.operator-chat-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  padding: 14px;
}

.operator-chat-head h4 {
  margin: 2px 0 4px;
  font-size: 20px;
}

.operator-chat-messages {
  margin-top: 12px;
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow: auto;
}

.chat-bubble {
  max-width: min(86%, 560px);
  border-radius: 16px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #f7f9ff;
}

.chat-bubble.outgoing {
  margin-left: auto;
  background: linear-gradient(180deg, #315ee8, #1f3fa8);
  color: #fff;
  border-color: transparent;
}

.chat-bubble.incoming {
  margin-right: auto;
  background: #ffffff;
}

.chat-bubble-meta {
  font-size: 11px;
  opacity: 0.82;
  margin-bottom: 4px;
}

.chat-bubble-body {
  font-size: 14px;
  line-height: 1.5;
  word-break: break-word;
}

.operator-selection-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.selection-chip {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #f9fbff, #f1f5ff);
  padding: 10px 12px;
}

.selection-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}

.bot-inbox-row {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 12px;
}

.bot-inbox-row p {
  margin: 4px 0;
  font-size: 13px;
}

.muted {
  margin: 0;
  color: var(--muted);
}

.message {
  margin-top: 14px;
  min-height: 20px;
  color: var(--danger);
  font-weight: 700;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.hidden {
  display: none !important;
}

@media (max-width: 980px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .menu {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .report-grid {
    grid-template-columns: 1fr;
  }

  .bot-grid,
  .membership-grid,
  .membership-stats,
  .membership-record-grid,
  .membership-hero,
  .operator-shell,
  .operator-selection-bar,
  .profile-showcase-grid,
  .profile-glance,
  .profile-detail-grid,
  .two-col,
  .three-col {
    grid-template-columns: 1fr;
  }

  .profile-gallery-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .membership-record-head,
  .membership-record-user {
    align-items: flex-start;
    flex-direction: column;
  }

  .membership-record-meta {
    justify-items: stretch;
  }

  .report-head {
    display: none;
  }
}

/* Premium command center refresh */
:root {
  --bg-1: #070a14;
  --bg-2: #10172b;
  --bg-3: #19264a;
  --shell: rgba(12, 18, 34, 0.82);
  --surface: rgba(18, 26, 47, 0.86);
  --surface-2: rgba(27, 38, 68, 0.88);
  --card: rgba(255, 255, 255, 0.072);
  --card-strong: rgba(255, 255, 255, 0.12);
  --ink: #f8f1e8;
  --muted: #b8b0c7;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 205, 121, 0.32);
  --accent: #ff5a9d;
  --accent-2: #d4387a;
  --warm: #ffc46f;
  --danger: #ff557d;
  --success: #5ee6a8;
  --shadow-premium: 0 28px 70px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.24);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Aptos", "Segoe UI", "SF Pro Text", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% -8%, rgba(255, 90, 157, 0.28), transparent 34%),
    radial-gradient(circle at 92% 8%, rgba(255, 196, 111, 0.22), transparent 30%),
    radial-gradient(circle at 60% 100%, rgba(49, 94, 232, 0.18), transparent 38%),
    linear-gradient(135deg, var(--bg-1), var(--bg-2) 48%, var(--bg-3));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 76%);
}

.page {
  padding: 20px;
}

.shell {
  width: min(1480px, 100%);
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)),
    rgba(9, 13, 27, 0.82);
  grid-template-columns: 292px minmax(0, 1fr);
  box-shadow: var(--shadow-premium);
  backdrop-filter: blur(22px);
}

.sidebar {
  position: sticky;
  top: 20px;
  align-self: start;
  min-height: calc(100vh - 40px);
  border-right: 1px solid var(--line);
  padding: 26px 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 196, 111, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(18, 26, 47, 0.98), rgba(9, 13, 27, 0.92));
}

.brand {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.logo-mark {
  width: 54px;
  height: 50px;
  filter: drop-shadow(0 0 18px rgba(255, 90, 157, 0.32));
}

.heart-left {
  background: #ff5a9d;
}

.heart-right {
  background: #ffc46f;
}

.heart-bottom {
  background: linear-gradient(135deg, #ff5a9d, #ff8a45);
}

.bar,
.weight {
  background: #fff2bf;
}

.brand-copy h1 {
  color: #fff9f0;
  font-size: 23px;
  letter-spacing: -0.04em;
}

.brand-copy h1 span {
  color: var(--warm);
}

.brand-copy p,
.muted,
.row-card .micro,
.membership-candidate-main span,
.membership-selected-head span,
.membership-record-user span,
.operator-subtle,
.selection-label,
.profile-copy {
  color: var(--muted);
}

.menu {
  gap: 10px;
}

.menu-item {
  position: relative;
  min-height: 50px;
  border-radius: 18px;
  border: 1px solid transparent;
  padding: 0 14px 0 46px;
  color: rgba(248, 241, 232, 0.78);
  background: rgba(255, 255, 255, 0.035);
  font-weight: 850;
  letter-spacing: -0.01em;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.menu-item::before {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 23px;
  height: 23px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #15101a;
  background: linear-gradient(135deg, var(--warm), #ff8d4d);
  font-size: 12px;
  box-shadow: 0 8px 18px rgba(255, 196, 111, 0.18);
}

.menu-item[data-view="overview"]::before {
  content: "01";
}

.menu-item[data-view="audit"]::before {
  content: "02";
}

.menu-item[data-view="moderation"]::before {
  content: "03";
}

.menu-item[data-view="users"]::before {
  content: "04";
}

.menu-item[data-view="memberships"]::before {
  content: "05";
}

.menu-item[data-view="revenue"]::before {
  content: "06";
}

.menu-item[data-view="reports"]::before {
  content: "07";
}

.menu-item[data-view="bots"]::before {
  content: "08";
}

.menu-item[data-view="botMessaging"]::before {
  content: "09";
}

.menu-item[data-view="notifications"]::before {
  content: "10";
}

.menu-item:hover {
  color: #fff8ee;
  border-color: rgba(255, 196, 111, 0.18);
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(3px);
}

.menu-item.active {
  color: #17111c;
  border-color: rgba(255, 228, 174, 0.58);
  background: linear-gradient(135deg, #fff0b7, #ffc46f 52%, #ff8a45);
  box-shadow: 0 16px 34px rgba(255, 145, 69, 0.22);
}

.menu-item.active::before {
  background: rgba(23, 17, 28, 0.14);
  box-shadow: none;
}

.sidebar-actions {
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
}

.content {
  min-width: 0;
  padding: 26px;
}

.panel {
  min-width: 0;
}

.panel-header {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: -26px -26px 20px;
  padding: 24px 26px 18px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(10, 14, 28, 0.96), rgba(10, 14, 28, 0.78)),
    rgba(10, 14, 28, 0.9);
  backdrop-filter: blur(18px);
}

.panel-header::after {
  content: "Basit akış: ara, seç, aksiyon al.";
  display: inline-flex;
  margin-top: 12px;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 196, 111, 0.22);
  border-radius: 999px;
  color: var(--warm);
  background: rgba(255, 196, 111, 0.08);
  font-size: 12px;
  font-weight: 850;
}

.panel-header h2 {
  color: #fff8ef;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.panel-header p {
  max-width: 760px;
  color: rgba(248, 241, 232, 0.64);
  font-size: 15px;
  line-height: 1.55;
}

.auth-card,
.stat,
.row-card,
.report-row,
.report-inspector,
.profile-showcase,
.profile-hero,
.profile-panel,
.broadcast-history-row,
.membership-panel,
.membership-stat-card,
.membership-candidate,
.membership-selected-user,
.membership-record,
.bot-panel,
.bot-card,
.bot-like-card,
.operator-block,
.operator-form,
.operator-chat-card,
.bot-inbox-row,
.detail-row,
.glance-card,
.selection-chip,
.inspector-message {
  border-color: var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045)),
    rgba(18, 26, 47, 0.78);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.auth-card {
  width: min(660px, 100%);
  padding: 26px;
  border-radius: 28px;
}

.stats {
  margin-top: 18px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.stat {
  position: relative;
  min-height: 142px;
  border-radius: 24px;
  padding: 18px;
  overflow: hidden;
}

.stat::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -32px;
  width: 104px;
  height: 104px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 196, 111, 0.24), transparent 68%);
}

.stat span {
  color: rgba(248, 241, 232, 0.62);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat strong {
  position: relative;
  margin-top: 18px;
  color: #fff8ef;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.section-head {
  gap: 14px;
  margin: 18px 0 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
}

.section-head h3,
.section-head.compact h4,
.report-inspector h4,
.operator-chat-head h4,
.profile-panel h5 {
  color: #fff8ef;
  letter-spacing: -0.035em;
}

.section-head h3 {
  font-size: 24px;
}

label {
  color: rgba(248, 241, 232, 0.72);
  font-size: 13px;
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  border-radius: 16px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(7, 10, 20, 0.58);
  color: #fff8ef;
  font-family: inherit;
}

input::placeholder,
textarea::placeholder {
  color: rgba(248, 241, 232, 0.38);
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(255, 196, 111, 0.16);
  border-color: rgba(255, 196, 111, 0.54);
}

button {
  min-height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff5a9d, #ff8a45);
  color: #fff8ef;
  box-shadow: 0 12px 26px rgba(255, 90, 157, 0.18);
  transition: transform 150ms ease, filter 150ms ease, opacity 150ms ease, border-color 150ms ease;
}

button:hover {
  background: linear-gradient(135deg, #ff6bac, #ff9858);
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0) scale(0.99);
}

.ghost,
.membership-quick-days button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.065);
  color: #fff8ef;
  box-shadow: none;
}

.ghost:hover,
.membership-quick-days button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.danger {
  background: linear-gradient(135deg, #ff557d, #b42352);
}

.table {
  gap: 12px;
  max-height: min(72vh, 980px);
  padding: 2px 4px 6px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 196, 111, 0.38) rgba(255, 255, 255, 0.05);
}

.row-card,
.report-row,
.membership-record,
.bot-card,
.bot-inbox-row,
.broadcast-history-row {
  border-radius: 22px;
  padding: 16px;
}

.row-head,
.membership-record-head,
.bot-like-card-head {
  align-items: flex-start;
}

.row-profile,
.membership-record-user,
.membership-candidate-main,
.membership-selected-head,
.operator-item-head,
.profile-inspector-head {
  min-width: 0;
}

.row-card p,
.report-cell,
.bot-inbox-row p,
.broadcast-history-row p,
.report-inspector-body p {
  color: rgba(248, 241, 232, 0.76);
  line-height: 1.55;
}

.row-card b,
.report-cell b,
.row-card strong,
.membership-record-user strong,
.membership-selected-head strong,
.membership-candidate-main strong,
.operator-name,
.selection-chip strong,
.detail-row strong,
.glance-card strong {
  color: #fff8ef;
}

.avatar,
.membership-candidate-avatar,
.membership-selected-avatar,
.membership-record-avatar,
.operator-avatar,
.profile-inspector-avatar {
  border-color: rgba(255, 196, 111, 0.24);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
}

.avatar.placeholder,
.membership-candidate-avatar.placeholder,
.membership-selected-avatar.placeholder,
.membership-record-avatar.placeholder,
.operator-avatar.placeholder,
.profile-inspector-avatar.placeholder {
  color: var(--warm);
  background: rgba(255, 196, 111, 0.12);
}

.report-actions {
  grid-template-columns: 1fr;
  gap: 8px;
}

.report-actions button,
.bot-form-actions button,
.membership-record-meta button {
  min-height: 38px;
  font-size: 12px;
}

.report-grid {
  grid-template-columns: minmax(84px, 0.7fr) minmax(150px, 1fr) minmax(150px, 1fr) minmax(110px, 0.8fr) minmax(130px, 1fr) minmax(132px, 0.8fr) minmax(150px, 0.9fr);
  gap: 12px;
}

.report-head {
  position: sticky;
  top: 104px;
  z-index: 8;
  border-color: rgba(255, 196, 111, 0.18);
  background: rgba(255, 196, 111, 0.1);
  color: var(--warm);
}

.report-badge,
.pill,
.membership-mini-badge,
.membership-status {
  border-color: rgba(255, 196, 111, 0.22);
  background: rgba(255, 196, 111, 0.1);
  color: var(--warm);
}

.pill.warm,
.membership-mini-badge.elite,
.membership-record.elite .membership-record-kicker {
  color: #ffd896;
  background: rgba(255, 196, 111, 0.14);
}

.membership-mini-badge.plus,
.membership-record.plus .membership-record-kicker {
  color: #ff8fbd;
  background: rgba(255, 90, 157, 0.12);
}

.membership-hero {
  grid-template-columns: minmax(0, 1fr) 170px;
  border-color: rgba(255, 196, 111, 0.34);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 196, 111, 0.34), transparent 34%),
    radial-gradient(circle at left bottom, rgba(255, 90, 157, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow-soft);
}

.membership-hero-copy h3 {
  color: #fff8ef;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.06em;
}

.membership-hero-copy p:last-child,
.membership-kicker {
  color: rgba(248, 241, 232, 0.72);
}

.membership-hero-orb span {
  background: radial-gradient(circle at 30% 28%, #fff8dd, #ffc46f 44%, rgba(255, 196, 111, 0.18) 72%, transparent);
}

.membership-hero-orb strong {
  color: #1a1012;
}

.membership-stats {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.membership-stat-card {
  border-radius: 24px;
}

.membership-stat-card span,
.membership-stat-card small,
.membership-record-grid span,
.bot-like-grid span,
.detail-row span,
.glance-card span,
.membership-selected-label,
.membership-record-kicker {
  color: rgba(248, 241, 232, 0.58);
}

.membership-stat-card strong {
  color: #fff8ef;
}

.membership-grid,
.bot-grid {
  grid-template-columns: minmax(340px, 420px) minmax(0, 1fr);
  gap: 18px;
}

.membership-panel,
.bot-panel {
  border-radius: 26px;
}

.membership-plan {
  border-radius: 22px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
}

.membership-plan.active,
.membership-quick-days button.active,
.membership-candidate.active {
  border-color: rgba(255, 196, 111, 0.58);
  background: linear-gradient(135deg, rgba(255, 196, 111, 0.2), rgba(255, 90, 157, 0.1));
  box-shadow: 0 16px 34px rgba(255, 196, 111, 0.12);
}

.membership-plan small {
  color: rgba(248, 241, 232, 0.62);
}

.membership-plan-tag {
  color: #1a1012;
  background: linear-gradient(135deg, #fff1be, #ffc46f);
}

.membership-record-grid div,
.bot-signal-stat,
.bot-like-grid div {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.055);
}

.membership-status.active {
  background: rgba(94, 230, 168, 0.12);
  border-color: rgba(94, 230, 168, 0.24);
  color: var(--success);
}

.membership-status.inactive {
  background: rgba(255, 85, 125, 0.1);
  border-color: rgba(255, 85, 125, 0.2);
  color: #ff9bb4;
}

.bot-form,
.membership-form,
.broadcast-form {
  gap: 14px;
}

.bot-like-feed {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.operator-shell {
  grid-template-columns: 300px minmax(0, 1fr);
}

.operator-item {
  border-radius: 18px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.operator-item:hover,
.operator-item.active {
  border-color: rgba(255, 196, 111, 0.4);
  background: rgba(255, 196, 111, 0.08);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.operator-chat-messages,
.operator-list,
.membership-user-results {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 196, 111, 0.38) rgba(255, 255, 255, 0.05);
}

.chat-bubble {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.075);
}

.chat-bubble.outgoing {
  background: linear-gradient(135deg, #ff5a9d, #ff8a45);
}

.chat-bubble.incoming {
  background: rgba(255, 255, 255, 0.09);
}

.profile-hero,
.profile-panel {
  border-radius: 28px;
}

.profile-hero-media {
  background: linear-gradient(180deg, rgba(255, 196, 111, 0.16), rgba(255, 90, 157, 0.08));
}

.profile-hero-overlay {
  background: linear-gradient(180deg, transparent, rgba(7, 10, 20, 0.92));
}

.profile-gallery-photo,
.profile-thumb {
  border-color: rgba(255, 196, 111, 0.18);
}

.message {
  position: sticky;
  bottom: 16px;
  z-index: 30;
  align-self: flex-start;
  min-height: 0;
  margin-top: 18px;
  padding: 0;
  color: var(--warm);
}

.message:not(:empty) {
  padding: 12px 16px;
  border: 1px solid rgba(255, 196, 111, 0.24);
  border-radius: 999px;
  background: rgba(7, 10, 20, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.hidden {
  display: none !important;
}

@media (max-width: 1180px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    top: auto;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .panel-header {
    position: relative;
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .page {
    padding: 10px;
  }

  .shell {
    border-radius: 24px;
  }

  .content,
  .sidebar {
    padding: 16px;
  }

  .panel-header {
    margin: -16px -16px 16px;
    padding: 18px 16px;
  }

  .menu,
  .sidebar-actions,
  .membership-grid,
  .bot-grid,
  .operator-shell,
  .operator-selection-bar,
  .membership-hero,
  .profile-showcase-grid,
  .profile-glance,
  .profile-detail-grid,
  .two-col,
  .three-col {
    grid-template-columns: 1fr;
  }

  .section-head,
  .membership-record-head,
  .row-head,
  .bot-like-card-head {
    align-items: stretch;
    flex-direction: column;
  }

  .report-grid {
    grid-template-columns: 1fr;
  }

  .report-head {
    display: none;
  }

  .report-actions {
    grid-template-columns: 1fr 1fr;
  }

  .membership-hero-orb {
    display: none;
  }
}

.user360-panel {
  overflow: hidden;
}

.user360-stat-grid,
.user360-meta-grid,
.user360-section-grid {
  align-items: start;
}

.user360-stack {
  display: grid;
  gap: 12px;
  max-height: 480px;
  overflow: auto;
  padding-right: 4px;
}

.user360-card {
  padding: 14px;
}

.user360-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.user360-card-head p {
  margin: 2px 0;
}

.audit-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 196, 111, 0.26);
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 90, 157, 0.18), transparent 32%),
    radial-gradient(circle at 100% 0%, rgba(255, 196, 111, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.audit-hero-copy h3 {
  margin: 0;
  color: #fff8ef;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.audit-hero-copy p:last-child {
  margin: 14px 0 0;
  max-width: 760px;
  color: rgba(248, 241, 232, 0.74);
  line-height: 1.7;
}

.audit-hero-orbit {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 170px;
}

.audit-hero-orbit span {
  width: 146px;
  height: 146px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 28%, #fff6db, #ffc46f 42%, rgba(255, 196, 111, 0.12) 74%, transparent);
  box-shadow:
    0 0 0 16px rgba(255, 255, 255, 0.04),
    0 22px 42px rgba(0, 0, 0, 0.26);
}

.audit-hero-orbit strong {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #1a1012;
  font-size: 32px;
  letter-spacing: 2px;
}

.audit-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.audit-stat-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045)),
    rgba(18, 26, 47, 0.8);
  box-shadow: var(--shadow-soft);
}

.audit-stat-card span,
.audit-stat-card small {
  display: block;
}

.audit-stat-card span {
  color: rgba(248, 241, 232, 0.58);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
}

.audit-stat-card strong {
  display: block;
  margin: 16px 0 8px;
  color: #fff8ef;
  font-size: 42px;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.audit-stat-card small {
  color: rgba(248, 241, 232, 0.7);
  line-height: 1.55;
}

.audit-toolbar {
  margin: 18px 0 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 12px;
}

.audit-toolbar select {
  width: 100%;
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 12px;
  background: rgba(7, 10, 20, 0.58);
  color: #fff8ef;
  font-size: 14px;
  font-family: inherit;
}

.audit-log-list {
  margin-top: 14px;
  display: grid;
  gap: 14px;
}

.audit-log-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(18, 26, 47, 0.82);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.audit-log-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.audit-log-card.danger::before {
  background: linear-gradient(180deg, #ff557d, #ff9bb4);
}

.audit-log-card.warm::before {
  background: linear-gradient(180deg, #ffc46f, #ff8a45);
}

.audit-log-card.accent::before {
  background: linear-gradient(180deg, #7db2ff, #315ee8);
}

.audit-log-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-left: 10px;
}

.audit-log-category {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff8ef;
}

.audit-log-category.danger {
  color: #ffb2c5;
}

.audit-log-category.warm {
  color: #ffd896;
}

.audit-log-category.accent {
  color: #c5d8ff;
}

.audit-log-time {
  color: rgba(248, 241, 232, 0.56);
  font-size: 12px;
  font-weight: 800;
}

.audit-log-head,
.audit-log-meta,
.audit-detail-chips {
  margin-left: 10px;
}

.audit-log-head {
  margin-top: 12px;
}

.audit-log-head h4 {
  margin: 0;
  color: #fff8ef;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.audit-log-summary {
  margin: 8px 0 0;
  color: rgba(248, 241, 232, 0.74);
  line-height: 1.6;
}

.audit-log-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.audit-meta-block {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.audit-meta-block span {
  display: block;
  color: rgba(248, 241, 232, 0.56);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.audit-meta-block strong {
  color: #fff8ef;
  font-size: 14px;
  line-height: 1.45;
}

.audit-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.audit-detail-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(248, 241, 232, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 700;
}

.audit-detail-chip b {
  color: rgba(255, 214, 159, 0.82);
  font-weight: 900;
}

.moderation-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(125, 178, 255, 0.2);
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 90, 157, 0.16), transparent 32%),
    radial-gradient(circle at 100% 0%, rgba(125, 178, 255, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.moderation-hero-copy h3 {
  margin: 0;
  color: #fff8ef;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.moderation-hero-copy p:last-child {
  margin: 14px 0 0;
  max-width: 780px;
  color: rgba(248, 241, 232, 0.74);
  line-height: 1.7;
}

.moderation-hero-emblem {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 170px;
}

.moderation-hero-emblem span {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 28%, #f6fbff, #7db2ff 42%, rgba(125, 178, 255, 0.12) 74%, transparent);
  box-shadow:
    0 0 0 16px rgba(255, 255, 255, 0.04),
    0 22px 42px rgba(0, 0, 0, 0.26);
}

.moderation-hero-emblem strong {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #101827;
  font-size: 29px;
  letter-spacing: 1px;
}

.moderation-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.moderation-stat-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045)),
    rgba(18, 26, 47, 0.82);
  box-shadow: var(--shadow-soft);
}

.moderation-stat-card span,
.moderation-stat-card small {
  display: block;
}

.moderation-stat-card span {
  color: rgba(248, 241, 232, 0.58);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
}

.moderation-stat-card strong {
  display: block;
  margin: 16px 0 8px;
  color: #fff8ef;
  font-size: 42px;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.moderation-stat-card small {
  color: rgba(248, 241, 232, 0.7);
  line-height: 1.55;
}

.moderation-toolbar {
  margin: 18px 0 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 12px;
}

.moderation-toolbar select {
  width: 100%;
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 12px;
  background: rgba(7, 10, 20, 0.58);
  color: #fff8ef;
  font-size: 14px;
  font-family: inherit;
}

.moderation-queue-list {
  margin-top: 14px;
  display: grid;
  gap: 14px;
}

.moderation-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(18, 26, 47, 0.84);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.moderation-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.moderation-card.critical::before {
  background: linear-gradient(180deg, #ff557d, #ff9bb4);
}

.moderation-card.high::before {
  background: linear-gradient(180deg, #ffc46f, #ff8a45);
}

.moderation-card.medium::before {
  background: linear-gradient(180deg, #7db2ff, #315ee8);
}

.moderation-card.watch::before {
  background: linear-gradient(180deg, #8de0c1, #3aa777);
}

.moderation-card-top,
.moderation-card-head,
.moderation-metrics,
.moderation-factor-chips,
.moderation-match-note {
  margin-left: 10px;
}

.moderation-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.moderation-risk-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff8ef;
}

.moderation-risk-badge.critical {
  color: #ffb2c5;
}

.moderation-risk-badge.high {
  color: #ffd896;
}

.moderation-risk-badge.medium {
  color: #c5d8ff;
}

.moderation-risk-badge.watch {
  color: #baf4dc;
}

.moderation-risk-score {
  color: #fff8ef;
  font-size: 34px;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.moderation-card-head {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.moderation-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.moderation-avatar {
  width: 70px;
  height: 70px;
  border-radius: 22px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.moderation-avatar.placeholder {
  display: grid;
  place-items: center;
  color: #fff8ef;
  font-weight: 900;
}

.moderation-kicker {
  margin: 0 0 6px;
  color: rgba(248, 241, 232, 0.56);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 900;
}

.moderation-title-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.moderation-title-line h4 {
  margin: 0;
  color: #fff8ef;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.moderation-location {
  margin: 8px 0 0;
  color: rgba(248, 241, 232, 0.72);
}

.moderation-inline-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.moderation-inline-pill.active {
  color: #baf4dc;
  background: rgba(58, 167, 119, 0.16);
  border: 1px solid rgba(58, 167, 119, 0.28);
}

.moderation-inline-pill.blocked {
  color: #ffb2c5;
  background: rgba(255, 85, 125, 0.12);
  border: 1px solid rgba(255, 85, 125, 0.24);
}

.moderation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.moderation-reason {
  margin: 16px 0 0 10px;
  color: rgba(248, 241, 232, 0.82);
  font-size: 16px;
  line-height: 1.6;
}

.moderation-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.moderation-metric {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.moderation-metric span {
  display: block;
  color: rgba(248, 241, 232, 0.56);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.moderation-metric strong {
  color: #fff8ef;
  font-size: 14px;
  line-height: 1.45;
}

.moderation-factor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.moderation-factor-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(248, 241, 232, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.moderation-match-note {
  margin-top: 14px;
  color: rgba(248, 241, 232, 0.72);
  line-height: 1.6;
}

.moderation-match-note b {
  color: #ffd896;
}

.revenue-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(113, 244, 216, 0.18);
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 0%, rgba(125, 178, 255, 0.14), transparent 32%),
    radial-gradient(circle at 100% 0%, rgba(113, 244, 216, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.revenue-hero-copy h3 {
  margin: 0;
  color: #fff8ef;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.revenue-hero-copy p:last-child {
  margin: 14px 0 0;
  max-width: 780px;
  color: rgba(248, 241, 232, 0.74);
  line-height: 1.7;
}

.revenue-hero-orb {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 170px;
}

.revenue-hero-orb span {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 28%, #edfffb, #71f4d8 42%, rgba(113, 244, 216, 0.12) 74%, transparent);
  box-shadow:
    0 0 0 16px rgba(255, 255, 255, 0.04),
    0 22px 42px rgba(0, 0, 0, 0.26);
}

.revenue-hero-orb strong {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #062222;
  font-size: 30px;
  letter-spacing: 1px;
}

.revenue-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.revenue-stat-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045)),
    rgba(18, 26, 47, 0.82);
  box-shadow: var(--shadow-soft);
}

.revenue-stat-card span,
.revenue-stat-card small {
  display: block;
}

.revenue-stat-card span {
  color: rgba(248, 241, 232, 0.58);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
}

.revenue-stat-card strong {
  display: block;
  margin: 16px 0 8px;
  color: #fff8ef;
  font-size: 42px;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.revenue-stat-card small {
  color: rgba(248, 241, 232, 0.7);
  line-height: 1.55;
}

.revenue-toolbar {
  margin: 18px 0 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 12px;
}

.revenue-toolbar select {
  width: 100%;
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 12px;
  background: rgba(7, 10, 20, 0.58);
  color: #fff8ef;
  font-size: 14px;
  font-family: inherit;
}

.revenue-ops-list {
  margin-top: 14px;
  display: grid;
  gap: 14px;
}

.revenue-op-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(18, 26, 47, 0.82);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.revenue-op-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.revenue-op-card.danger::before {
  background: linear-gradient(180deg, #ff557d, #ff9bb4);
}

.revenue-op-card.warm::before {
  background: linear-gradient(180deg, #ffc46f, #ff8a45);
}

.revenue-op-card.accent::before {
  background: linear-gradient(180deg, #71f4d8, #2d8f86);
}

.revenue-op-topline,
.revenue-op-head,
.revenue-op-grid,
.revenue-detail-chips {
  margin-left: 10px;
}

.revenue-op-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.revenue-op-category {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff8ef;
}

.revenue-op-category.danger {
  color: #ffb2c5;
}

.revenue-op-category.warm {
  color: #ffd896;
}

.revenue-op-category.accent {
  color: #b6fff3;
}

.revenue-op-time {
  color: rgba(248, 241, 232, 0.56);
  font-size: 12px;
  font-weight: 800;
}

.revenue-op-head {
  margin-top: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.revenue-op-head h4 {
  margin: 0;
  color: #fff8ef;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.revenue-op-subtitle {
  margin: 8px 0 0;
  color: rgba(248, 241, 232, 0.74);
  line-height: 1.6;
}

.revenue-op-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.revenue-op-meta {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.revenue-op-meta span {
  display: block;
  color: rgba(248, 241, 232, 0.56);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.revenue-op-meta strong {
  color: #fff8ef;
  font-size: 14px;
  line-height: 1.45;
}

.revenue-op-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.revenue-op-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.revenue-op-avatar.placeholder {
  display: grid;
  place-items: center;
  color: #b6fff3;
  font-weight: 900;
}

.revenue-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.revenue-detail-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(248, 241, 232, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 700;
}

.revenue-detail-chip b {
  color: rgba(182, 255, 243, 0.84);
  font-weight: 900;
}

.report-card {
  position: relative;
  overflow: hidden;
}

.report-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff5a9d, #ff8a45);
}

.report-card-ticket::before {
  background: linear-gradient(180deg, #4ac4ff, #7de3d1);
}

.report-card-top,
.report-card-main,
.report-party-grid,
.report-main-grid,
.report-actions,
.report-detail {
  margin-left: 10px;
}

.report-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.report-card-topline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.report-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.report-type-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.report-type-pill.report {
  color: #ffd896;
  border-color: rgba(255, 196, 111, 0.24);
  background: rgba(255, 196, 111, 0.12);
}

.report-type-pill.ticket {
  color: #8fe7ff;
  border-color: rgba(74, 196, 255, 0.24);
  background: rgba(74, 196, 255, 0.12);
}

.report-status-pill.neutral {
  color: #ffd896;
  background: rgba(255, 196, 111, 0.14);
}

.report-status-pill.ticket {
  color: #8fe7ff;
  border-color: rgba(74, 196, 255, 0.24);
  background: rgba(74, 196, 255, 0.12);
}

.report-status-pill.danger {
  color: #ffb2c5;
  background: rgba(255, 85, 125, 0.12);
}

.report-card-time {
  color: rgba(248, 241, 232, 0.56);
  font-size: 12px;
  font-weight: 800;
}

.report-card-main {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.report-card-main h4 {
  margin: 0;
  color: #fff8ef;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.report-card-note {
  margin: 8px 0 0;
  color: rgba(248, 241, 232, 0.74);
  line-height: 1.6;
}

.report-card-meta {
  min-width: 180px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.report-card-meta span,
.report-detail-block span,
.report-party-label {
  display: block;
  color: rgba(248, 241, 232, 0.56);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.report-card-meta strong,
.report-detail-block strong {
  color: #fff8ef;
  font-size: 14px;
  line-height: 1.45;
}

.report-party-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.report-party-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.report-party-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.report-party-head p {
  margin: 6px 0 0;
  color: rgba(248, 241, 232, 0.68);
}

.report-party-avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(255, 196, 111, 0.24);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
}

.report-party-avatar.placeholder {
  display: grid;
  place-items: center;
  color: var(--warm);
  font-weight: 900;
}

.report-party-id {
  display: block;
  margin-top: 10px;
  color: rgba(248, 241, 232, 0.52);
  font-size: 11px;
  word-break: break-word;
}

.report-main-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.report-detail-block {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.report-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.report-detail {
  margin-top: 14px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

/* Contrast hardening for legacy light premium/report variants */
.membership-stat-card,
.membership-candidate,
.membership-candidate:hover,
.membership-candidate.active,
.membership-selected-user,
.membership-selected-user.empty,
.membership-plan,
.membership-plan:hover,
.membership-plan.active,
.membership-record,
.membership-record.active.plus,
.membership-record.active.elite,
.membership-record-grid div,
.report-head {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(20, 28, 49, 0.98), rgba(11, 16, 31, 0.94)),
    rgba(12, 18, 35, 0.96);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.membership-stat-card span,
.membership-selected-label,
.membership-record-kicker,
.membership-plan-tag,
.membership-main-grid span,
.membership-record-grid span,
.membership-candidate-main span,
.membership-selected-head span,
.report-head {
  color: rgba(236, 225, 208, 0.64);
}

.membership-stat-card strong,
.membership-plan strong,
.membership-record-grid strong,
.membership-selected-head strong,
.membership-candidate-main strong {
  color: #fff8ef;
}

.membership-plan small,
.membership-stat-card small {
  color: rgba(236, 225, 208, 0.72);
}

.membership-mini-badge.plus,
.membership-mini-badge.elite,
.muted-badge,
.membership-plan-tag,
.report-status-pill.neutral {
  color: #ffe1a5;
  border-color: rgba(255, 196, 111, 0.24);
  background: rgba(255, 196, 111, 0.12);
}

.membership-status.active {
  color: #baf4dc;
  border-color: rgba(58, 167, 119, 0.28);
  background: rgba(58, 167, 119, 0.16);
}

.membership-status.inactive {
  color: #ffb8c8;
  border-color: rgba(255, 85, 125, 0.24);
  background: rgba(255, 85, 125, 0.12);
}

.membership-candidate-avatar,
.membership-selected-avatar,
.membership-record-avatar {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.membership-candidate-avatar.placeholder,
.membership-selected-avatar.placeholder,
.membership-record-avatar.placeholder {
  color: #ffd896;
  background: rgba(255, 196, 111, 0.14);
}

body.modal-open {
  overflow: hidden;
}

.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(3, 6, 14, 0.72);
  backdrop-filter: blur(10px);
}

.profile-modal-dialog {
  width: min(1280px, calc(100vw - 32px));
  height: min(900px, calc(100vh - 32px));
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
    rgba(9, 13, 27, 0.96);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.45);
}

.profile-modal-header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(9, 13, 27, 0.98), rgba(9, 13, 27, 0.88));
  backdrop-filter: blur(18px);
}

.profile-modal-header h4 {
  margin: 0;
  color: #fff8ef;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.profile-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  max-height: calc(100vh - 110px);
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 20px;
}

.discover-profile-card {
  overflow: hidden;
}

.discover-profile-stage {
  position: relative;
  min-height: 620px;
  background:
    radial-gradient(circle at top right, rgba(255, 196, 111, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
}

.discover-photo-progress {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.discover-photo-progress-segment {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.discover-photo-progress-segment.active {
  background: linear-gradient(90deg, #fff6d9, #ffc46f);
}

.discover-floating-badges {
  position: absolute;
  top: 32px;
  right: 18px;
  z-index: 4;
  display: grid;
  gap: 8px;
  justify-items: end;
}

.discover-score-badge,
.discover-floating-pill,
.discover-meta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 14, 28, 0.68);
  backdrop-filter: blur(14px);
  color: #fff8ef;
  font-size: 12px;
  font-weight: 900;
}

.discover-score-badge {
  min-height: 58px;
  padding: 8px 14px;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.discover-score-badge span {
  color: rgba(255, 214, 159, 0.74);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.discover-score-badge strong {
  color: #fff8ef;
  font-size: 22px;
  line-height: 1;
}

.discover-floating-pill.warm {
  color: #ffd896;
}

.discover-floating-pill.danger {
  color: #ff9bb4;
}

.discover-hero-overlay {
  padding: 22px 22px 112px;
}

.discover-hero-kicker,
.discover-detail-kicker {
  margin: 0 0 10px;
  color: rgba(255, 214, 159, 0.84);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.discover-hero-name {
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.discover-hero-subtitle {
  max-width: 80%;
}

.discover-badge-row {
  margin-top: 14px;
}

.discover-fact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.discover-fact-line span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 248, 239, 0.9);
  font-size: 12px;
  font-weight: 800;
}

.discover-thumb-strip {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  display: flex;
  gap: 10px;
  align-items: center;
}

.discover-thumb {
  position: relative;
  width: 62px;
  height: 84px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.2);
}

.discover-thumb.active {
  width: 72px;
  border-color: rgba(255, 196, 111, 0.56);
}

.discover-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.discover-thumb-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 14, 28, 0.5);
  color: #fff8ef;
  font-size: 18px;
  font-weight: 900;
}

.discover-empty-strip {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(10, 14, 28, 0.62);
  color: rgba(255, 248, 239, 0.76);
  font-size: 12px;
  font-weight: 800;
}

.discover-detail-sheet {
  margin: -26px 18px 0;
  padding: 18px;
  border-radius: 26px;
  position: relative;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(17, 24, 43, 0.98), rgba(10, 14, 28, 0.94));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.discover-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.discover-detail-header h5 {
  margin: 0;
  color: #fff8ef;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.discover-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.discover-bio-card {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 248, 239, 0.82);
  line-height: 1.7;
  font-size: 14px;
}

.discover-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.discover-mini-stat {
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.discover-mini-stat span {
  display: block;
  color: rgba(255, 248, 239, 0.56);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.discover-mini-stat strong {
  color: #fff8ef;
  font-size: 15px;
  line-height: 1.35;
}

.discover-interest-wrap {
  margin-top: 14px;
}

.discover-glance-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 18px;
}

@media (max-width: 760px) {
  .user360-card-head {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-modal {
    padding: 10px;
  }

  .profile-modal-dialog {
    width: calc(100vw - 20px);
    height: calc(100vh - 20px);
    max-height: calc(100vh - 20px);
    border-radius: 22px;
  }

  .profile-modal-header,
  .profile-modal-body {
    padding: 14px;
  }

  .discover-floating-badges {
    top: 26px;
    right: 14px;
  }

  .discover-profile-stage {
    min-height: 520px;
  }

  .discover-hero-overlay {
    padding: 18px 18px 104px;
  }

  .discover-hero-subtitle {
    max-width: 100%;
  }

  .discover-thumb-strip,
  .discover-detail-header,
  .discover-detail-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .discover-mini-stats,
  .discover-glance-row,
  .audit-stats,
  .audit-log-meta,
  .audit-toolbar,
  .moderation-stats,
  .moderation-toolbar,
  .moderation-metrics {
    grid-template-columns: 1fr;
  }

  .audit-hero,
  .moderation-hero,
  .revenue-hero {
    grid-template-columns: 1fr;
  }

  .audit-hero-orbit,
  .moderation-hero-emblem,
  .revenue-hero-orb {
    display: none;
  }

  .report-card-main,
  .report-party-grid,
  .report-main-grid,
  .report-actions,
  .revenue-stats,
  .revenue-toolbar,
  .revenue-op-grid {
    grid-template-columns: 1fr;
  }

  .moderation-card-head {
    flex-direction: column;
    align-items: stretch;
  }

  .revenue-op-head {
    flex-direction: column;
    align-items: stretch;
  }

  .moderation-profile {
    align-items: flex-start;
  }
}
