@charset "UTF-8";
:root {
  --color-body-text: #c2c2c2;
  --color-body-background: #202020;
  --color-header-text: #e9e9e9;
  --color-border: #000;
  --color-rss-background: #000;
  --font-size-base: 16px;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.42857143;
  color: var(--color-body-text);
  background-color: var(--color-body-background);
}
a {
  color: #26687f;
}
.main-container {
  display: flex;
  flex-direction: column;
  /* max-width: 1250px;
  max-height: 860px; */
  /* width: 100%; */
  height: 99vh;
  overflow: hidden;
  position: relative;
  border-radius: 14px;
  backdrop-filter: blur(20px);
}
.page-header {
  display: flex;
  align-items: center;
  /* height: 58px; */
  padding: 0 30px;
  white-space: nowrap;
}
.left {
  flex: 1;
}
#rssMain {
  flex: 1;
  padding: 5px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
}
.label {
  background-color: #26687f;
  margin-bottom: 5px;
  padding: 2px 4px;
  border-radius: 4px;
  font-weight: bold;
  color: #000;
}
.post {
  padding: 5px 10px 0 13px;
  margin-bottom: 20px;
  font-size: var(--font-size-base);
  background-color: var(--color-rss-background);
  border-color: var(--color-border);
  max-height: calc(100dvh - 100px);
  overflow: auto;
  scrollbar-width: thin;
}
.post .rsstitle {
  display: flex;
  align-items: center;
  /* white-space: nowrap; */
  position: sticky;
  top: 0;
}
.post .rsstitle h3 {
  font-size: 18px;
  line-height: 25px;
  margin-top: 6px;
  margin-bottom: 6px;
}
.post .rsstitle h3 a {
  color: #ebebeb;
  text-decoration: none;
}
.post .label-feed {
  font-size: 11px;
  line-height: 14px;
  font-weight: bold;
  text-decoration: none;
}
.post .content {
  margin: 5px 0 0 0;
  padding: 0 0 10px 0;
  font-size: var(--font-size-base);
  /* line-height: 18px; */
  overflow-x: auto;
  scrollbar-width: thin;
  color: #c2c2c2;
}
.post table {
  font-size: var(--font-size-base);
}

.post.cur {
  border: 1px solid red;
}
body.max900 .main-container {
  max-width: 900px;
  margin: auto;
}
.post.unread h3 a {
  color: red;
}
/* html {  filter: invert(1) hue-rotate(180deg);}img,i,video {    filter: invert(1) hue-rotate(180deg);} */
/* star */
.post .btn-star::before {
  color: #ffcb3c;
  content: "";
}
.post.star .btn-star::before {
  content: "";
}
#unreadSpan {
  font-size: 16px;
  display: none;
  line-height: 18px;
  margin-left: 3px;
}
/* https://zhuanlan.zhihu.com/p/96382007 */
input[type="checkbox"] {
  appearance: none;
  /* width: 64px; */
  width: 104px;
  height: 32px;
  position: relative;
  border-radius: 10px;
  cursor: pointer;
  background-color: #777;
}
input[type="checkbox"]:before {
  content: "";
  position: absolute;
  /* width: 28px; */
  width: 48px;
  height: 26px;
  background: white;
  left: 2px;
  top: 2px;
  border-radius: 10px;
  transition: left cubic-bezier(0.3, 1.5, 0.7, 1) 0.3s;
}
input[type="checkbox"]:after {
  content: "未读 全部";
  text-indent: 12px;
  word-spacing: 4px;
  display: inline-block;
  white-space: nowrap;
  color: white;
  font: 14px/30px monospace;
  font-weight: bold;
}
input[type="checkbox"]:hover:before {
  box-shadow: inset 0px 0px 5px 0px black;
}
input[type="checkbox"]:checked {
  background-color: limegreen;
}
input[type="checkbox"]:checked:before {
  left: 48px;
}
input[type="checkbox"]:checked:after {
  color: black;
}
#searchForm {
  display: inline-block;
}
.content-body img {
  max-width: 800px;
  max-height: 800px;
  object-fit: contain;
}
.no-posts {
  height: 558px;
  line-height: 558px;
  text-align: center;
  width: 100%;
}

.dark #rssItems font[style],
.dark #rssItems font[color] {
  filter: invert(1) hue-rotate(180deg);
}

.toast {
  width: 60%;
  min-width: 180px;
  background: rgb(0, 0, 0);
  opacity: 0.6;
  height: auto;
  min-height: 30px;
  color: rgb(255, 255, 255);
  line-height: 30px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  top: 80%;
  left: 20%;
  z-index: 999999;
  display: none;
}

.dark .toast {
  filter: invert(1) hue-rotate(180deg);
}

img.feed-icon {
  width: 16px;
  height: 16px;
}

@font-face {
  font-family: "iconfont"; /* Project id 4390974 */
  src: url('https://rssreader.1214159.xyz/iconfont/iconfont.woff2?t=1703913624701') format('woff2'),
       url('https://rssreader.1214159.xyz/iconfont/iconfont.woff?t=1703913624701') format('woff'),
       url('https://rssreader.1214159.xyz/iconfont/iconfont.ttf?t=1703913624701') format('truetype');
}

.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-star3:before {
  content: "\e6d5";
}

.icon-xiangxia:before {
  content: "\e601";
}

.icon-xiangshang:before {
  content: "\e600";
}

.icon-square:before {
  content: "\e869";
}

.icon-Home:before {
  content: "\eab0";
}

.icon-star:before {
  content: "\ea1a";
}

.icon-favorites:before {
  content: "\e813";
}

.icon-fav:before {
  content: "\e61c";
}

