@import url("/fonts.css");
:root {
  color-scheme: dark;
  --bg: #0d0c0f;
  --panel: #151317;
  --panel2: #1b171d;
  --border: #2c252e;
  --muted: #928a97;
  --text: #f3eff5;
  --red: #fb5b64;
  --red2: #bd2442;
  --green: #67d8a0;
  --radius: 16px;
  --font:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.55 var(--font);
  letter-spacing: -0.015em;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--red);
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  flex: none;
}
button {
  color: inherit;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.2;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.035em;
  font-weight: 620;
}
h3 {
  font-size: 15px;
  font-weight: 600;
}
small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.15em;
  font-weight: 650;
  color: var(--muted);
  text-transform: uppercase;
}
.flex {
  display: flex;
  align-items: center;
  gap: 10px;
}
.between {
  justify-content: space-between;
}
.wrap {
  flex-wrap: wrap;
}
.gap {
  gap: 20px;
}
.spacer {
  flex: 1;
}
.stack {
  display: grid;
  gap: 20px;
}
.btn {
  border: 1px solid #3c303c;
  background: #211a23;
  padding: 10px 16px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 560;
  transition: 0.18s;
}
.btn:hover {
  background: #30232d;
  border-color: #685061;
  transform: translateY(-1px);
}
.btn.primary {
  background: linear-gradient(130deg, #f35e62, #c3324e);
  border-color: #ff7c7750;
  box-shadow: 0 4px 20px #db355523;
}
.btn.primary:hover {
  background: linear-gradient(130deg, #ff7677, #da3956);
}
.btn.ghost {
  background: transparent;
  border-color: transparent;
  color: #aba2b0;
}
.btn.ghost:hover {
  background: #241d27;
  color: #fff;
}
.btn.danger {
  color: #ff8a97;
  background: #601c3030;
  border-color: #8a2e4755;
}
.btn.small {
  padding: 7px 11px;
  font-size: 11px;
}
.icon-btn {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: transparent;
  display: grid;
  place-items: center;
}
.icon-btn:hover {
  background: #312331;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid #42303d;
  border-radius: 6px;
  color: #baabbf;
  background: #2d1c2a;
  font-size: 10px;
  font-weight: 550;
  white-space: nowrap;
}
.pill.green {
  color: #8fe6b7;
  border-color: #335046;
  background: #16312866;
}
.pill.red {
  color: #ff929b;
  border-color: #66303e;
  background: #56202d66;
}
.pill.gray {
  color: #a89eae;
  border-color: #3a323f;
  background: #27222c;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}
.icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}
.panel {
  background: linear-gradient(130deg, #171419, #141216);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.panel-head {
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.panel-body {
  padding: 22px;
}
.panel-foot {
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
}
.boot {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
}
.boot img {
  width: 42px;
}
/* App shell */
.shell {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 238px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  background: linear-gradient(180deg, #171015, #100e12);
  z-index: 30;
}
.brand {
  padding: 27px 22px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand img {
  width: 38px;
  height: 38px;
}
.brand .name {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.04em;
}
.brand .name span {
  color: #ee6877;
}
.brand .sub {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.2em;
}
.server-switch {
  margin: 0 15px 19px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 10px;
  background: linear-gradient(110deg, #302027, #211820);
  border: 1px solid #52313e;
  border-radius: 11px;
  width: calc(100% - 30px);
  text-align: left;
}
.server-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(120deg, #7b3b48, #402332);
  font-size: 13px;
  font-weight: 600;
  flex: none;
  object-fit: cover;
}
.server-name {
  font-size: 12px;
  font-weight: 550;
  max-width: 132px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.server-label {
  font-size: 9px;
  color: #a18c9d;
}
.side-scroll {
  overflow: auto;
  flex: 1;
  padding: 0 13px 20px;
  scrollbar-width: thin;
  scrollbar-color: #3c2d3b transparent;
}
.nav-group {
  margin-top: 19px;
}
.nav-group > .eyebrow {
  padding: 0 12px;
  margin-bottom: 8px;
  font-size: 9px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #aa9eae;
  font-size: 11px;
  margin: 2px 0;
  transition: 0.15s;
  width: 100%;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
}
.nav-item .icon {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}
.nav-item:hover {
  color: #f6eff6;
  background: #281c27;
}
.nav-item.active {
  color: #ff9ca2;
  background: linear-gradient(100deg, #6b263b66, #3c1c2d66);
  border: 1px solid #8e3d5055;
}
.nav-item.active .icon {
  opacity: 1;
}
.nav-item .new {
  margin-left: auto;
  color: #f68b9b;
  font-size: 8px;
  border: 1px solid #7f334857;
  border-radius: 4px;
  padding: 0 4px;
}
.sidebar-foot {
  margin: 12px 14px 16px;
  border: 1px solid #3b2a37;
  border-radius: 10px;
  padding: 12px;
  background: #231821;
}
.sidebar-foot .icon {
  color: #ed788a;
}
.sidebar-foot p {
  font-size: 10px;
  color: #948698;
  margin-top: 5px;
}
.workspace {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 77px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 36px;
  background: #110f13e8;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(15px);
}
.breadcrumb {
  color: #776e7e;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.breadcrumb span:last-child {
  color: #d8cfdc;
}
.search {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #8f8294;
  background: #19151c;
  border: 1px solid var(--border);
  padding: 7px 10px;
  border-radius: 8px;
  width: 200px;
}
.search input {
  border: 0;
  background: none;
  width: 100%;
  color: var(--text);
  font-size: 11px;
  outline: none;
}
.search kbd {
  font-size: 9px;
  color: #786b81;
  background: #28202c;
  border-radius: 3px;
  padding: 1px 4px;
}
.user {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}
.avatar {
  height: 29px;
  width: 29px;
  object-fit: cover;
  border-radius: 50%;
  background: #6b3347;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.user-name {
  font-size: 11px;
  color: #d9cddd;
}
.main {
  padding: 32px 36px 70px;
  max-width: 1600px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 25px;
}
.page-heading .eyebrow {
  margin-bottom: 9px;
  color: #bc6d80;
}
.page-heading p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 10px;
  max-width: 650px;
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(255px, 1fr);
  gap: 20px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.preview-banner {
  background: #502b1555;
  border-bottom: 1px solid #98542d66;
  color: #efbd8c;
  text-align: center;
  padding: 5px;
  font-size: 10px;
}
.notice {
  padding: 14px 17px;
  border: 1px solid #5a333d;
  border-radius: 10px;
  background: #48233040;
  color: #caabb8;
  font-size: 12px;
  line-height: 1.7;
}
.notice .icon {
  color: var(--red);
  margin-right: 7px;
}
.notice.success {
  background: #17352a55;
  border-color: #315543;
  color: #a4cfb7;
}
.notice a {
  color: #ffa0ad;
  text-decoration: underline;
}
.notice code {
  font-size: 11px;
  padding: 2px 6px;
  background: #140e15;
  border-radius: 4px;
}
.divider {
  height: 1px;
  background: var(--border);
  margin: 22px 0;
}
.empty {
  padding: 40px 22px;
  text-align: center;
  color: var(--muted);
}
.empty .icon {
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  color: #ca758a;
}
.empty h3 {
  color: #d7c9dd;
  margin-bottom: 6px;
}
.empty p {
  font-size: 12px;
  margin-bottom: 17px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 26px 0 15px;
}
.section-title p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
/* Overview */
.hero {
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 84% 48%, #86274488, transparent 48%),
    linear-gradient(110deg, #27151f, #2f1623 70%, #22151d);
  border: 1px solid #59303f;
  padding: 30px 30px;
  min-height: 230px;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#e1909f05 1px, transparent 1px),
    linear-gradient(90deg, #e1909f05 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(90deg, transparent, #000);
  pointer-events: none;
}
.hero .eyebrow {
  color: #dc8c9f;
  font-size: 9px;
}
.hero h2 {
  font-size: 35px;
  line-height: 1.12;
  letter-spacing: -0.055em;
  margin: 14px 0 12px;
  position: relative;
  z-index: 1;
}
.hero h2 span {
  color: #ff8a93;
}
.hero p {
  font-size: 11px;
  color: #b69cab;
  max-width: 350px;
}
.hero .hero-bottom {
  margin-top: 23px;
  position: relative;
  z-index: 1;
}
.hero-mark {
  position: absolute;
  right: 7%;
  top: 22px;
  width: 155px;
  height: 155px;
  transform: rotate(-12deg);
  filter: drop-shadow(0 18px 30px #0005);
  opacity: 0.7;
}
.hero-orbit {
  position: absolute;
  border: 1px solid #ed789022;
  border-radius: 50%;
  width: 270px;
  height: 270px;
  right: 0;
  top: -20px;
}
.hero-orbit.two {
  width: 370px;
  height: 370px;
  right: -50px;
  top: -70px;
}
.status-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(ellipse at 100% 0, #40223555, transparent 70%), #171319;
}
.status-card .status-label {
  font-size: 10px;
  letter-spacing: 0.09em;
  color: var(--muted);
}
.status-card .bot-status {
  font-size: 23px;
  letter-spacing: -0.04em;
  margin-top: 10px;
}
.status-rows {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.status-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #9f92a7;
}
.status-row span:last-child {
  color: #dacee1;
}
.status-card .status-bottom {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #8f8298;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-top: 19px;
}
.stat {
  padding: 19px 20px;
}
.stat .label {
  font-size: 11px;
  color: #a79aaf;
  display: flex;
  align-items: center;
  gap: 9px;
}
.stat .label .icon {
  width: 15px;
  color: #db7b91;
}
.stat .number {
  font-size: 30px;
  letter-spacing: -0.05em;
  font-weight: 600;
  margin-top: 11px;
  line-height: 1;
}
.stat .caption {
  font-size: 10px;
  color: #72667c;
  margin-top: 11px;
}
.module-card {
  padding: 22px;
  position: relative;
}
.module-card:hover {
  border-color: #6e3b4d;
  background: linear-gradient(130deg, #251922, #19151c);
}
.module-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid #6f3c4d66;
  background: linear-gradient(120deg, #5b293d77, #341e2c);
  color: #f68b9d;
}
.module-card h3 {
  margin-top: 19px;
}
.module-card p {
  font-size: 11px;
  line-height: 1.8;
  color: #9e8fa7;
  margin: 7px 0 20px;
  max-width: 250px;
}
.module-card .arrow {
  position: absolute;
  right: 22px;
  bottom: 22px;
  color: #947181;
}
.activity-list {
  display: grid;
}
.activity-row {
  padding: 16px 20px;
  border-bottom: 1px solid #29212e;
  display: flex;
  align-items: center;
  gap: 12px;
}
.activity-row:last-child {
  border: 0;
}
.activity-icon {
  width: 31px;
  height: 31px;
  background: #2c1c2a;
  border: 1px solid #46303f;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #d77990;
}
.activity-row .title {
  font-size: 11px;
  color: #d7c9df;
  max-width: 500px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.activity-row .meta {
  font-size: 9px;
  color: #807087;
  margin-top: 3px;
}
.quick-action {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: none;
  text-align: left;
}
.quick-action:last-child {
  border-bottom: 0;
}
.quick-action > svg {
  color: #cb758c;
}
.quick-action .title {
  font-size: 11px;
}
.quick-action .meta {
  font-size: 10px;
  color: var(--muted);
}
.quick-action:hover .title {
  color: #ff929d;
}
/* Forms and settings */
.settings-form {
  padding-bottom: 15px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.field {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
}
.field.wide {
  grid-column: 1/-1;
}
.field-label {
  font-size: 12px;
  font-weight: 550;
  color: #e0d5e5;
}
.field-hint {
  font-size: 10px;
  color: #8c7d95;
  line-height: 1.7;
  font-weight: 400;
}
.field input:not([type="checkbox"]):not([type="color"]),
.field select,
.field textarea,
.select-field {
  background: #100e13;
  border: 1px solid #3b2e40;
  border-radius: 8px;
  padding: 10px 12px;
  color: #e2d7e9;
  width: 100%;
  font-size: 12px;
  min-height: 42px;
  outline: none;
  transition: 0.2s;
}
.field textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.7;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #d05974 !important;
  box-shadow: 0 0 0 3px #e4496a13;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #65596e;
}
.field select option {
  background: #19111d;
}
.color-input {
  display: flex;
  gap: 10px;
  align-items: center;
}
.color-input input[type="color"] {
  width: 42px;
  height: 42px;
  flex: none;
  padding: 4px;
  background: #19121b;
  border: 1px solid #44314c;
  border-radius: 8px;
}
.toggle-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px;
  background: #1a141e;
  border: 1px solid #332638;
  border-radius: 10px;
  grid-column: auto;
  min-height: 73px;
}
.toggle-field .field-label {
  font-size: 11px;
}
.toggle-field .field-hint {
  font-size: 10px;
  margin-top: 3px;
}
.switch {
  position: relative;
  display: inline-flex;
  width: 34px;
  height: 20px;
  flex: none;
}
.switch input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.switch span {
  width: 34px;
  height: 20px;
  background: #413347;
  border: 1px solid #5a435e;
  border-radius: 20px;
  transition: 0.2s;
}
.switch span:before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  left: 4px;
  top: 4px;
  border-radius: 50%;
  background: #a896b3;
  transition: 0.2s;
}
.switch input:checked + span {
  background: linear-gradient(120deg, #ec6470, #b73252);
  border-color: #f77d8c;
}
.switch input:checked + span:before {
  transform: translateX(14px);
  background: white;
}
.switch input:focus-visible + span {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.savebar {
  position: sticky;
  bottom: 20px;
  z-index: 15;
  margin-top: 24px;
  background: #221722ee;
  border: 1px solid #754353;
  border-radius: 12px;
  padding: 13px 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(18px);
  box-shadow: 0 15px 40px #0006;
}
.savebar .save-info {
  font-size: 11px;
  color: #c1a8bb;
}
.savebar.clean {
  border-color: #35283c;
  background: #18121cea;
}
.savebar.clean .save-info {
  color: #7f718a;
}
.multi-select {
  border: 1px solid #3b2e40;
  border-radius: 8px;
  background: #100e13;
  overflow: hidden;
}
.multi-search {
  border: 0 !important;
  border-bottom: 1px solid #302437 !important;
  border-radius: 0 !important;
  min-height: 34px !important;
  padding: 8px 11px !important;
  font-size: 11px !important;
}
.multi-options {
  max-height: 156px;
  overflow: auto;
  padding: 5px;
  scrollbar-width: thin;
  scrollbar-color: #51334f transparent;
}
.multi-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 7px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 11px;
  color: #ae9db8;
}
.multi-option:hover {
  background: #281a30;
}
.multi-option input {
  accent-color: #e9617a;
}
.multi-option:has(input:checked) {
  background: #4a213c55;
  color: #f2c8da;
}
.multi-option .sub {
  font-size: 9px;
  color: #655774;
  margin-left: auto;
}
.multi-footer {
  padding: 6px 11px;
  font-size: 9px;
  color: #776680;
  border-top: 1px solid #302437;
}
.collection {
  grid-column: 1/-1;
  border: 1px solid #38283f;
  border-radius: 12px;
  overflow: hidden;
}
.collection-head {
  padding: 15px 17px;
  background: #201625;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.collection-row {
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #2f2237;
}
.collection-row .entry-icon {
  color: #9b657e;
  background: #362036;
  width: 31px;
  height: 31px;
  border-radius: 7px;
  display: grid;
  place-items: center;
}
.collection-row .entry-title {
  font-size: 11px;
  color: #d9c6e2;
}
.collection-row .entry-sub {
  font-size: 10px;
  color: #796785;
  margin-top: 2px;
}
.collection-empty {
  padding: 22px;
  text-align: center;
  font-size: 11px;
  color: #7d6c88;
}
.fieldset {
  border: 1px solid #38283f;
  border-radius: 12px;
  padding: 20px;
  grid-column: 1/-1;
}
.fieldset-title {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.embed-preview {
  border-left: 4px solid var(--red);
  border-radius: 5px;
  background: #28242e;
  padding: 17px 20px;
  margin-top: 18px;
  max-width: 520px;
  min-height: 90px;
}
.embed-preview .embed-title {
  font-size: 15px;
  font-weight: 600;
}
.embed-preview .embed-description {
  font-size: 12px;
  white-space: pre-wrap;
  color: #c3b8cc;
  margin: 9px 0;
  overflow-wrap: anywhere;
}
.embed-preview .embed-footer {
  font-size: 10px;
  color: #998aa8;
  margin-top: 16px;
}
.embed-preview img {
  width: 100%;
  max-height: 150px;
  object-fit: cover;
  border-radius: 6px;
  margin-top: 12px;
}
.json-details {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  color: #b596bb;
  font-size: 11px;
}
.json-details summary {
  cursor: pointer;
}
.json-details textarea {
  width: 100%;
  height: 230px;
  background: #100c15;
  border: 1px solid #3c2747;
  border-radius: 7px;
  color: #c9aacc;
  font:
    11px/1.7 ui-monospace,
    monospace;
  padding: 12px;
  margin-top: 14px;
}
.module-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  border: 1px solid #553342;
  border-radius: 10px;
  background: #2d1c29;
}
.module-status .label {
  font-size: 10px;
  white-space: nowrap;
  color: #b8a2b9;
}
.preset-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.preset-address {
  font:
    11px ui-monospace,
    monospace;
  color: #a58daf;
  margin-top: 6px;
}
.preset-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 15px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.preset-info .label {
  font-size: 9px;
  color: #7d6a89;
}
.preset-info .value {
  font-size: 12px;
  color: #dac6e3;
  margin-top: 5px;
}
.tabs {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.tab {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #8f7c9e;
  padding: 10px 0 13px;
  font-size: 12px;
}
.tab.active {
  color: #ff96a4;
  border-color: #ee647c;
}
.integration-card {
  padding: 23px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.platform-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: #2e2039;
  border: 1px solid #624172;
}
.platform-icon.youtube {
  background: #4b1c2b;
  border-color: #863044;
}
.platform-icon.tiktok {
  background: #1f2f37;
  border-color: #315c67;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11px;
}
th {
  font-weight: 500;
  font-size: 10px;
  text-align: left;
  color: #8b749b;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 15px 18px;
  border-bottom: 1px solid #2c1e34;
  color: #c2a9ce;
}
tr:last-child td {
  border-bottom: 0;
}
.server-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.server-tile {
  padding: 24px;
  text-align: left;
  display: grid;
  gap: 17px;
  transition: 0.2s;
}
.server-tile:hover {
  border-color: #be5678;
  transform: translateY(-3px);
}
.server-tile .server-icon {
  width: 52px;
  height: 52px;
  font-size: 20px;
}
.setup-steps {
  counter-reset: steps;
  display: grid;
  gap: 15px;
}
.setup-step {
  display: flex;
  gap: 13px;
  font-size: 12px;
  color: #b39fc0;
}
.setup-step:before {
  counter-increment: steps;
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 7px;
  background: #4e263e;
  color: #f6a1bc;
  font-size: 10px;
}
.setup-step code {
  color: #e2b7ce;
  overflow-wrap: anywhere;
}
.code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #100d14;
  border: 1px solid #35213e;
  border-radius: 10px;
  font:
    11px/1.8 ui-monospace,
    monospace;
  padding: 17px;
  color: #c6a4cd;
}
.footer-note {
  display: flex;
  justify-content: space-between;
  color: #5b4b69;
  font-size: 9px;
  margin-top: 35px;
  gap: 15px;
}
/* Sign in */
.landing {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 24% 30%, #6c1d3540, transparent 55%),
    radial-gradient(ellipse at 90% 80%, #7d19302c, transparent 50%), #0c0b0e;
  position: relative;
  overflow: hidden;
}
.landing:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#d9a7b604 1px, transparent 1px),
    linear-gradient(90deg, #d9a7b604 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: auto;
  padding: 26px 45px;
  position: relative;
}
.landing-nav .brand {
  padding: 0;
}
.landing-nav .pill {
  border-radius: 20px;
  padding: 5px 12px;
}
.landing-content {
  max-width: 1160px;
  margin: 80px auto 60px;
  padding: 0 45px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 75px;
  position: relative;
}
.landing-content h1 {
  font-size: 65px;
  line-height: 1.04;
  letter-spacing: -0.06em;
  margin: 24px 0;
}
.gradient-text {
  background: linear-gradient(100deg, #ffaaaa, #ee526f 75%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.landing-description {
  font-size: 14px;
  color: #a895ae;
  line-height: 1.9;
  max-width: 440px;
}
.landing-features {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  font-size: 10px;
  color: #927d9f;
}
.landing-features .icon {
  color: #d16b8c;
  width: 14px;
}
.login-card {
  padding: 33px;
  background: linear-gradient(140deg, #2c1925aa, #151018dd);
  border: 1px solid #69405277;
  border-radius: 20px;
  box-shadow: 0 30px 100px #0005;
  position: relative;
}
.login-card:before {
  content: "";
  position: absolute;
  top: -1px;
  left: 15%;
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #f5a2af, transparent);
}
.login-mark {
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
}
.login-card h2 {
  font-size: 23px;
}
.login-card p {
  font-size: 12px;
  color: #9e87ac;
  line-height: 1.8;
  margin-top: 12px;
}
.login-card .btn {
  width: 100%;
  margin-top: 27px;
  padding: 13px;
}
.login-card .login-note {
  font-size: 10px;
  text-align: center;
  color: #796584;
  border-top: 1px solid #35223e;
  padding-top: 20px;
  margin-top: 24px;
}
.landing-footer {
  padding: 30px 45px;
  max-width: 1280px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  color: #5e4c6c;
  font-size: 10px;
  position: relative;
}
.product-strip {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}
.product-tag {
  font-size: 9px;
  padding: 6px 10px;
  border: 1px solid #4c2c4255;
  border-radius: 6px;
  color: #b785a3;
  background: #341c2b55;
}
/* Dialogs */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: #070509c9;
  backdrop-filter: blur(6px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal {
  background: linear-gradient(140deg, #211726, #15101a);
  border: 1px solid #64405f;
  border-radius: 17px;
  width: min(780px, 100%);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 100px #0009;
}
.modal.small-modal {
  width: min(510px, 100%);
}
.modal-head {
  padding: 23px 25px;
  border-bottom: 1px solid #3b2645;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.modal-head h2 {
  font-size: 20px;
}
.modal-head p {
  font-size: 11px;
  color: #987da8;
  margin-top: 6px;
}
.modal-body {
  padding: 25px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #624060 transparent;
}
.modal-footer {
  padding: 18px 25px;
  border-top: 1px solid #3b2645;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.modal-error {
  color: #ff9aab;
  font-size: 11px;
  white-space: pre-wrap;
  margin-right: auto;
}
.modal .form-grid {
  gap: 18px;
}
.modal .field.wide {
  grid-column: 1/-1;
}
.confirm-list {
  font-size: 12px;
  color: #c7aacd;
  white-space: pre-wrap;
  line-height: 1.9;
}
.confirm-list + .notice {
  margin-top: 20px;
}
#toast {
  position: fixed;
  bottom: 26px;
  right: 28px;
  z-index: 150;
  max-width: 430px;
  display: grid;
  gap: 8px;
}
.toast {
  border: 1px solid #6a425e;
  border-radius: 11px;
  background: #2f2035;
  box-shadow: 0 12px 50px #0006;
  padding: 14px 18px;
  color: #e9c9e0;
  font-size: 12px;
  animation: toastIn 0.2s;
}
.toast.error {
  background: #4b1e31;
  border-color: #a44663;
  color: #ffb9c7;
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mobile-menu {
  display: none;
}
.danger-zone {
  border-color: #7a3047;
  background: #3b162833;
}
.inline-error {
  font-size: 12px;
  padding: 18px;
  border: 1px solid #7a3047;
  background: #3b162833;
  border-radius: 10px;
  color: #f0acbc;
}
.skeleton {
  height: 170px;
  border-radius: 14px;
  background: linear-gradient(110deg, #211523, #2d1b2d, #211523);
  background-size: 200%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  to {
    background-position: -200%;
  }
}
@media (min-width: 1600px) {
  .main {
    padding-top: 42px;
  }
  .hero {
    min-height: 250px;
  }
  .hero h2 {
    font-size: 40px;
  }
}
@media (max-width: 1150px) {
  .shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .sidebar {
    width: 210px;
  }
  .brand {
    padding: 24px 18px;
  }
  .main {
    padding: 26px 25px 60px;
  }
  .topbar {
    padding: 0 25px;
  }
  .content-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(230px, 1fr);
  }
  .hero-mark {
    width: 110px;
    right: 5%;
    top: 47px;
    opacity: 0.5;
  }
  .hero h2 {
    font-size: 30px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 16px;
  }
  .server-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    gap: 12px;
  }
  .module-card {
    padding: 18px;
  }
  .search {
    width: 165px;
  }
  .landing-content {
    gap: 35px;
    margin-top: 60px;
  }
  .landing-content h1 {
    font-size: 53px;
  }
  .user-name {
    display: none;
  }
}
@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  .status-card {
    display: none;
  }
  .hero-mark {
    width: 160px;
    right: 8%;
    top: 25px;
    opacity: 0.6;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .module-card {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    gap: 15px;
    align-items: center;
  }
  .module-card h3 {
    margin: 0;
  }
  .module-card p {
    display: none;
  }
  .module-card .arrow {
    position: static;
  }
  .module-card > .flex {
    display: contents;
  }
  .module-card .pill {
    display: none;
  }
  .module-card .module-icon {
    grid-column: 1;
  }
  .module-card > h3 {
    grid-column: 2;
    grid-row: 1;
  }
  .module-card .arrow {
    grid-column: 3;
    grid-row: 1;
  }
  .landing-content {
    grid-template-columns: 1fr;
    max-width: 650px;
    margin-top: 35px;
  }
  .landing-content h1 {
    font-size: 55px;
  }
  .landing-features {
    margin-bottom: 20px;
  }
  .login-card {
    margin-top: 10px;
  }
  .landing-footer {
    gap: 20px;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .topbar .search {
    display: none;
  }
}
@media (max-width: 680px) {
  .shell {
    grid-template-columns: 1fr;
  }
  .workspace {
    grid-column: 1;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: 0.2s;
    width: 238px;
    box-shadow: 20px 0 60px #0008;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .mobile-menu {
    display: grid;
  }
  .topbar {
    height: 64px;
    padding: 0 18px;
    gap: 13px;
  }
  .main {
    padding: 23px 18px 50px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .topbar > .pill {
    display: none;
  }
  .page-heading {
    flex-wrap: wrap;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .hero {
    padding: 25px;
  }
  .hero h2 {
    font-size: 32px;
  }
  .hero p {
    max-width: 240px;
  }
  .hero-mark {
    width: 100px;
    right: 2%;
    top: 43px;
    opacity: 0.4;
  }
  .hero-orbit {
    right: -100px;
  }
  .hero .hero-bottom {
    gap: 9px;
  }
  .hero .hero-bottom .pill {
    font-size: 9px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .toggle-field,
  .field {
    grid-column: 1;
  }
  .panel-body {
    padding: 18px;
  }
  .panel-head {
    padding: 17px 18px;
  }
  .savebar {
    bottom: 12px;
    padding: 11px;
    gap: 8px;
  }
  .savebar .save-info {
    font-size: 10px;
  }
  .savebar .btn {
    padding: 9px 10px;
    font-size: 10px;
  }
  .server-grid {
    grid-template-columns: 1fr;
  }
  .modal-overlay {
    padding: 10px;
  }
  .modal-head,
  .modal-body,
  .modal-footer {
    padding: 19px;
  }
  .modal {
    max-height: 95vh;
  }
  .modal .form-grid {
    grid-template-columns: 1fr;
  }
  .landing-nav {
    padding: 22px;
  }
  .landing-nav > .pill {
    display: none;
  }
  .landing-content {
    padding: 0 24px;
    margin-top: 40px;
    gap: 30px;
  }
  .landing-content h1 {
    font-size: 46px;
  }
  .landing-features {
    gap: 13px;
    font-size: 9px;
  }
  .login-card {
    padding: 26px;
  }
  .landing-footer {
    padding: 25px;
    flex-wrap: wrap;
  }
  .product-strip {
    flex-wrap: wrap;
  }
  .footer-note {
    flex-wrap: wrap;
  }
  .user {
    padding-left: 5px;
    border: 0;
  }
  #toast {
    bottom: 16px;
    right: 16px;
    left: 16px;
    max-width: none;
  }
  .collection-row {
    gap: 8px;
  }
  .collection-row .entry-title {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .collection-row .btn.small {
    padding: 6px 8px;
  }
  .section-title h2 {
    font-size: 17px;
  }
}
/* Independent platform account feeds */
.platform-tabs {
  gap: 28px;
  align-items: center;
}
.platform-tabs .tab {
  display: flex;
  gap: 8px;
  align-items: center;
}
.platform-count {
  font-size: 10px;
  padding: 1px 6px;
  background: #32212a;
  border-radius: 5px;
  color: #d48c9f;
}
.accounts-panel {
  border-radius: 20px;
  background: linear-gradient(135deg, #171317, #121013);
}
.accounts-head {
  border-bottom: 0;
  padding: 28px 26px 14px;
}
.accounts-head h2 {
  font-size: 23px;
  font-weight: 550;
}
.account-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #211c21;
  border: 1px solid #342a34;
  border-radius: 12px;
  color: #ad96a5;
}
.account-search input {
  border: 0;
  background: none;
  color: #f2e8f0;
  outline: none;
  width: 100%;
  font-size: 14px;
}
.account-list {
  border-top: 1px solid #332831;
  margin-top: 24px;
  padding-top: 22px;
  display: grid;
  gap: 14px;
}
.account-row {
  display: grid;
  grid-template-columns: minmax(230px, 1.6fr) minmax(140px, 1fr) minmax(
      120px,
      0.8fr
    ) auto;
  align-items: center;
  gap: 20px;
  padding: 22px;
  background: linear-gradient(125deg, #231b22, #1c171d);
  border: 1px solid #3b2b38;
  border-radius: 15px;
  min-width: 0;
}
.account-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.account-identity > div {
  min-width: 0;
}
.account-avatar {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: linear-gradient(135deg, #693041, #351923);
  border: 1px solid #91374e;
  display: grid;
  place-items: center;
  color: #ffa0ac;
  flex: none;
}
.account-avatar.twitch {
  background: linear-gradient(135deg, #573050, #27182f);
  border-color: #754065;
  color: #e9a6e0;
}
.account-avatar.tiktok {
  background: linear-gradient(135deg, #25464c, #1c242e);
  border-color: #3b6970;
  color: #84dce0;
}
.account-identity h3 {
  font-size: 20px;
  margin-top: 4px;
  font-weight: 520;
  letter-spacing: -0.025em;
}
.account-url {
  font-size: 10px;
  color: #a4869f;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 5px;
  max-width: 280px;
}
.account-url:hover {
  color: #ff9aaf;
}
.account-channel,
.account-health {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}
.account-row .eyebrow {
  font-size: 9px;
  letter-spacing: 0.05em;
  color: #998296;
}
.channel-tag {
  padding: 4px 9px;
  border-radius: 6px;
  background: #5d263d66;
  border: 1px solid #87405277;
  color: #f4c2d0;
  font-size: 12px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.account-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 120px;
}
.account-actions .icon-btn {
  width: 35px;
  height: 35px;
  background: #35232f;
  border-color: #654053;
  color: #edb4c8;
}
.account-actions .test-icon {
  background: #5d3e1d55;
  color: #efa96e;
  border-color: #8c5b3444;
}
.account-actions .delete-icon {
  background: #5e243333;
  color: #ed7a91;
  border-color: #6c2d3e66;
}
.account-error {
  font-size: 9px;
  line-height: 1.6;
  color: #d494a6;
  max-width: 160px;
  overflow-wrap: anywhere;
}
.account-notice {
  margin-top: 18px;
}
.text-button {
  border: 0;
  background: none;
  color: #ff9cae;
  text-decoration: underline;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.accounts-panel .panel-foot a {
  color: #e58ea9;
}
.account-row[hidden],
.multi-option[hidden],
.nav-item[hidden] {
  display: none !important;
}
@media (max-width: 1200px) {
  .account-row {
    grid-template-columns: minmax(200px, 1.4fr) 1fr 1fr;
    gap: 15px;
  }
  .account-actions {
    grid-column: 1/-1;
    justify-content: flex-end;
    max-width: none;
    border-top: 1px solid #352731;
    padding-top: 14px;
  }
  .account-url {
    max-width: 220px;
  }
}
@media (max-width: 700px) {
  .accounts-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px 18px;
  }
  .accounts-head h2 {
    font-size: 20px;
  }
  .accounts-head > .flex:last-child {
    width: 100%;
  }
  .accounts-head > .flex:last-child .btn {
    flex: 1;
    padding: 9px;
  }
  .account-row {
    grid-template-columns: 1fr 1fr;
    padding: 18px;
    gap: 18px;
  }
  .account-identity {
    grid-column: 1/-1;
  }
  .account-identity h3 {
    font-size: 21px;
  }
  .account-actions {
    justify-content: flex-start;
  }
  .platform-tabs {
    gap: 18px;
    overflow-x: auto;
  }
  .platform-tabs .tab {
    white-space: nowrap;
    font-size: 11px;
  }
  .platform-tabs .tab .icon {
    width: 14px;
  }
  .account-search {
    padding: 12px;
  }
  .account-url {
    max-width: 260px;
  }
}
