/* rssbtn.css —— 首页 RSS 订阅按钮 */
#rss-btn {
  position: fixed;
  right: 18px;
  top: 14px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 15px;
  border: 1px solid #ffffff40;
  background: #00000045;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font: 13px/1 "Microsoft YaHei", sans-serif;
  text-shadow: 1px 1px 3px #000;
  cursor: pointer;
  opacity: .55;
  transition: opacity .18s, background .18s;
  user-select: none;
}
#rss-btn:hover { opacity: 1; background: #00000070; }
#rss-btn svg { width: 15px; height: 15px; fill: currentColor; flex: none; }

/* 配色交给站点的 .card（外壳会给它内联 backgroundColor / color） */
#rss-pop {
  position: fixed;
  right: 18px;
  top: 50px;
  z-index: 9999;
  width: 340px;
  padding: 14px 16px 16px;
  border-radius: 12px;
  border: 1px solid #88888840;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px #00000060;
  color: inherit;
  font: 13px/1.6 "Microsoft YaHei", sans-serif;
  display: none;
}
#rss-pop.on { display: block; }
#rss-pop .t { font-size: 14px; font-weight: 600; color: inherit; margin-bottom: 2px; }
#rss-pop .s { font-size: 12px; opacity: .7; margin-bottom: 10px; }
#rss-pop .url {
  display: flex;
  gap: 6px;
}
#rss-pop input {
  flex: 1;
  min-width: 0;
  height: 30px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid #88888860;
  background: #00000022;
  color: inherit;
  font: 12px/30px Consolas, monospace;
}
#rss-pop button {
  height: 30px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid #88888860;
  background: #00000030;
  color: inherit;
  font: 12px "Microsoft YaHei", sans-serif;
  cursor: pointer;
  white-space: nowrap;
}
#rss-pop button:hover { background: #00000050; }
#rss-pop button.ok { background: #2e6b3f; border-color: #3d8c53; }
#rss-pop .foot { margin-top: 10px; font-size: 11px; opacity: .65; }
#rss-pop .foot a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
#rss-pop .foot a:hover { text-decoration: underline; }

/* 挂在页头槽位里时（#rss-slot），不要浮动 */
#rss-slot {
  float: right;
  height: 100%;
  display: flex;
  align-items: center;
  margin-right: 8px;
}
#rss-btn.inline {
  position: static;
  right: auto;
  top: auto;
  height: 30px;
  opacity: .85;
}
#rss-btn.inline:hover { opacity: 1; }
