/* 广州桑拿情报站 - 公共样式（浅色底 / 1280 容器 / 左侧栏 + 主内容 + 右侧栏） */

:root {
  --bg: #eeeeee;
  --surface: #ffffff;
  --surface-2: #f6f6f6;
  --surface-3: #f9f9f9;
  --text: #444444;
  --text-strong: #333333;
  --muted: #6b6b6b;
  --muted-2: #6f6f6f;
  --muted-3: #6f6f6f;
  --line: #eeeeee;
  --line-2: #dddddd;
  --accent: #ff5e52;
  --accent-strong: #c4302a;
  --accent-deep: #d13a2f;
  --accent-soft: #ffeceb;
  --accent-2: #5f7a2e;
  --rail: 190px;
  --side: 320px;
  --radius: 4px;
  --cta-face: #0e0f12;
  --cta-face-2: #1a1c21;
  --cta-line: #2e313a;
  --cta-ink: #ededef;
  --cta-gold: #c9a227;
  --cta-gold-lite: #f5d98a;
  --cta-ok: #4ade80;
  --cta-space: calc(150px + env(safe-area-inset-bottom, 0px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-bottom: var(--cta-space);
  background-color: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

img {
  border: 0;
}

a {
  color: var(--text);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--accent-deep);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text-strong);
  font-weight: normal;
}

p {
  margin: 0 0 14px;
}

ul,
ol {
  margin: 0 0 14px;
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

strong,
b {
  font-weight: bold;
}

hr {
  height: 0;
  margin: 22px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

code {
  font-family: Consolas, Menlo, monospace;
  font-size: 15px;
  background-color: var(--surface-2);
  padding: 1px 5px;
  border-radius: 3px;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 200;
  background-color: var(--accent-strong);
  color: #fff;
  padding: 8px 14px;
  border-radius: 0 0 var(--radius) var(--radius);
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* 外壳：1280 白底容器 */
.container {
  max-width: 1280px;
  background-color: var(--surface);
  margin: 0 auto;
  position: relative;
  text-align: left;
}

.container::before,
.container::after {
  display: table;
  content: "";
  line-height: 0;
}

.container::after {
  clear: both;
}

/* 左侧固定栏：贴在 1280 容器左缘，不跟正文抢位 */
.header {
  position: fixed;
  top: 0;
  bottom: 0;
  left: max(0px, calc((100% - 1280px) / 2));
  width: var(--rail);
  background-color: var(--surface-2);
  margin: 0;
  padding: 0;
  z-index: 99;
  overflow-y: auto;
  overflow-x: hidden;
}

.logo {
  margin: 0;
  font-size: 0;
}

.logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  padding: 0 12px;
  overflow: hidden;
  background-color: var(--accent-strong);
  color: #fff;
  text-align: center;
  font-size: 21px;
  font-weight: bold;
  letter-spacing: 2px;
  line-height: 1.4;
}

.logo a:hover,
.logo a:focus {
  color: #fff;
  background-color: var(--accent-deep);
}

.logo-text {
  display: inline;
}

.nav {
  position: relative;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav li {
  position: relative;
  margin: 0;
}

.nav li > a {
  padding: 11px 20px 11px 22px;
  color: #666;
  display: block;
  line-height: 1.5;
}

.nav li > a:hover,
.nav li > a:focus {
  color: var(--text);
  background-color: var(--surface);
}

.nav .ico {
  width: 15px;
  height: 15px;
  margin-right: 9px;
  vertical-align: -2px;
  color: var(--muted-2);
}

.nav a:hover .ico {
  color: var(--accent-deep);
}

.nav li.current > a {
  color: var(--accent-deep);
  background-color: var(--surface);
}

.nav li.current > a .ico {
  color: var(--accent-deep);
}

.nav .sub-menu {
  position: absolute;
  top: -2px;
  left: 100%;
  min-width: 150px;
  z-index: 10;
  font-size: 15px;
  border: 2px solid var(--line);
  border-left: none;
  background-color: var(--surface);
  list-style: none;
  margin: 0;
  padding: 5px 0;
  display: none;
}

.nav li:hover > .sub-menu,
.nav li:focus-within > .sub-menu {
  display: block;
}

.nav .sub-menu li > a {
  padding: 8px 12px 8px 24px;
  color: var(--muted-2);
}

.nav .sub-menu li > a:hover {
  background-color: var(--surface-2);
  color: var(--text);
}

.nav .navmore {
  display: none;
}

.search-form {
  width: 100%;
  padding: 14px 20px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.search-form .form-control {
  display: block;
  width: 100%;
  height: 36px;
  padding: 6px 10px;
  font: inherit;
  font-size: 15px;
  color: #555;
  background-color: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
}

.search-form .form-control:focus {
  border-color: var(--accent);
  outline: 0;
}

.search-form .btn {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 8px 12px;
  font: inherit;
  font-size: 15px;
  color: #fff;
  background-color: var(--accent-strong);
  border: 1px solid var(--accent-strong);
  border-radius: var(--radius);
  cursor: pointer;
}

.search-form .btn:hover {
  background-color: var(--accent-deep);
  border-color: var(--accent-deep);
}

.m-search {
  display: none;
}

.feeds {
  padding: 15px 0 15px 15px;
  overflow: hidden;
  background-color: var(--surface-3);
  border-bottom: 1px solid var(--line);
  line-height: 28px;
}

.feed {
  display: inline-block;
  width: 48%;
  font-size: 14px;
  color: #5f5f5f;
  opacity: 0.92;
}

.feed i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  margin-right: 6px;
  position: relative;
  top: -1px;
}

.feed:hover,
.feed:focus {
  opacity: 1;
}

.feed-a i {
  background-color: var(--accent);
}

.feed-b i {
  background-color: #1faeff;
}

.feed-c i {
  background-color: var(--accent-2);
}

.feed-d i {
  background-color: #f1b305;
}

.slinks {
  text-align: center;
  color: var(--muted-2);
  font-size: 14px;
  line-height: 25px;
  padding: 10px 12px 0;
}

.slinks a {
  color: var(--muted-2);
  margin: 0 5px;
}

.slinks a:hover {
  color: var(--muted);
}

.user-signin {
  text-align: center;
  line-height: 22px;
  font-size: 14px;
  padding: 8px 12px 30px;
}

.user-signin a {
  color: var(--muted-2);
}

.user-signin a:hover {
  color: var(--muted);
}

/* 主内容 + 右侧栏。不用负边距把侧栏拽回去，否则侧栏会掉到左栏下面 */
.content-wrap {
  display: flex;
  align-items: flex-start;
  margin-left: var(--rail);
  min-width: 0;
}

.content {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 20px 25px 0;
  min-height: 700px;
}

.sidebar {
  flex: 0 0 300px;
  width: 300px;
  margin: 0 0 0 20px;
  position: relative;
  padding-top: 20px;
}

/* 板块标题（2px 底边 + 红色短下划线） */
.title {
  position: relative;
  margin: 0;
  line-height: 34px;
  font-size: 19px;
  border-bottom: 2px solid var(--line);
}

.title strong {
  display: inline-block;
  border-bottom: 2px solid var(--accent);
  position: relative;
  bottom: -2px;
  font-weight: bold;
}

.title::after {
  content: "";
  display: table;
  clear: both;
}

.title .pull-right {
  float: right;
  line-height: 34px;
  font-size: 14px;
  color: var(--muted-2);
}

/* 首页公告条 */
.ssr-content {
  overflow: hidden;
  clear: both;
  margin-bottom: 20px;
}

.ssr-content p {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.7;
}

/* 首页条目标签 */
.label {
  position: relative;
  display: inline-block;
  padding: 3px 8px 3px;
  font-size: 13px;
  line-height: 17px;
  color: #fff;
  background-color: var(--muted);
  border-radius: 2px;
  white-space: nowrap;
}

.label-important {
  background-color: var(--accent-strong);
  opacity: 0.94;
}

a.label:hover,
a.label:focus {
  color: #fff;
  opacity: 1;
}

.label-arrow {
  position: absolute;
  top: 7px;
  right: -4px;
  width: 0;
  height: 0;
  border-left: 4px solid var(--accent-strong);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

/* 排行 */
.most-comment-posts ul {
  margin: 0 0 22px;
  padding: 16px 0 0;
  list-style: none;
  overflow: hidden;
}

.most-comment-posts li {
  clear: both;
  overflow: hidden;
  padding-left: 26px;
  position: relative;
  margin-bottom: 9px;
}

.most-comment-posts li > a {
  color: var(--text);
}

.most-comment-posts li > a:hover {
  color: var(--accent-deep);
}

.most-comment-posts li .num {
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 19px;
  line-height: 19px;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background-color: var(--accent-strong);
  border-radius: 2px;
}

.most-comment-posts li .num.n2 {
  color: #9e2f26;
  background-color: #f7e4e1;
}

.most-comment-posts li .num.n3 {
  color: #a8412f;
  background-color: #fbeae7;
}

.most-comment-posts li .num.nx {
  color: #5f5f5f;
  background-color: #f1f1f1;
}

/* 置顶推荐 12 格 */
.sticky {
  overflow: hidden;
  margin-bottom: 6px;
}

.sticky ul {
  list-style: none;
  padding: 16px 0 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 14px;
}

.sticky li {
  margin: 0;
}

.sticky li a {
  display: block;
  color: #666;
  font-size: 15px;
  line-height: 1.55;
}

.sticky a:hover,
.sticky a:focus {
  color: var(--accent-deep);
}

.sticky img {
  display: block;
  width: 100%;
  height: 132px;
  object-fit: contain;
  background-color: var(--surface-2);
  border-radius: 2px;
  margin-bottom: 6px;
}

/* 文章条目 */
.excerpt {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.excerpt header {
  margin: 0 0 10px;
}

.excerpt h2 {
  display: inline;
  font-size: 22px;
  line-height: 1.45;
  margin: 0;
}

.excerpt h2 a {
  color: var(--text-strong);
}

.excerpt h2 a:hover {
  color: var(--accent-deep);
}

.excerpt .cat {
  margin-right: 6px;
  vertical-align: 2px;
}

.excerpt .meta {
  font-size: 14px;
  color: var(--muted-2);
  margin-left: 8px;
}

.excerpt .meta .ico {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-right: 3px;
}

.excerpt .note {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 10px;
}

.excerpt .views {
  font-size: 14px;
  color: var(--muted-2);
}

.excerpt .views span,
.excerpt .views a {
  margin-right: 18px;
}

.excerpt .views a {
  color: var(--muted-2);
}

.excerpt .views a:hover {
  color: var(--accent-deep);
}

/* 正文长文 */
.article-body h1 {
  font-size: 27px;
  line-height: 1.35;
  margin: 0 0 14px;
}

.article-body h2 {
  font-size: 21px;
  line-height: 1.45;
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}

.article-body h2 .rule {
  display: inline-block;
  border-bottom: 2px solid var(--accent);
  position: relative;
  bottom: -10px;
  padding-bottom: 8px;
}

.article-body h3 {
  font-size: 18px;
  line-height: 1.5;
  margin: 22px 0 8px;
}

.article-body p,
.article-body li {
  font-size: 16px;
  line-height: 1.8;
}

.article-body .lead {
  font-size: 17px;
  color: #555;
  background-color: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 18px;
}

.article-body .lead p {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.8;
}

.article-body .lead p:last-child {
  margin-bottom: 0;
}

/* 检索表单 */
.search-box {
  padding: 14px 18px;
  background-color: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 18px;
}

.search-box label {
  display: block;
  font-size: 16px;
  color: var(--text-strong);
  margin-bottom: 8px;
}

.search-box .form-control {
  display: block;
  width: 100%;
  height: 40px;
  padding: 6px 12px;
  font: inherit;
  font-size: 16px;
  color: #555;
  background-color: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
}

.search-box .form-control:focus {
  border-color: var(--accent);
  outline: 0;
}

.search-box .btn {
  display: inline-block;
  margin-top: 10px;
  padding: 9px 26px;
  font: inherit;
  font-size: 16px;
  color: #fff;
  background-color: var(--accent-strong);
  border: 1px solid var(--accent-strong);
  border-radius: var(--radius);
  cursor: pointer;
}

.search-box .btn:hover {
  background-color: var(--accent-deep);
  border-color: var(--accent-deep);
}

.article-body .tbl-wrap {
  overflow-x: auto;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-body table {
  width: 100%;
  min-width: 520px;
  font-size: 16px;
}

.article-body th,
.article-body td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.article-body th {
  background-color: var(--surface-2);
  color: var(--text-strong);
  font-weight: bold;
  white-space: nowrap;
}

.article-body tbody tr:last-child td {
  border-bottom: 0;
}

/* 目录型条目 */
.entry-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.entry-list > li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}

.entry-list > li:last-child {
  border-bottom: 0;
}

.entry-list .entry-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.entry-list .entry-head a {
  font-size: 18px;
  color: var(--text-strong);
}

.entry-list .entry-head a:hover {
  color: var(--accent-deep);
}

.entry-list .chip {
  font-size: 13px;
  color: #9e2f26;
  background-color: #fbe5e2;
  border: 1px solid #f2cdc8;
  border-radius: 2px;
  padding: 1px 7px;
}

.entry-list .chip.alt {
  color: #4d6626;
  background-color: #eef3e1;
  border-color: #dce7c6;
}

.entry-list .chip.plain {
  color: #5f5f5f;
  background-color: #f1f1f1;
  border-color: #e4e4e4;
}

.entry-list p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

/* 内链分流卡片 */
.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.link-grid li {
  margin: 0;
  padding: 14px 16px;
  background-color: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.link-grid a {
  font-size: 17px;
  color: var(--text-strong);
  display: block;
  margin-bottom: 4px;
}

.link-grid a:hover {
  color: var(--accent-deep);
}

.link-grid span {
  display: block;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

/* FAQ */
.faq-list {
  margin: 0;
}

.faq-list dt {
  font-size: 17px;
  color: var(--text-strong);
  font-weight: bold;
  margin: 18px 0 6px;
}

.faq-list dd {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

/* 侧栏组件 */
.widget {
  clear: both;
  margin-bottom: 20px;
  position: relative;
}

.widget .title {
  border-bottom: 2px solid var(--line);
  padding-top: 2px;
  font-size: 18px;
}

.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget ul::before,
.widget ul::after {
  display: table;
  content: "";
  line-height: 0;
}

.widget ul::after {
  clear: both;
}

.widget_postlist .items-01 {
  overflow: hidden;
}

.widget_postlist .items-01 li {
  margin: 0;
}

.widget_postlist .items-01 li a {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  min-height: 0;
  position: relative;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}

.widget_postlist .items-01 li a:hover {
  background-color: #f8fcfe;
  color: var(--accent-deep);
}

.widget_postlist .items-01 .text {
  display: block;
}

.widget_postlist .items-01 .meta {
  display: block;
  font-size: 14px;
  color: var(--muted-2);
}

.widget_recent_entries li {
  border-bottom: 1px solid var(--line);
  margin: 0;
}

.widget_recent_entries li a {
  display: block;
  padding: 10px 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}

.widget_recent_entries li a:hover {
  color: var(--accent-deep);
}

.widget_flags li {
  border-bottom: 1px solid var(--line);
  margin: 0;
  padding: 10px 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.widget_flags li b {
  color: var(--accent-deep);
  margin-right: 6px;
}

.widget_links li {
  border-bottom: 1px solid var(--line);
  margin: 0;
}

.widget_links li a {
  display: block;
  padding: 9px 0;
  font-size: 16px;
  color: var(--text);
}

.widget_links li a:hover {
  color: var(--accent-deep);
}

.widget_tags_inner {
  overflow: hidden;
  padding-top: 8px;
  font-size: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.widget_tags_inner li {
  margin: 0;
}

.widget_tags_inner a {
  display: block;
  padding: 6px 8px;
  color: var(--muted);
  background-color: #fafafa;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 14px;
  text-align: center;
  overflow-wrap: anywhere;
}

.widget_tags_inner a:hover {
  color: #fff;
  background-color: var(--accent-strong);
  border-color: var(--accent-strong);
}

/* 分页 */
.pagination {
  padding: 20px 0;
  text-align: center;
}

.pagination ul {
  display: inline-block;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination ul > li {
  display: inline-block;
  margin: 0 1px;
}

.pagination ul > li > a,
.pagination ul > li > span {
  display: block;
  padding: 6px 14px;
  font-size: 15px;
  color: #555;
  background-color: #ddd;
  border-radius: 2px;
}

.pagination ul > li > a:hover {
  color: var(--text-strong);
  background-color: #d2d2d2;
}

.pagination ul > .active > span {
  color: #fff;
  background-color: var(--accent-strong);
}

.pagination ul > li > span.gap {
  color: var(--muted-2);
  background-color: transparent;
}

/* 页脚 */
.footer {
  clear: both;
  color: var(--muted-3);
  position: relative;
  z-index: 1;
  margin: 20px 20px 20px 215px;
  padding: 20px 0 26px;
  border-top: 20px solid var(--bg);
  font-size: 14px;
  background-color: var(--surface);
}

.footer a {
  color: var(--muted-3);
}

.footer a:hover {
  color: var(--muted-2);
}

.footer .footer-nav {
  margin-bottom: 10px;
}

.footer .footer-nav .footer-group {
  display: inline-block;
  min-width: 62px;
  color: var(--text-strong);
  font-weight: bold;
}

.footer .footer-nav a {
  margin-right: 14px;
  white-space: nowrap;
}

.footer .brand-line {
  margin-bottom: 6px;
  color: var(--muted-2);
  font-size: 15px;
}

.footer .brand-line a {
  color: var(--text);
}

.footer .brand-line a:hover {
  color: var(--accent-deep);
}

/* 回到顶部 */
.rollto {
  position: fixed;
  right: 20px;
  bottom: 148px;
  z-index: 98;
  display: none;
}

.rollto a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  font-size: 14px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.55);
  border-radius: var(--radius);
}

.rollto a:hover,
.rollto a:focus {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.72);
}

/* 唯一固定底部寻芳 CTA（会员刷卡：金卡划过读卡槽 + 槽面洇色 + 绿灯亮起） */
.site-cta {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 64px;
  transform: translateX(-50%);
  width: min(620px, calc(100% - 32px));
  padding: 20px 24px 20px 96px;
  border-radius: 12px;
  background-color: var(--cta-face);
  color: var(--cta-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: bold;
  letter-spacing: 1px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(14, 15, 18, 0.5);
}

.site-cta:hover,
.site-cta:focus {
  color: var(--cta-ink);
}

.site-cta .reader {
  position: absolute;
  left: 22px;
  top: 50%;
  width: 58px;
  height: 44px;
  margin-top: -22px;
  border-radius: 8px;
  background-color: var(--cta-face-2);
  border: 1px solid var(--cta-line);
  overflow: hidden;
}

.site-cta .reader::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 8px;
  margin-top: -4px;
  border-radius: 4px;
  background-color: #0a0b0e;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.8);
}

.site-cta .reader .wash {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 150% at 40% 50%, rgba(245, 217, 138, 0.3) 0%, rgba(245, 217, 138, 0) 72%);
  opacity: 0;
  animation: cta-slot-wash 3.2s cubic-bezier(0.2, 0.7, 0.3, 1) infinite;
}

.site-cta .card {
  position: absolute;
  top: 50%;
  width: 34px;
  height: 22px;
  margin-top: -11px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--cta-gold-lite), var(--cta-gold) 70%);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
  animation: cta-swipe 3.2s cubic-bezier(0.2, 0.7, 0.3, 1) infinite;
}

.site-cta .reader::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--cta-ok);
  box-shadow: 0 0 9px rgba(74, 222, 128, 0.7);
}

@keyframes cta-swipe {
  0%, 10% {
    left: -40px;
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  52%, 72% {
    left: 40px;
    opacity: 1;
  }
  80%, 100% {
    left: -40px;
    opacity: 0;
  }
}

@keyframes cta-slot-wash {
  0%, 14% {
    opacity: 0;
    transform: scale(0.96);
  }
  46% {
    opacity: 0.95;
    transform: scale(1.02);
  }
  72%, 100% {
    opacity: 0;
    transform: scale(1.04);
  }
}

/* 搜索页 */
.search-hits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.search-hits li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}

.search-hits a {
  display: block;
  font-size: 18px;
  color: var(--text-strong);
  margin-bottom: 4px;
}

.search-hits a:hover {
  color: var(--accent-deep);
}

.search-hits p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.notice-box {
  padding: 14px 18px;
  background-color: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.8;
}

/* 平板 */
@media (max-width: 1024px) {
  .sidebar {
    display: none;
  }

  .content {
    margin-right: 0;
  }
}

@media (max-width: 879px) {
  :root {
    --rail: 160px;
  }

  .logo a,

  .nav li > a {
    padding: 10px 14px 10px 15px;
  }

  .footer {
    margin-left: 185px;
  }

  .sticky ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 手机 */
@media (max-width: 768px) {
  .header {
    position: relative;
    left: auto;
    width: auto;
    overflow: visible;
  }

  .content-wrap {
    display: block;
    margin-left: 0;
  }

  .logo a {
    display: block;
    height: 42px;
    line-height: 42px;
    text-align: center;
    font-size: 18px;
    color: #fff;
    background-color: var(--accent-strong);
    overflow: hidden;
  }

  .logo-text {
    display: inline;
    color: #fff;
    font-size: 18px;
  }

  .nav {
    height: 42px;
    background-color: var(--surface);
    font-size: 15px;
    overflow: hidden;
    padding-left: 8px;
    padding-right: 44px;
    border-bottom: none;
  }

  .nav::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background-color: var(--line);
  }

  .nav li {
    display: inline-block;
    vertical-align: top;
  }

  .nav li > a {
    padding: 0 10px;
    line-height: 42px;
    font-weight: bold;
    color: var(--text);
  }

  .nav li > a .ico {
    display: none;
  }

  .nav .sub-menu {
    display: none !important;
  }

  .nav .navmore {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 44px;
    height: 42px;
    text-align: center;
    z-index: 9;
  }

  .nav .navmore button {
    display: block;
    width: 44px;
    height: 42px;
    padding: 0;
    font: inherit;
    color: var(--text);
    background: none;
    border: 0;
    cursor: pointer;
  }

  .nav .navmore .ico {
    display: inline-block;
    width: 18px;
    height: 18px;
    vertical-align: -4px;
    margin: 0;
  }

  body.navshows {
    overflow: hidden;
  }

  body.navshows .nav {
    position: fixed;
    left: 0;
    top: 42px;
    right: 0;
    bottom: 0;
    height: auto;
    padding: 0 12px 90px;
    overflow-y: auto;
    background-color: var(--surface);
    z-index: 120;
  }

  body.navshows .nav > li {
    display: block;
    float: none;
    padding: 4px 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  body.navshows .nav > li > a {
    font-size: 16px;
    padding: 6px 0;
    line-height: 30px;
  }

  body.navshows .nav .sub-menu {
    display: block !important;
    position: static;
    border: none;
    min-width: 0;
    padding: 0 0 6px;
    background-color: transparent;
  }

  body.navshows .nav .sub-menu li {
    display: block;
    margin: 4px 0 4px 22px;
  }

  body.navshows .nav .sub-menu li > a {
    padding: 0;
    font-weight: normal;
    line-height: 30px;
  }

  body.navshows .nav .navmore {
    position: fixed;
    right: 6px;
    top: 0;
  }

  .search-form {
    display: none;
    width: 94%;
    padding: 10px 3%;
    border-bottom: 1px solid var(--line);
  }

  body.searchshows .search-form {
    display: block;
  }

  .search-form .form-control,
  .search-form .btn {
    width: 100%;
  }

  .m-search {
    display: block;
    position: absolute;
    right: 48px;
    top: 0;
    z-index: 10;
  }

  .m-search button {
    display: block;
    width: 40px;
    height: 42px;
    padding: 0;
    font: inherit;
    color: var(--muted);
    background: none;
    border: 0;
    cursor: pointer;
  }

  .m-search .ico {
    width: 18px;
    height: 18px;
    vertical-align: -4px;
  }

  .feeds {
    padding: 12px 12px 12px 12px;
  }

  .feed {
    width: 50%;
    font-size: 15px;
  }

  .content {
    margin-left: 0;
    padding: 15px 20px 0;
    min-height: 0;
  }

  .footer {
    margin-left: 0;
    margin-right: 0;
    padding: 18px 20px 24px;
    border-top: 10px solid var(--bg);
    text-align: center;
    background-color: #444;
    color: #bbb;
  }

  .footer a,
  .footer .brand-line a {
    color: #ddd;
  }

  .footer .brand-line {
    color: #ddd;
  }

  .rollto {
    right: 12px;
    bottom: 132px;
  }

  .rollto a {
    width: 42px;
    height: 42px;
    font-size: 13px;
  }

  .site-cta {
    left: 12px;
    right: 12px;
    transform: none;
    width: auto;
    bottom: calc(48px + env(safe-area-inset-bottom));
    font-size: 16px;
    padding: 18px 18px 18px 88px;
  }

  .article-body h1 {
    font-size: 23px;
  }

  .article-body h2 {
    font-size: 19px;
    margin-top: 26px;
  }
}

@media (max-width: 600px) {
  .sticky ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .link-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .widget_tags_inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .excerpt h2 {
    font-size: 19px;
  }
}

@media (max-width: 420px) {
  .content {
    padding: 12px 12px 0;
  }

  .sticky li a,
  .widget_postlist .items-01 li a,
  .entry-list p,
  .entry-list .entry-head a {
    font-size: 16px;
  }

  .entry-list .entry-head a {
    font-size: 17px;
  }

  .site-cta {
    font-size: 15px;
    letter-spacing: 0.5px;
    padding-left: 78px;
  }

  .site-cta .reader {
    left: 16px;
    width: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-cta .card {
    animation: none;
    left: 40px;
    opacity: 1;
  }

  .site-cta .reader .wash {
    animation: none;
    opacity: 0.35;
    transform: scale(1);
  }

  .site-cta .reader::after {
    background-color: var(--cta-ok);
    box-shadow: 0 0 9px rgba(74, 222, 128, 0.7);
  }
}

/* 没有侧栏的页面不再另留右边距 */
