body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  padding: 20px;
}

.container {
  max-width: 800px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

h1, h2 {
  text-align: center;
  color: #333;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.form input,
.form select {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.form button {
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.form button:hover {
  background-color: #0056b3;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

table th, table td {
  padding: 12px;
  border: 1px solid #ccc;
  text-align: center;
}

table th {
  background-color: #007bff;
  color: white;
}

section {
  margin: 34px 0;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.dashboard-header h1 {
  text-align: left;
  margin: 0 0 8px;
}

.dashboard-header p {
  margin: 0;
}

#watchForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

#watchForm input,
#watchForm select,
#guildId,
#channelId {
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fff;
}

#watchForm button,
.dashboard-header button,
.server-picker button,
.connect-link button {
  padding: 10px 14px;
  border: 0;
  border-radius: 5px;
  background: #5865f2;
  color: #fff;
  cursor: pointer;
}

#watchForm button:hover,
.dashboard-header button:hover,
.server-picker button:hover {
  background: #4752c4;
}

.server-picker {
  display: flex;
  gap: 10px;
}

.server-picker select {
  flex: 1;
}

#installBot,
.discord-login {
  display: inline-block;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 5px;
  background: #5865f2;
  color: #fff;
  text-decoration: none;
}

#installBot[hidden] {
  display: none;
}

.help-text,
small {
  color: #555;
}

.connect-link {
  margin: 20px 0;
  padding: 16px;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  background: #f8f9ff;
}

.connect-link input {
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
}

.notification-editor {
  margin: 10px 0;
  padding: 16px;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  background: #fafaff;
}

.notification-editor h3 {
  margin: 0 0 14px;
}

.notification-fields {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(220px, 2fr);
  align-items: center;
  gap: 10px 14px;
}

.notification-fields input,
.notification-fields select,
.notification-fields textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 9px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fff;
  font: inherit;
}

.notification-fields input[type="color"] {
  width: 72px;
  height: 38px;
  padding: 3px;
}

.embed-preview {
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  background: #313338;
  color: #dbdee1;
}

.embed-preview small {
  display: block;
  margin-top: 12px;
  color: #b5bac1;
}

.preview-ping {
  min-height: 1.2em;
  color: #c9cdfb;
  font-weight: 700;
}

.preview-card {
  max-width: 620px;
  min-height: 90px;
  padding: 12px 14px;
  border-left: 4px solid #25f4f4;
  border-radius: 4px;
  background: #2b2d31;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.preview-author,
.preview-footer {
  margin-bottom: 8px;
  color: #b5bac1;
  font-size: 0.9em;
}

.preview-title {
  display: inline-block;
  margin-bottom: 8px;
  color: #00a8fc;
  font-weight: 700;
  text-decoration: none;
}

.preview-description {
  line-height: 1.45;
}

.preview-image-note {
  display: inline-block;
  margin-top: 12px;
  color: #949ba4;
  font-size: 0.85em;
}

.watch-settings {
  text-align: left;
}

.watch-settings summary {
  cursor: pointer;
  color: #4752c4;
  font-weight: 700;
}

.settings-form {
  margin-top: 12px;
}

.settings-form > button {
  margin-top: 12px;
  padding: 10px 14px;
  border: 0;
  border-radius: 5px;
  background: #5865f2;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 640px) {
  .dashboard-header,
  .server-picker {
    align-items: stretch;
    flex-direction: column;
  }

  .container {
    padding: 20px;
  }

  .notification-fields {
    grid-template-columns: 1fr;
  }

  .table-scroll {
    overflow-x: auto;
  }
}


.notification-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.notification-actions > button {
  margin-top: 0;
  padding: 10px 14px;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}

.test-notification-button {
  background: #5965f2;
  color: #fff;
}

.test-notification-button:hover {
  background: #4752c4;
}

.settings-form .notification-actions > button {
  margin-top: 0;
}

.dashboard-container { max-width: 1120px; }
.dashboard-header { border-bottom: 1px solid #e5e7eb; padding-bottom: 18px; }
.dashboard-header form { margin: 0; }
.dashboard-header form button { padding: 10px 14px; border: 0; border-radius: 6px; background: #5865f2; color: #fff; cursor: pointer; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-heading h2 { text-align: left; margin: 0 0 6px; }
.section-heading p { margin: 0; color: #626773; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 16px; border: 0; border-radius: 7px; background: #5865f2; color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.primary-button:hover { background: #4752c4; }
.secondary-button { background: #eceef3; color: #252833; }
.secondary-button:hover { background: #dfe2e9; }
.server-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.server-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; border: 1px solid #e0e3ea; border-radius: 10px; background: #fafbff; overflow-wrap: anywhere; }
.server-card strong { font-size: 1.05rem; }
.server-card > span { color: #646b78; font-size: .9rem; }
.text-button, .danger-text-button { border: 0; padding: 0; background: transparent; color: #4752c4; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.danger-text-button { color: #c13d4b; }
.account-list { display: grid; gap: 14px; }
.account-card { padding: 18px; border: 1px solid #dfe2e9; border-radius: 12px; background: #fff; box-shadow: 0 3px 12px rgba(20, 25, 40, .05); }
.account-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.account-card-heading h3 { margin: 0 0 6px; font-size: 1.15rem; }
.account-card-heading h3 a { color: #21242c; text-decoration: none; }
.account-card-heading p { margin: 0; color: #646b78; }
.status-pill, .account-badges span { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: .83rem; font-weight: 700; }
.status-running { background: #e6f6eb; color: #22713a; }
.status-paused { background: #fff1d6; color: #875c10; }
.account-badges { display: flex; flex-wrap: wrap; gap: 7px; margin: 13px 0; }
.account-badges span { background: #eef0f6; color: #474d59; }
.account-connection { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 10px 0 14px; color: #626773; }
.account-connection form { display: inline; margin: 0; }
.connected-label { color: #22713a; font-weight: 700; }
.watch-settings { border-top: 1px solid #e5e7eb; padding-top: 13px; }
.watch-settings summary { cursor: pointer; color: #4752c4; font-weight: 700; }
.settings-form { margin-top: 16px; }
.account-form { display: flex; flex-direction: column; gap: 12px; }
.account-fields { display: flex; flex-direction: column; gap: 9px; }
.account-fields > label { margin-top: 8px; font-weight: 700; }
.account-fields input:not([type="checkbox"]):not([type="color"]), .account-fields select, .account-form select { box-sizing: border-box; width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #cfd3dc; border-radius: 6px; background: #fff; color: #252833; font: inherit; }
.tiktok-username-input { display: flex; align-items: center; border: 1px solid #cfd3dc; border-radius: 6px; overflow: hidden; }
.tiktok-username-input span { padding: 0 0 0 11px; color: #646b78; white-space: nowrap; }
.tiktok-username-input input { min-width: 0; flex: 1; border: 0 !important; outline: 0; }
.content-type-options { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 12px 0; padding: 12px 14px; border: 1px solid #dfe2e9; border-radius: 8px; }
.content-type-options legend { padding: 0 5px; font-weight: 700; }
.content-type-options label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.form-status { color: #9a5d00; font-size: .9rem; }
.form-submit-actions { border-top: 1px solid #e5e7eb; padding-top: 12px; }
.empty-state { padding: 24px; border: 1px dashed #cfd3dc; border-radius: 10px; color: #646b78; text-align: center; }
.account-dialog { width: min(920px, calc(100vw - 36px)); max-height: 90vh; padding: 22px; border: 0; border-radius: 14px; box-shadow: 0 18px 70px rgba(15, 20, 35, .3); overflow-y: auto; }
.account-dialog::backdrop { background: rgba(18, 20, 28, .62); }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.dialog-heading h2 { text-align: left; margin: 0 0 5px; }
.dialog-heading p { margin: 0; color: #646b78; }
.dialog-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #eceef3; color: #252833; font-size: 1.5rem; cursor: pointer; }
.notification-editor { margin-top: 15px; }
.notification-actions > button { font: inherit; font-weight: 700; }
.test-notification-button { background: #313744; }
.test-notification-button:hover { background: #20252f; }
#addWatchForm .form-submit-actions { justify-content: flex-end; }
@media (max-width: 640px) {
  .section-heading, .account-card-heading { align-items: stretch; flex-direction: column; }
  .account-dialog { padding: 16px; }
  .tiktok-username-input span { font-size: .82rem; }
  .account-connection { align-items: flex-start; flex-direction: column; }
}
/* FreshTok dashboard design */
.dashboard-page{--bg:#090d14;--card:#121a26;--line:rgba(150,180,210,.15);--muted:#91a0b4;--text:#edf5ff;--cyan:#26e6ef;--pink:#ff3d72;min-height:100vh;padding:0;color:var(--text);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;background:radial-gradient(ellipse at 12% 0%,rgba(17,113,145,.22),transparent 34rem),radial-gradient(ellipse at 90% 11%,rgba(187,35,91,.13),transparent 31rem),var(--bg)}
.dashboard-page *,.dashboard-page *:before,.dashboard-page *:after{box-sizing:border-box}
.dashboard-page .dashboard-container{width:min(1200px,calc(100% - 40px));max-width:none;margin:32px auto 64px;padding:clamp(20px,4vw,44px);border:1px solid var(--line);border-radius:24px;background:rgba(13,19,29,.9);box-shadow:0 28px 90px #0006,inset 0 1px #ffffff09;backdrop-filter:blur(18px)}
.dashboard-page h1,.dashboard-page h2,.dashboard-page h3{color:var(--text)}
.dashboard-page .dashboard-header{padding:4px 0 28px;margin-bottom:30px;border-bottom:1px solid var(--line)}
.dashboard-page .dashboard-header h1{display:flex;align-items:center;gap:13px;margin:0 0 8px;font-size:clamp(1.8rem,4vw,2.6rem);letter-spacing:-.055em;line-height:1.1;background:linear-gradient(100deg,#fff,#a8f8fa 54%,#ff8ba9);-webkit-background-clip:text;background-clip:text;color:transparent}
.dashboard-page .dashboard-header h1:before{content:"FT";display:grid;width:46px;height:46px;place-items:center;border:1px solid #26e6ef60;border-radius:15px;background:linear-gradient(145deg,#26e6ef30,#ff3d7222);color:var(--cyan);font-size:1rem;letter-spacing:-.06em;-webkit-text-fill-color:var(--cyan)}
.dashboard-page .dashboard-header p,.dashboard-page .section-heading p{color:var(--muted)}
.dashboard-page .dashboard-header p strong{color:#d7f7fa}.dashboard-page .dashboard-header form{margin:0}
.dashboard-page .dashboard-header form button,.dashboard-page .primary-button,.dashboard-page .secondary-button{min-height:42px;padding:10px 16px;border:1px solid transparent;border-radius:12px;font:inherit;font-weight:700;transition:transform .18s,border-color .18s,background .18s,box-shadow .18s}
.dashboard-page .dashboard-header form button,.dashboard-page .secondary-button{color:#d9e6f5;background:#192332;border-color:var(--line)}
.dashboard-page .primary-button{color:#071219;background:linear-gradient(105deg,var(--cyan),#78f1d1);box-shadow:0 7px 24px #26e6ef26}
.dashboard-page .primary-button:hover,.dashboard-page .secondary-button:hover,.dashboard-page .dashboard-header form button:hover{transform:translateY(-1px)}
.dashboard-page .primary-button:hover{box-shadow:0 10px 30px #26e6ef40}
.dashboard-page .secondary-button:hover,.dashboard-page .dashboard-header form button:hover{background:#202d3e;border-color:#ffffff30}
.dashboard-page section{margin:32px 0 40px}.dashboard-page .section-heading{margin-bottom:17px}
.dashboard-page .section-heading h2{margin:0 0 6px;font-size:1.34rem;letter-spacing:-.025em}.dashboard-page .section-heading p{margin:0}
.dashboard-page .server-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:13px}
.dashboard-page .server-card{display:grid;grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto auto auto;align-items:center;gap:5px 12px;min-height:130px;padding:16px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(145deg,#182332,#0f1722);overflow-wrap:anywhere;transition:transform .18s,border-color .18s,box-shadow .18s}
.dashboard-page .server-card:hover{transform:translateY(-2px);border-color:#26e6ef55;box-shadow:0 12px 32px #0003}
.dashboard-page .server-card:before{content:"FT";grid-column:1;grid-row:1/span 2;display:grid;width:46px;height:46px;place-items:center;border-radius:15px;color:var(--cyan);background:linear-gradient(145deg,#26e6ef2b,#5076ff24);font-weight:800}
.dashboard-page .server-card strong{grid-column:2;align-self:end;font-size:1rem;line-height:1.25}
.dashboard-page .server-card>span{grid-column:2;align-self:start;color:var(--muted);font-size:.82rem}
.dashboard-page .server-card .text-button{grid-column:1/-1;justify-self:stretch;margin-top:8px;padding:9px 11px;border:1px solid #26e6ef33;border-radius:10px;color:#9df4f2;background:#26e6ef12;text-align:center}
.dashboard-page .server-card .text-button:hover{background:#26e6ef24}
.dashboard-page .account-list{gap:16px}
.dashboard-page .account-card{position:relative;padding:clamp(17px,3vw,25px);border:1px solid var(--line);border-radius:19px;background:linear-gradient(145deg,#151f2dfc,#0f1621fc);box-shadow:0 12px 35px #0003;overflow:hidden}
.dashboard-page .account-card:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:linear-gradient(var(--cyan),var(--pink))}
.dashboard-page .account-card-heading{align-items:center}
.dashboard-page .account-card-heading h3{margin-bottom:7px;font-size:1.2rem}
.dashboard-page .account-card-heading h3 a{color:#f1f8ff}.dashboard-page .account-card-heading h3 a:hover{color:var(--cyan)}
.dashboard-page .account-card-heading p,.dashboard-page .account-connection{color:var(--muted)}
.dashboard-page .status-pill,.dashboard-page .account-badges span{padding:6px 10px;border:1px solid transparent;border-radius:999px;font-size:.78rem}
.dashboard-page .status-running{color:#8bf0bf;background:#1bb17122;border-color:#1bb17133}
.dashboard-page .status-paused{color:#ffd583;background:#d4941e22;border-color:#d4941e33}
.dashboard-page .account-badges{margin:14px 0}
.dashboard-page .account-badges span{color:#c5d3e4;background:#7d96b51a;border-color:var(--line)}
.dashboard-page .connected-label{color:#8bf0bf}.dashboard-page .text-button{color:#73e7eb}.dashboard-page .danger-text-button{color:#ff8b9e}
.dashboard-page .watch-settings{border-top-color:var(--line)}.dashboard-page .watch-settings summary{display:flex;align-items:center;gap:8px;color:#8feef0}
.dashboard-page .settings-form{padding-top:4px}.dashboard-page .account-fields{gap:8px}
.dashboard-page .account-fields>label,.dashboard-page .content-type-options legend{color:#d8e4f2;font-size:.92rem}
.dashboard-page .account-fields input:not([type=checkbox]):not([type=color]),.dashboard-page .account-fields select,.dashboard-page .account-form select,.dashboard-page .notification-fields input,.dashboard-page .notification-fields select,.dashboard-page .notification-fields textarea,.dashboard-page .tiktok-username-input{border:1px solid #97b1cd33;border-radius:11px;color:var(--text);background:#0d141e;font:inherit;transition:border-color .15s,box-shadow .15s}
.dashboard-page .account-fields input:not([type=checkbox]):not([type=color]),.dashboard-page .account-fields select,.dashboard-page .account-form select{min-height:45px;padding:10px 12px}
.dashboard-page .notification-fields input,.dashboard-page .notification-fields select,.dashboard-page .notification-fields textarea{width:100%;padding:11px 12px}
.dashboard-page .account-fields input::placeholder,.dashboard-page .notification-fields input::placeholder,.dashboard-page .notification-fields textarea::placeholder{color:#718198}
.dashboard-page .account-fields select option,.dashboard-page .notification-fields select option{color:var(--text);background:#111823}
.dashboard-page .account-fields input:focus,.dashboard-page .account-fields select:focus,.dashboard-page .notification-fields input:focus,.dashboard-page .notification-fields textarea:focus{outline:0;border-color:#26e6efb8;box-shadow:0 0 0 3px #26e6ef20}
.dashboard-page .tiktok-username-input{min-height:45px}.dashboard-page .tiktok-username-input span{color:var(--muted)}.dashboard-page .tiktok-username-input input{background:transparent}
.dashboard-page .content-type-options{padding:14px 16px;border-color:var(--line);border-radius:13px;background:#7d96b50b}
.dashboard-page .content-type-options label{color:#cedbeb}.dashboard-page input[type=checkbox]{accent-color:var(--cyan);width:16px;height:16px}
.dashboard-page .form-status{color:#ffd583}
.dashboard-page .notification-editor{margin:16px 0 10px;padding:clamp(14px,2.2vw,21px);border:1px solid var(--line);border-radius:15px;background:#080d148c}
.dashboard-page .notification-editor h3{color:#eaf5fc;font-size:1rem}
.dashboard-page .notification-fields{grid-template-columns:minmax(130px,.7fr) minmax(220px,2fr);gap:11px 16px}
.dashboard-page .notification-fields label{color:#b8c8dc;font-size:.9rem}
.dashboard-page .notification-fields input[type=color]{width:70px;height:42px;padding:4px;cursor:pointer}
.dashboard-page .help-text{color:var(--muted);line-height:1.6}.dashboard-page .help-text code{color:#9df4f2}
.dashboard-page .embed-preview{padding:15px;border:1px solid #97b1cd20;border-radius:13px;background:#0a1018}
.dashboard-page .preview-ping{color:#b9c7ff}
.dashboard-page .preview-card{min-height:100px;padding:15px 16px;border:1px solid #97b1cd1a;border-left:4px solid var(--cyan);border-radius:8px;background:#121923}
.dashboard-page .preview-author,.dashboard-page .preview-footer{color:#9eacc0}
.dashboard-page .preview-title{color:#70c7ff}.dashboard-page .preview-description{color:#e0e7ef;line-height:1.55}
.dashboard-page .embed-preview small{color:#7f8da1}
.dashboard-page .test-notification-button{padding:10px 14px;border:1px solid #26e6ef33;border-radius:10px;color:#a9f3f2;background:#26e6ef14}
.dashboard-page .test-notification-button:hover{background:#26e6ef26}
.dashboard-page .form-submit-actions{border-color:var(--line)}
.dashboard-page .empty-state{border-color:#97b1cd3d;color:var(--muted);background:#7d96b50b}
.dashboard-page .connect-link,.dashboard-page .error,.dashboard-page .success{padding:16px 18px;border-radius:13px}
.dashboard-page .connect-link{color:#dceafd;border:1px solid #26e6ef33;background:#26e6ef10}
.dashboard-page .connect-link input{margin-top:8px;border:1px solid var(--line);border-radius:9px;color:var(--text);background:#0d141e}
.dashboard-page .error{color:#ffc2cc;border:1px solid #ff3d724d;background:#ff3d7217}
.dashboard-page .success{color:#adf5cf;border:1px solid #35cd8540;background:#35cd8514}
.dashboard-page .account-dialog{color:var(--text);border:1px solid #97b1cd33;border-radius:20px;background:#111823;box-shadow:0 30px 100px #000a}
.dashboard-page .account-dialog::backdrop{background:#03070ccc;backdrop-filter:blur(6px)}
.dashboard-page .dialog-heading{padding-bottom:14px;border-bottom:1px solid var(--line)}
.dashboard-page .dialog-heading h2{color:#f1f8ff}.dashboard-page .dialog-heading p{color:var(--muted)}
.dashboard-page .dialog-close{color:#cfdeef;border:1px solid var(--line);background:#1b2635}
.dashboard-page .form-submit-actions{justify-content:flex-end}
.dashboard-page :focus-visible{outline:2px solid var(--cyan);outline-offset:3px}
@media(max-width:720px){.dashboard-page .dashboard-container{width:calc(100% - 20px);margin:10px auto 24px;padding:20px 16px;border-radius:17px}.dashboard-page .dashboard-header,.dashboard-page .section-heading{align-items:flex-start;flex-direction:column}.dashboard-page .notification-fields{grid-template-columns:1fr;gap:7px}.dashboard-page .notification-fields label:not(:first-child){margin-top:6px}.dashboard-page .account-card-heading{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.dashboard-page *,.dashboard-page *:before,.dashboard-page *:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}
/* Public product site */
.site-page{--site-bg:#080c13;--site-panel:#111925;--site-line:rgba(154,181,210,.14);--site-muted:#98a6b9;--site-text:#f2f6fc;--site-cyan:#29e4ec;--site-pink:#ff4775;margin:0;padding:0;min-height:100vh;color:var(--site-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;background:radial-gradient(ellipse at 50% -20%,rgba(19,93,127,.27),transparent 48rem),var(--site-bg)}
.site-page *,.site-page *:before,.site-page *:after{box-sizing:border-box}
.site-page a{color:inherit}
.site-shell{width:min(1240px,calc(100% - 48px));margin:auto}
.site-nav{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;min-height:82px;border-bottom:1px solid var(--site-line);background:rgba(8,12,19,.88);backdrop-filter:blur(18px)}
.site-brand,.footer-brand{display:inline-flex;align-items:center;gap:11px;width:max-content;text-decoration:none;font-weight:800;letter-spacing:-.035em}
.site-brand img{width:42px;height:42px;border:1px solid #29e4ec55;border-radius:14px;object-fit:cover;box-shadow:0 0 24px #29e4ec18}
.site-brand span{font-size:1.12rem}.site-brand b{color:var(--site-cyan)}
.site-navigation{display:flex;align-items:center;gap:27px}
.site-navigation a{position:relative;padding:9px 0;color:#b4c0d0;font-size:.91rem;text-decoration:none;transition:color .16s}
.site-navigation a:hover,.site-navigation a[aria-current=page]{color:#fff}
.site-navigation a[aria-current=page]:after{content:"";position:absolute;right:0;bottom:0;left:0;height:2px;border-radius:2px;background:linear-gradient(90deg,var(--site-cyan),var(--site-pink))}
.site-nav-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.site-nav-actions form{margin:0}
.nav-login,.nav-dashboard-link,.nav-logout{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 16px;border:1px solid var(--site-line);border-radius:12px;color:#ecf5fb;background:#151f2c;font:inherit;font-size:.9rem;font-weight:700;text-decoration:none;cursor:pointer}
.nav-login{color:#071519;border-color:transparent;background:linear-gradient(105deg,var(--site-cyan),#8cf2d4);box-shadow:0 7px 22px #29e4ec20}
.nav-login:hover,.nav-dashboard-link:hover,.nav-logout:hover{transform:translateY(-1px);filter:brightness(1.08)}
.mobile-menu-button{display:none}
.landing-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(370px,.95fr);align-items:center;gap:5vw;min-height:600px;padding:68px 3.5% 60px}
.hero-copy{position:relative;z-index:2}
.eyebrow{display:inline-flex;align-items:center;gap:9px;color:#84e9ed;font-size:.73rem;font-weight:800;letter-spacing:.16em}
.pulse-dot,.live-indicator{width:8px;height:8px;border-radius:50%;background:#27e5a2;box-shadow:0 0 13px #27e5a2}
.hero-copy h1{max-width:710px;margin:24px 0 18px;color:#f4f8fd;font-size:clamp(3.1rem,6.3vw,5.7rem);font-weight:800;letter-spacing:-.075em;line-height:.99}
.hero-copy h1 em{color:transparent;font-style:normal;background:linear-gradient(100deg,var(--site-cyan),#91eada 48%,#ff7e9b);-webkit-background-clip:text;background-clip:text}
.hero-lead{max-width:610px;margin:0;color:#aebccc;font-size:1.1rem;line-height:1.75}
.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-top:30px}
.hero-cta,.hero-secondary{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:52px;padding:0 20px;border-radius:14px;font-weight:800;text-decoration:none;transition:transform .18s,box-shadow .18s,background .18s}
.hero-cta{color:#071519!important;background:linear-gradient(105deg,var(--site-cyan),#8cf2d4);box-shadow:0 10px 30px #29e4ec24}
.hero-cta:hover{transform:translateY(-2px);box-shadow:0 15px 34px #29e4ec38}
.hero-secondary{color:#d4deea;border:1px solid var(--site-line);background:#ffffff06}
.hero-secondary:hover{background:#ffffff0d}
.hero-points{display:flex;flex-wrap:wrap;gap:11px 22px;margin-top:25px;color:#91a1b4;font-size:.82rem}
.hero-points span:first-child{color:#a9e9d5}
.hero-visual{position:relative;display:grid;min-height:435px;place-items:center;isolation:isolate}
.visual-glow{position:absolute;inset:10% 4%;z-index:-2;border-radius:50%;background:radial-gradient(ellipse,#19a6bf30 0%,#52204d1b 42%,transparent 70%);filter:blur(12px)}
.bot-banner-art{position:absolute;inset:8% 0 auto;width:100%;height:190px;object-fit:cover;border-radius:24px;opacity:.25;mask-image:linear-gradient(#000 35%,transparent 100%)}
.hero-bot-card{position:relative;width:min(100%,470px);margin-top:32px;padding:18px;border:1px solid #c4d7ec1c;border-radius:22px;background:linear-gradient(145deg,rgba(24,34,49,.96),rgba(12,18,27,.97));box-shadow:0 32px 90px #0008,0 0 60px #19c9d414;transform:rotate(1.4deg)}
.bot-card-top{display:flex;align-items:center;gap:9px;padding:1px 3px 15px;color:#93a2b5;font-size:.68rem;font-weight:800;letter-spacing:.14em}
.online-dot{margin-left:auto;padding:5px 8px;border:1px solid #2ccf8b35;border-radius:20px;color:#8bf0c2;background:#2ccf8b16;font-size:.62rem;letter-spacing:.08em}
.bot-profile{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #ffffff0c;border-radius:15px;background:#ffffff06}
.bot-profile img{width:48px;height:48px;border:2px solid #31dfe7;border-radius:16px;object-fit:cover}
.bot-profile div{display:grid;gap:4px}.bot-profile strong{font-size:.92rem}.bot-profile div span{color:#8d9cb0;font-size:.78rem}
.verified-mark{display:grid;width:19px;height:19px;place-items:center;margin-left:auto;border-radius:50%;color:#061519;background:var(--site-cyan);font-size:.76rem;font-weight:900}
.sample-ping{margin:17px 0 8px;color:#a6b7ff;font-size:.84rem;font-weight:800}.sample-ping span{margin-left:7px;color:#dbe4ed;font-weight:500}
.sample-embed{padding:15px;border-left:4px solid var(--site-cyan);border-radius:5px 13px 13px 5px;background:#0b111a}
.sample-author{display:flex;align-items:center;gap:8px;color:#b7c4d2;font-size:.78rem}
.mini-tiktok{display:grid;width:22px;height:22px;place-items:center;border-radius:50%;color:#07131a;background:linear-gradient(135deg,var(--site-cyan),#ff5585);font-weight:900}
.sample-embed h3{margin:12px 0 7px;font-size:1rem}.sample-embed p{margin:0;color:#b0bdcb;font-size:.84rem;line-height:1.55}
.sample-video{display:flex;align-items:center;gap:10px;height:88px;margin:13px 0;border:1px solid #ffffff10;border-radius:10px;padding:0 16px;color:#c5d0dc;background:radial-gradient(ellipse at 60% 40%,#24c7cf22,transparent 58%),linear-gradient(130deg,#182739,#101722);font-size:.82rem}
.play-icon{display:grid;width:30px;height:30px;place-items:center;border-radius:50%;color:#061519;background:var(--site-cyan);font-size:.7rem}
.sample-embed>a{color:#69dce4;font-size:.79rem;font-weight:700;text-decoration:none}
.floating-chip{position:absolute;display:flex;align-items:center;gap:9px;padding:11px 14px;border:1px solid #ffffff16;border-radius:14px;color:#d4e0eb;background:rgba(20,29,42,.92);box-shadow:0 12px 30px #0005;font-size:.78rem;font-weight:700}
.floating-chip span{color:var(--site-cyan)}.chip-one{top:9%;right:-2%;transform:rotate(4deg)}.chip-two{bottom:8%;left:0;transform:rotate(-4deg)}
.proof-strip{display:flex;align-items:center;justify-content:space-around;gap:20px;padding:24px 10px;border-top:1px solid var(--site-line);border-bottom:1px solid var(--site-line);background:linear-gradient(90deg,transparent,#ffffff04,transparent)}
.proof-strip div{display:flex;align-items:center;gap:13px}.proof-strip strong{color:var(--site-cyan);font-size:.78rem;letter-spacing:.12em}.proof-strip span{color:#c4d0dd;font-size:.9rem}.proof-strip i{width:1px;height:28px;background:var(--site-line)}
.feature-section,.how-section{padding:110px 3.5% 40px}
.section-intro{max-width:690px;margin:0 auto 34px;text-align:center}.section-intro h2{margin:14px 0 10px;font-size:clamp(2rem,4vw,3.2rem);letter-spacing:-.06em}.section-intro p{color:var(--site-muted);line-height:1.6}
.feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.feature-card{position:relative;min-height:250px;padding:22px;border:1px solid var(--site-line);border-radius:18px;background:linear-gradient(145deg,#141e2b,#0c131c);overflow:hidden}
.feature-card:after{content:"";position:absolute;right:-45px;bottom:-70px;width:160px;height:160px;border-radius:50%;background:var(--feature-glow);filter:blur(50px);opacity:.23}
.feature-cyan{--feature-glow:#29e4ec}.feature-pink{--feature-glow:#ff4775}.feature-violet{--feature-glow:#8e7aff}.feature-gold{--feature-glow:#ffc667}
.feature-icon{display:grid;width:42px;height:42px;place-items:center;border:1px solid var(--site-line);border-radius:13px;color:var(--site-cyan);background:#ffffff08;font-size:1.2rem}
.feature-pink .feature-icon{color:#ff7897}.feature-violet .feature-icon{color:#afa3ff}.feature-gold .feature-icon{color:#ffd28b}
.feature-card h3{position:relative;z-index:1;margin:24px 0 9px;font-size:1.06rem}.feature-card p{position:relative;z-index:1;margin:0;color:#9eacbd;font-size:.87rem;line-height:1.7}.feature-index{position:absolute;bottom:18px;left:22px;color:#66778d;font-size:.64rem;font-weight:800;letter-spacing:.14em}
.how-section{padding-top:90px}.how-section .section-intro{margin-bottom:46px}
.steps-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.steps-grid article{position:relative;padding:0 21px 10px;border-left:1px solid var(--site-line)}
.steps-grid article:first-child{border-left-color:var(--site-cyan)}
.steps-grid article>span{color:var(--site-cyan);font-size:.78rem;font-weight:800;letter-spacing:.12em}
.steps-grid h3{margin:15px 0 8px;font-size:1rem}.steps-grid p{max-width:230px;margin:0;color:var(--site-muted);font-size:.85rem;line-height:1.65}
.landing-cta{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:70px 3.5% 20px;padding:34px 38px;border:1px solid #29e4ec38;border-radius:22px;background:radial-gradient(ellipse at 10% 0%,#29e4ec1c,transparent 48%),linear-gradient(115deg,#131e2b,#111722)}
.landing-cta h2{margin:10px 0 6px;font-size:clamp(1.65rem,3vw,2.3rem);letter-spacing:-.05em}.landing-cta p{margin:0;color:var(--site-muted)}
.service-note{margin:0 4% 55px;color:#748398;font-size:.78rem;text-align:center}
.site-footer{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px 28px;padding:28px 3.5% 32px;border-top:1px solid var(--site-line);color:var(--site-muted)}
.footer-brand{grid-column:1;color:#dce6f0;text-decoration:none}.footer-brand img{width:29px;height:29px;border-radius:9px;object-fit:cover}.site-footer>p{grid-column:1;margin:0;font-size:.82rem}.site-footer nav{grid-column:2;grid-row:1/3;display:flex;gap:20px}.site-footer nav a{color:#aab8c8;font-size:.82rem;text-decoration:none}.site-footer nav a:hover{color:#fff}.site-footer>small{grid-column:1/3;color:#718095;font-size:.72rem}
.legal-page{max-width:850px;min-height:65vh;margin:0 auto;padding:64px 20px 90px}
.back-link{display:inline-block;margin-bottom:28px;color:#8ca0b7;font-size:.86rem;text-decoration:none}.back-link:hover{color:var(--site-cyan)}
.legal-page h1{margin:12px 0;font-size:clamp(2.4rem,6vw,4.2rem);letter-spacing:-.07em}.legal-updated{margin:0 0 28px;color:#7f8ea2;font-size:.82rem}
.legal-lead{padding:19px 21px;border:1px solid #29e4ec27;border-radius:14px;color:#c9d6e3;background:#29e4ec0b;font-size:1.03rem;line-height:1.75}
.legal-page section{margin:28px 0}.legal-page h2{margin:0 0 10px;font-size:1.17rem}.legal-page p,.legal-page li{color:#aab8c8;font-size:.94rem;line-height:1.8}.legal-page ul{padding-left:22px}.legal-page strong{color:#e4edf6}
.auth-panel{max-width:560px;margin:70px auto;padding:clamp(24px,5vw,42px);border:1px solid var(--site-line);border-radius:22px;background:linear-gradient(145deg,#141e2b,#0d141e);box-shadow:0 24px 70px #0006}
.auth-panel h1{margin:0 0 12px;font-size:2rem;letter-spacing:-.05em}.auth-panel>p{color:#aab8c8;line-height:1.7}.auth-panel .discord-login{margin:8px 0 13px}
.auth-panel .error{padding:13px 15px;border:1px solid #ff47754a;border-radius:11px;color:#ffc0cf;background:#ff477514}
@media(max-width:1000px){.landing-hero{grid-template-columns:1fr  .85fr;gap:25px;padding-right:0;padding-left:0}.feature-grid{grid-template-columns:repeat(2,1fr)}.hero-copy h1{font-size:clamp(3rem,6.4vw,4.5rem)}.site-navigation{gap:17px}}
@media(max-width:760px){.site-shell{width:calc(100% - 28px)}.site-nav{grid-template-columns:1fr auto auto;gap:10px;min-height:70px}.site-brand img{width:37px;height:37px}.mobile-menu-button{display:grid;width:40px;height:40px;place-items:center;border:1px solid var(--site-line);border-radius:11px;color:#e7f0f8;background:#151f2c;font-size:1.1rem}.site-navigation{position:absolute;top:calc(100% + 8px);right:0;left:0;display:none;align-items:stretch;gap:0;padding:9px;border:1px solid var(--site-line);border-radius:14px;background:#111925;box-shadow:0 18px 40px #0008}.site-navigation.is-open{display:grid}.site-navigation a{padding:12px;border-radius:8px}.site-navigation a[aria-current=page]:after{display:none}.site-nav-actions{gap:0}.nav-login,.nav-dashboard-link,.nav-logout{min-height:38px;padding:0 11px;font-size:.78rem}.site-nav-actions form{display:none}.landing-hero{grid-template-columns:1fr;gap:15px;min-height:auto;padding:64px 4% 50px}.hero-copy h1{max-width:620px;font-size:clamp(2.9rem,12vw,4.5rem)}.hero-lead{font-size:1rem}.hero-visual{min-height:390px;margin:0 -5px}.hero-bot-card{width:min(100%,480px)}.chip-one{right:0}.chip-two{left:0}.proof-strip{flex-wrap:wrap;justify-content:flex-start;padding:18px 8px}.proof-strip i{display:none}.proof-strip div{width:45%}.feature-section,.how-section{padding:78px 2% 20px}.feature-grid{grid-template-columns:1fr 1fr}.feature-card{min-height:245px;padding:18px}.feature-card h3{margin-top:19px}.feature-index{left:18px}.steps-grid{grid-template-columns:1fr 1fr;gap:25px 0}.landing-cta{align-items:flex-start;flex-direction:column;margin:55px 0 18px;padding:26px 23px}.site-footer{grid-template-columns:1fr;gap:12px;padding:25px 2%}.site-footer nav,.site-footer>p,.site-footer>small,.footer-brand{grid-column:1;grid-row:auto}.site-footer nav{flex-wrap:wrap;gap:12px 20px}.legal-page{padding:45px 6px 65px}}
@media(max-width:460px){.site-shell{width:calc(100% - 20px)}.site-brand span{font-size:.98rem}.nav-login{padding:0 9px;font-size:.72rem}.hero-points{flex-direction:column}.hero-visual{min-height:355px}.hero-bot-card{padding:12px}.sample-embed{padding:12px}.feature-grid{grid-template-columns:1fr}.feature-card{min-height:210px}.steps-grid{grid-template-columns:1fr}.steps-grid article{padding:0 17px 6px}.proof-strip div{width:100%}.landing-cta .hero-cta{width:100%}}

/* Discord-backed dashboard shell */
.dashboard-page{--site-bg:#080c13;--site-panel:#111925;--site-line:rgba(154,181,210,.14);--site-muted:#98a6b9;--site-text:#f2f6fc;--site-cyan:#29e4ec;--site-pink:#ff4775;margin:0;color:var(--site-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;background:radial-gradient(ellipse at 50% -20%,rgba(19,93,127,.2),transparent 48rem),var(--site-bg)}
.dashboard-page .site-shell{width:min(1280px,calc(100% - 48px));margin:auto}
.dashboard-page .dashboard-container{margin-top:30px}
.dashboard-page .dashboard-header h1{display:block;margin:5px 0 8px;color:#f4f8fd;background:none;-webkit-text-fill-color:initial;font-size:clamp(2rem,4vw,2.8rem)}
.dashboard-page .dashboard-header h1:before{display:none;content:none}
.dashboard-page .dashboard-welcome{display:flex;align-items:center;gap:18px}
.dashboard-page .dashboard-bot-avatar{width:68px;height:68px;flex:0 0 auto;border:2px solid #29e4ec77;border-radius:21px;object-fit:cover;box-shadow:0 0 28px #29e4ec22}
.dashboard-page .dashboard-eyebrow{color:#84e9ed;font-size:.7rem;font-weight:800;letter-spacing:.15em}
.dashboard-page .dashboard-user-tag{margin-left:5px;color:var(--muted);font-size:.9rem}
.dashboard-page .server-card{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto}
.dashboard-page .server-card:before{display:none;content:none}
.dashboard-page .server-card-identity{display:flex;grid-column:1/-1;align-items:center;gap:12px;min-width:0}
.dashboard-page .server-card-icon,.dashboard-page .server-card-fallback{display:grid;width:48px;height:48px;flex:0 0 auto;place-items:center;border:1px solid #29e4ec30;border-radius:15px;object-fit:cover;color:var(--site-cyan);background:linear-gradient(145deg,#29e4ec22,#5076ff24);font-weight:800}
.dashboard-page .server-card-details{display:grid;gap:5px;min-width:0}
.dashboard-page .server-card strong{grid-column:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dashboard-page .server-card-status{color:#ffd493!important;font-size:.79rem!important}
.dashboard-page .server-card-status.is-installed{color:#8bf0c2!important}
.dashboard-page .server-card .text-button{grid-column:1/-1}
.dashboard-page .site-footer{margin-top:30px}
.auth-page{display:grid;min-height:62vh;place-items:center;padding:44px 18px}
.auth-panel{width:100%}
.auth-brand-mark{display:grid;width:64px;height:64px;place-items:center;margin-bottom:21px;border:1px solid #29e4ec45;border-radius:20px;background:#29e4ec10;box-shadow:0 0 32px #29e4ec16}
.auth-brand-mark img{width:48px;height:48px;border-radius:14px;object-fit:cover}
.auth-panel .eyebrow{margin-bottom:14px}
.auth-panel .auth-note{margin-top:18px;color:#8494a9;font-size:.82rem}
.auth-back-link{display:inline-block;margin-top:12px;color:#8ba1b7;font-size:.84rem;text-decoration:none}
.auth-back-link:hover{color:var(--site-cyan)}
.auth-panel .hero-cta{margin-top:15px}
@media(max-width:760px){.dashboard-page .site-shell{width:calc(100% - 28px)}.dashboard-page .site-nav{grid-template-columns:minmax(0,1fr) auto auto}.dashboard-page .dashboard-container{margin-top:12px}.dashboard-page .site-nav-actions form{display:block}.dashboard-page .site-nav-actions{gap:6px}.dashboard-page .nav-dashboard-link,.dashboard-page .nav-logout{padding:0 9px;font-size:.74rem}}
@media(max-width:460px){.dashboard-page .site-shell{width:calc(100% - 20px)}.dashboard-page .dashboard-container{padding:17px 13px}.dashboard-page .dashboard-welcome{align-items:flex-start;gap:12px}.dashboard-page .dashboard-bot-avatar{width:54px;height:54px;border-radius:16px}.dashboard-page .dashboard-eyebrow{font-size:.58rem;letter-spacing:.1em}.dashboard-page .dashboard-header h1{font-size:1.7rem}.dashboard-page .dashboard-user-tag{display:block;margin:3px 0 0}.dashboard-page .site-nav-actions{gap:5px}.dashboard-page .nav-dashboard-link,.dashboard-page .nav-logout{min-height:35px;padding:0 7px;font-size:.68rem}}

.dashboard-page .site-nav-actions .nav-dashboard-link{display:none}
