/* TG Bot Dashboard - 自定义样式 */

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: #0A0F1A;
}

::selection {
  background: #3390EC;
  color: #fff;
}

/* 滚动条 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #0A0F1A; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); }
::-webkit-scrollbar-thumb:hover { background: rgba(51,144,236,0.5); }

/* 输入框 focus 取消默认描边 */
input:focus, select:focus, textarea:focus, button:focus {
  outline: none;
}
input, select, textarea {
  border-radius: 0;
}

/* 链接 */
a {
  text-decoration: none;
}

/* line-clamp polyfill */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Telegram login iframe 默认有圆角，居中显示 */
iframe[id^="telegram-login"] {
  display: block;
  margin: 0 auto;
  filter: hue-rotate(0deg);
}
