/*
Design by http://www.templateaccess.com
Released for free under a Creative Commons Attribution 3.0 License
*/
* {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
  display: block;
}
div,
html,
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td,
hr,
button,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main,
.boke8 {
  margin: 0;
  padding: 0;
}
body {
  background-color: #fff;
  color: #333;
  font: normal 16px/1.875em 'HarmonyOS Sans', 'Microsoft Yahei', 'Arial', 'Sans-serif';
  overflow-x: hidden;
  width: 100%;
  word-wrap: break-word;
}
a {
  text-decoration: none;
  outline: none;
  color: #333;
}
a:focus {
  outline: none;
  -moz-outline: none;
}
a:hover {
  color: #014099;
}
a img {
  border: none;
}
img {
  max-width: 100%;
}
li {
  list-style: none;
}
select,
input,
textarea,
button {
  border-radius: 0;
  -webkit-border-radius: 0;
  background: none;
  border: none;
  outline: none;
  font-family: 'HarmonyOS Sans', 'Microsoft Yahei', 'Arial', 'Sans-serif';
}
input:focus {
  outline: none;
}
textarea {
  resize: none;
}
input[type='text']::-moz-placeholder {
  opacity: 0.6;
}
input[type='text']:-moz-placeholder {
  opacity: 0.6;
}
input[type='text']::-webkit-input-placeholder {
  opacity: 0.6;
}
input[type='text']:-ms-input-placeholder {
  opacity: 0.6;
}
table {
  background-color: transparent;
  border-spacing: 0;
  border-collapse: collapse;
  font-size: 16px;
  width: 100%;
  border-top: solid 1px #e4e4e4;
  border-left: solid 1px #e4e4e4;
  box-sizing: border-box;
}
table th {
  background-color: #f9f9f9;
  text-align: center;
  box-sizing: border-box;
}
table td,
table th {
  padding: 1%;
  border: 1px solid #e4e4e4;
  box-sizing: border-box;
}
.inner {
  width: 93.75%;
  max-width: 1440px;
  margin: 0 auto;
}
.submit {
  cursor: pointer;
}
.clear {
  clear: both;
  overflow: hidden;
}
.thumbnail a {
  display: block;
  padding-bottom: 75%;
  position: relative;
  overflow: hidden;
}
.thumbnail img {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rows {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* header */
#header {
  background: url(images/topbg.jpg) no-repeat center center;
  background-size: cover;
}
#header {
  padding: 2.60416667% 0 4.36458333%;
  position: relative;
}
#header .inner {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
/**/
#logo {
  font-size: 2em;
  line-height: 1.125em;
  max-width: 250px;
  overflow: hidden;
}
#logo a {
  color: #fff;
  display: block;
  overflow: hidden;
  text-transform: uppercase;
  float: left;
}
#logo small {
  display: block;
  font-size: 12px;
  line-height: 1.35em;
  text-align: right;
  text-transform: none;
}
/* menu */
#menu {
  margin-top: 1%;
  width: calc(97% - 250px);;
}
#menu ul {
  display: flex;
  justify-content: flex-end;
}
#menu li {
  padding-left: 2.5%;
  margin-left: 2.5%;
  position: relative;
  font-size: 18px;
}
#menu li:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1em;
  background-color: #4b6590;
}
#menu li:first-child:before {
  display: none;
}
#menu a {
  display: block;
  color: #fffffe;
}
#menu .active a,
#menu a:hover {
  color: #40b5ff;
}
#menu li ul {
  display: none;
}
/* menu */
#navbtn {
  width: 26px;
  height: 26px;
  position: relative;
  background-color: #fff;
  border-radius: 3px;
  cursor: pointer;
  display: none;
  z-index: 10;
  margin-top: 1%;
}
#navbtn:before,
#navbtn:after,
#navbtn i {
  width: 70%;
  left: 15%;
  background-color: #014099;
  height: 2px;
  border-radius: 1px;
  position: absolute;
  display: block;
  transition: all .3s;
}
#navbtn i {
  top: 50%;
  transform: translateY(-50%);
}
#navbtn:before {
  content: '';
  top: 6px;
  transition: all .3s;
}
#navbtn:after {
  content: '';
  bottom: 6px;
  transition: all .3s;
}
#navbtn.active i {
  opacity: 0;
  transition: none;
}
#navbtn.active:before {
  transform: rotate(45deg);
  top: 50%;
}
#navbtn.active:after {
  transform: rotate(-45deg);
  bottom: auto;
  top: 50%;
}
/*wrapper*/
#wrapper {
  background-image: linear-gradient(180deg, #eee, #fff);
}
#wrapper .inner {
  background-color: #fff;
  padding-top: 10px;
  padding-right: 30px;
  padding-bottom: 10px;
  padding-left: 30px;
  position: relative;
  z-index: 2;
  margin-top: -15px;
  overflow: hidden;
  border: 1px solid #f2f2f2;
  border-bottom: none;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
/*main*/
#main {
  width: calc(100% - 330px);
}
.bk8-title {
  font-size: 24px;
  font-weight: normal;
  line-height: 1.5em;
  margin-bottom: 1%;
}
.bk8-title a {
  color: #222;
}
.bk8-title a:hover {
  color: #014099;
}
.article {
  border-bottom: 2px dashed #cbcbcb;
  overflow: hidden;
  margin-bottom: 25px;
  padding-bottom: 30px;
}
.article .meta {
  font-size: 13px;
  color: #888;
  line-height: 1.5em;
  margin-bottom: 1.3%;
}
.article .meta a {
  color: #888;
}
.article .meta a:hover {
  color: #222;
}
.article .meta span {
  display: inline-block;
  vertical-align: middle;
  margin-right: 2.5%;
}
.article .thumbnail {
  width: 212px;
  float: left;
  padding: 4px;
  border: 1px solid #eaecec;
  background-color: #fff;
}
.article .text {
  margin-left: 235px;
  overflow: hidden;
  font-size: 15px;
  color: #595959;
  line-height: 2em;
  text-align: justify;
}
.article .text.ml0 {
  margin-left: 0;
}
.article .excerpt {
  height: 8em;
  -webkit-line-clamp: 4;
  text-align-last: left;
}
.article .more {
  text-align: right;
  font-size: 13px;
  margin-top: 9px;
}
.article .more a {
  color: #2cadff;
}
.article .more a:hover {
  color: #014099;
}
#bk8-Slides {
  margin-bottom: 30px;
  overflow: hidden;
}
/*pagenavi*/
#pagenavi {
  padding: 0.53333333em 0;
  font-size: 15px;
  line-height: 2em;
}
#pagenavi a,
#pagenavi span.now-page {
  display: inline-block;
  vertical-align: middle;
  color: #9a9a9a;
  padding: 0 0.7em;
  border: 1px solid #edebeb;
  background-color: #fbfbfc;
}
#pagenavi a:hover,
#pagenavi span.now-page {
  border: 1px solid #1a3562;
  background-color: #1a3562;
  color: #fff;
}

/* 文章标题优化 */
#post .title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 15px;
  color: #222;
  text-align: left;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f2f5;
  position: relative;
}

#post .title:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, #2cadff, #014099);
}

/* 文章元素信息优化 */
.postmeta {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #2cadff;
}

.postmeta span {
  display: inline-block;
  vertical-align: middle;
  margin-right: 15px;
  position: relative;
}

.postmeta span:not(:last-child):after {
  content: '•';
  color: #ccc;
  margin-left: 15px;
}

.postmeta a {
  color: #555;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 2px 6px;
  border-radius: 4px;
}

.postmeta a:hover {
  color: #014099;
  background: rgba(2, 122, 255, 0.1);
  text-decoration: none;
}

#post .bk8-title {
  margin-bottom: 3.5%;
}

/*entry - 强化文字换行处理 */
.entry {
  font-size: 16px;
  line-height: 1.8;
  position: relative;
  color: #444;
  text-align: justify;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.entry > div {
  width: 100%;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* 确保所有内容元素都能正确换行 */
.entry p,
.entry li,
.entry td,
.entry th,
.entry h1,
.entry h2,
.entry h3,
.entry h4,
.entry h5,
.entry h6,
.entry span,
.entry div {
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

/* 特别处理长URL和代码 */
.entry a,
.entry code,
.entry pre {
  word-break: break-all;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* 防止内联代码和链接溢出 */
.entry code {
  white-space: pre-wrap;
  word-break: break-all;
}

.entry pre {
  white-space: pre-wrap;
  word-break: break-all;
  overflow-x: auto;
}

/* 表格内容换行优化 */
.entry table {
  table-layout: fixed;
  width: 100%;
  word-break: break-all;
}

.entry td,
.entry th {
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
}

.entry img {
  max-width: 100%;
  height: auto!important;
}
.entry ul,
.entry ol {
  margin-left: 2em;
  margin-bottom: 1em;
}
.entry ul li {
  list-style: outside disc none;
}
.entry ol li {
  list-style: outside decimal none;
}
.entry li p {
  margin-bottom: 0;
}
.entry h1 {
  font-size: 1.5em;
  margin-bottom: 1em;
}
.entry h2 {
  font-size: 1.25em;
  margin-bottom: 1em;
}
.entry h3 {
  font-size: 1.125em;
  margin-bottom: 1em;
}
.entry h4 {
  font-size: 1em;
  margin-bottom: 1em;
}
.entry h5 {
  font-size: 0.875em;
  margin-bottom: 1em;
}
.entry h6 {
  font-size: 0.75em;
  margin-bottom: 1em;
}
.entry blockquote {
  margin: 0 2em;
  font-style: italic;
  opacity: .95;
  padding: 1em;
  margin-bottom: 1em;
  background-color: #fafafa;
  border: 1px solid #f1f1f1;
  word-wrap: break-word;
  word-break: break-word;
}
.entry hr {
  border: none;
  clear: both;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 1em;
}
.entry p {
  margin-bottom: 1em;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

/* 标签区域优化 */
.tags {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  padding: 20px 0;
  margin: 25px 0;
  border-top: 1px solid #f0f2f5;
  border-bottom: 1px solid #f0f2f5;
  word-wrap: break-word;
  word-break: break-word;
}

.tags:before {
  content: '🏷️ ';
  margin-right: 8px;
}

.tags a {
  color: #2cadff;
  margin: 0 8px;
  padding: 4px 12px;
  background: rgba(44, 173, 255, 0.1);
  border-radius: 16px;
  transition: all 0.3s ease;
  display: inline-block;
  margin-bottom: 8px;
  word-break: break-all;
}

.tags a:hover {
  color: #fff;
  background: #2cadff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(44, 173, 255, 0.3);
}

/* 底部统计信息优化 */
.postmeta:last-of-type {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-left: 4px solid #ff6b6b;
  margin-top: 25px;
  word-wrap: break-word;
  word-break: break-word;
}

.postmeta:last-of-type span {
  font-weight: 500;
}

.postmeta:last-of-type span:first-child {
  color: #ff6b6b;
  font-weight: 600;
}

/*sidebar*/
#sidebar {
  width: 300px;
  border-left: 2px dashed #cbcbcb;
  padding-left: 30px;
}
#sidebar .bk8-title {
  margin-bottom: 5%;
}
.widget {
  border-bottom: 2px dashed #cbcbcb;
  padding-bottom: 10%;
  margin-bottom: 10%;
}
.widget li,
.widget .textwidget {
  font-size: 15px;
  line-height: 1.8em;
  padding: 1.5% 0;
}
.widget a {
  color: #595959;
}
.widget a:hover {
  color: #014099;
}
.divCatalog ul {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-flex-flow: wrap;
  -moz-flex-flow: wrap;
  -ms-flex-flow: wrap;
  -o-flex-flow: wrap;
  flex-flow: wrap;
}
.divCatalog li {
  width: 48%;
}
.divCatalog li ul {
  display: none;
}
.divCatalog li li {
  width: 95%;
  margin-left: 5%;
}
.divCatalog a {
  color: #2cadff;
  background: url(images/icon_category.png) no-repeat left center;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-size: 0.93333333em auto;
  padding-left: 1.33333333em;
}
.divCatalog a:hover {
  color: #014099;
}
.divStatistics li,
.divArchives li,
.divAuthors li,
.divFavorites li,
.divComments li {
  padding-left: 1.33333333em;
  background: url(images/icon_data.png) no-repeat left center;
  background-size: 0.93333333em auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.divArchives li {
  background-image: url(images/icon_date.png);
}
.divAuthors li {
  background-image: url(images/icon_author.png);
}
.divFavorites li {
  background-image: url(images/icon_fav.png);
}
.divComments li {
  background-image: url(images/icon_msg.png);
}
.divLinkage li,
.divTags li {
  padding-left: 1.33333333em;
  position: relative;
}
.divLinkage li:before,
.divTags li:before {
  width: 0.93333333em;
  height: 1em;
  background: url(images/icon_link.png) no-repeat center center;
  background-size: contain;
  content: '';
  display: block;
  position: absolute;
  left: 0;
  margin-top: 1.5%;
  top: 0.4em;
}
.divTags ul {
  overflow: hidden;
}
.divTags li {
  float: left;
  padding-left: 1.46666667em;
  text-transform: uppercase;
  padding-right: 1em;
}
.divTags li:before {
  width: 1.06666667em;
  height: 0.8em;
  background-image: url(images/icon_tag.png);
  top: 0.66666667em;
}
.divPrevious li {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: url(images/icon_post.png) no-repeat left center;
  background-size: 0.93333333em;
  padding-left: 1.33333333em;
}
.divMisc ul {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-flex-flow: wrap;
  -moz-flex-flow: wrap;
  -ms-flex-flow: wrap;
  -o-flex-flow: wrap;
  flex-flow: wrap;
}
.divMisc li {
  max-width: 48%;
}
.divMisc a {
  display: block;
  overflow: hidden;
}
.divMisc img {
  display: block;
}
.divCalendar table {
  text-align: center;
}
.divCalendar caption {
  padding: 2.5% 2.5% 5%;
}
.divCalendar caption a {
  display: inline-block;
  vertical-align: middle;
}
.divCalendar th,
.divCalendar td {
  height: 2.69230769em;
  font-size: 13px;
}
.divSearchPanel form {
  display: block;
  position: relative;
  padding-right: 39px;
}
.divSearchPanel input[type="text"] {
  border: 1px solid #ddd;
  color: #595959;
  display: block;
  width: 100%;
  height: 36px;
  line-height: 24px;
  padding: 5px 5%;
  border-right: none;
}
.divSearchPanel input[type="text"]:focus {
  border-color: #014099;
}
.divSearchPanel input[type="submit"] {
  display: block;
  width: 39px;
  height: 100%;
  background-color: #014099;
  color: #fff;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
}
/* commentlist */
#commentlist {
  overflow: hidden;
  margin-bottom: 5%;
  padding-bottom: 5%;
  border-bottom: 2px dashed #cbcbcb;
}
#commentlist li {
  overflow: hidden;
  margin-bottom: 15px;
}
#commentlist .avatar {
  float: left;
  width: 45px;
  height: 45px;
  padding: 1px;
  overflow: hidden;
  border: 1px solid #dedede;
}
#commentlist .avatar img {
  display: block;
  width: 100%;
  height: 100%;
}
#commentlist .info {
  margin-left: 60px;
  overflow: hidden;
  color: #9a9a9a;
  border: 1px solid #eee;
  background-color: #fafafa;
  padding: 15px;
}
#commentlist .name {
  font-size: 15px;
  line-height: 1.35em;
}
#commentlist .name a {
  color: #2cadff;
}
#commentlist .replay {
  font-size: 12px;
}
#commentlist .text {
  padding: 5px 0;
  font-size: 15px;
  color: #555;
  word-wrap: break-word;
  word-break: break-word;
}
#commentlist li li {
  margin: 2.43% 0 0 60px;
}
#commentlist li li .avatar {
  float: right;
}
#commentlist li li .info {
  margin-left: 0;
  margin-right: 60px;
}
#commentlist li li li {
  margin-left: 5%;
}
#commentlist #pagenavi {
  margin-top: 3.5%;
}
/* comment */
#comment .item {
  margin-bottom: 1em;
  overflow: hidden;
}
#comment label {
  display: block;
  font-size: 16px;
  line-height: 1.5em;
  margin-bottom: 0.5em;
}
#comment .text {
  width: 100%;
  border: 1px solid #c0c0c0;
  height: 40px;
  padding: 5px 15px;
  line-height: 30px;
  background-color: #fff;
  font-size: 14px;
}
#comment .text:focus {
  border-color: #014099;
}
#comment textarea.text {
  height: 150px;
}
#comment .verify {
  position: relative;
}
#comment .verify .text {
  padding-right: 110px;
}
#comment .verify img {
  display: block;
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  height: 30px;
  width: auto;
}
#comment .send {
  background: url(images/submit.gif) no-repeat;
  border: none;
  display: block;
  width: 88px;
  height: 29px;
  cursor: pointer;
  text-indent: -999em;
  float: right;
}
/* footer */
#footer {
  background-color: #232323;
  clear: both;
}
#bottom {
  color: #bbb;
  font-size: 14px;
  line-height: 1.875em;
  text-align: justify;
}
#bottom .inner {
  background-color: #353535;
  padding: 30px;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-flex-flow: wrap;
  -moz-flex-flow: wrap;
  -ms-flex-flow: wrap;
  -o-flex-flow: wrap;
  flex-flow: wrap;
}
#bottom .item {
  width: 33.333%;
}
#bottom .item:last-child {
  padding-right: 0;
}
#bottom .bk8-title {
  color: #fefefe;
  margin-bottom: 15px;
  background: no-repeat left center;
  background-size: auto 1.25em;
  padding-left: 1.66666667em;
}
#bottom .intro {
  white-space: pre-line;
}
#bottom #bk8-about {
  width: 30%;
}
#bottom #bk8-statistics {
  width: 20%;
}
#bottom #bk8-reader {
  width: 23%;
}
#bk8-about .bk8-title {
  background-image: url(images/icon_about.png);
}
#bk8-statistics .bk8-title {
  background-image: url(images/icon_statistics.png);
  padding-left: 1.75em;
}
#bk8-statistics ul {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: wrap;
  -moz-flex-flow: wrap;
  -ms-flex-flow: wrap;
  -o-flex-flow: wrap;
  flex-flow: wrap;
  width: 103%;
  overflow: hidden;
  margin-bottom: 5%;
}
#bk8-statistics li {
  width: 50%;
  padding-right: 3%;
  padding-bottom: 3%;
}
#bk8-statistics form {
  display: block;
  position: relative;
  padding-right: 39px;
}
#bk8-statistics input[type="text"] {
  color: #595959;
  display: block;
  width: 100%;
  height: 36px;
  line-height: 24px;
  padding: 5px 5%;
  border-right: none;
  background-color: rgba(255, 255, 255, 0.9);
}
#bk8-statistics input[type="text"]:focus {
  border-color: #014099;
}
#bk8-statistics input[type="submit"] {
  display: block;
  width: 39px;
  height: 100%;
  background-color: #014099;
  color: #fff;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
}
#bk8-reader .bk8-title {
  background-image: url(images/icon_reader.png);
  background-size: auto 1.25em;
  padding-left: 1.83333333em;
}
#bk8-reader ul {
  width: 103%;
  overflow: hidden;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: wrap;
  -moz-flex-flow: wrap;
  -ms-flex-flow: wrap;
  -o-flex-flow: wrap;
  flex-flow: wrap;
}
#bk8-reader li {
  width: 20%;
  padding: 2% 3% 1% 0;
}
#bk8-reader a {
  display: block;
  border: 2px solid #fff;
}
#bk8-reader img {
  display: block;
  width: 100%;
}
/* copyright */
#copyright {
  padding: 20px 0;
  color: #ddd;
  font-size: 15px;
  line-height: 1.875em;
}
#copyright .inner {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: wrap;
  -moz-flex-flow: wrap;
  -ms-flex-flow: wrap;
  -o-flex-flow: wrap;
  flex-flow: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
#copyright a {
  color: #ddd;
}
#copyright a:hover {
  color: #2cadff;
}
    /* 用户面板样式 - 修复版 */
    #user.user-panel {
        margin-bottom: 20px;
        font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    }
    
    /* 通用卡片样式 */
    .user-card {
        background: white;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .user-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
    }
    
    /* 卡片头部 */
    .card-header {
        padding: 20px 20px 10px;
        position: relative;
        border-bottom: 1px solid #f0f2f5;
    }
    
    .card-header h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
        color: #333;
    }
    
    .vip-crown {
        position: absolute;
        top: 15px;
        right: 20px;
    }
    
    /* VIP卡片特殊样式 */
    .vip-card {
        background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
        border: 1px solid #ffd700;
    }
    
    .vip-card .card-header {
        background: linear-gradient(90deg, #ffd700, #ffb800);
        color: white;
        border-bottom: none;
    }
    
    .vip-card .card-header h3 {
        color: white;
    }
    
    /* 用户资料区域 */
    .user-profile {
        padding: 20px;
        display: flex;
        align-items: center;
    }
    
    .avatar-container {
        position: relative;
        margin-right: 16px;
    }
    
    .avatar-circle {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background: linear-gradient(135deg, #2c80ff, #1a6fe0);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 24px;
        font-weight: 600;
        box-shadow: 0 4px 10px rgba(44, 128, 255, 0.3);
    }
    
    .vip-avatar .avatar-circle {
        background: linear-gradient(135deg, #ffd700, #ffb800);
        box-shadow: 0 4px 10px rgba(255, 184, 0, 0.4);
    }
    
    .vip-badge {
        position: absolute;
        bottom: -5px;
        right: -5px;
        background: linear-gradient(135deg, #ffb800, #ff8c00);
        color: white;
        padding: 3px 10px;
        border-radius: 12px;
        font-size: 12px;
        font-weight: 600;
        box-shadow: 0 2px 5px rgba(255, 140, 0, 0.3);
    }
    
    .user-info {
        flex: 1;
    }
    
    .username {
        margin: 0 0 8px 0;
        font-size: 20px;
        font-weight: 600;
        color: #333;
    }
    
    .welcome-text {
        margin: 0;
        color: #666;
        font-size: 14px;
    }
    
    /* 升级提示卡片 */
    .upgrade-card {
        background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%);
        border-radius: 12px;
        padding: 16px;
        margin: 0 20px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .upgrade-content h4 {
        margin: 0 0 5px 0;
        font-size: 16px;
        color: #2c80ff;
    }
    
    .upgrade-content p {
        margin: 0;
        font-size: 14px;
        color: #666;
    }
    
    /* 访客面板 */
    .guest-card {
        text-align: center;
    }
    
    .guest-content {
        padding: 30px 20px;
    }
    
    .guest-text h2 {
        margin: 16px 0 8px;
        font-size: 20px;
        font-weight: 600;
        color: #333;
    }
    
    .guest-text p {
        margin: 0;
        color: #666;
        font-size: 14px;
    }
    
    /* 按钮样式 */
    .action-buttons {
        padding: 0 20px 20px;
        display: flex;
        gap: 12px;
    }
    
    .btn {
        padding: 12px 16px;
        border-radius: 8px;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s;
        cursor: pointer;
        border: none;
        flex: 1;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .btn-primary {
        background: #2c80ff;
        color: white;
    }
    
    .btn-primary:hover {
        background: #1a6fe0;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(44, 128, 255, 0.3);
    }
    
    .btn-outline {
        border: 1px solid #e1e4e8;
        color: #666;
        background: white;
    }
    
    .btn-outline:hover {
        background: #f5f7fa;
        border-color: #d0d7de;
    }
    
    .btn-vip {
        background: linear-gradient(135deg, #ffb800, #ff8c00);
        color: white;
    }
    
    .btn-vip:hover {
        background: linear-gradient(135deg, #e6a500, #e67a00);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
    }

/* 响应式优化 */
@media only screen and (max-width: 1536px) {
  #logo {
    font-size: 2.60416667vw;
    max-width: 16.27604167vw;
  }
  #menu {
    width: calc(100% - 16.5vw);;
  }
}
@media only screen and (max-width: 1280px) {
  #menu li {
    margin-left: 2.3%;
    padding-left: 2.3%;
  }
  .bk8-title {
    font-size: 1.875vw;
  }
  #wrapper .inner,
  #bottom .inner {
    padding: 20px;
  }
  #sidebar {
    width: 250px;
    padding-left: 20px;
  }
  .widget li {
    font-size: 13px;
  }
  #main {
    width: calc(100% - 270px);
  }
  .article {
    padding-bottom: 25px;
    margin-bottom: 20px;
  }
  .article .thumbnail {
    width: 195px;
  }
  .article .text {
    font-size: 14px;
    margin-left: 210px;
  }
  .divCalendar th,
  .divCalendar td {
    font-size: 12px;
  }
  #copyright {
    font-size: 14px;
    padding: 1.5625% 0;
  }
  
  /* 文章标题响应式优化 */
  #post .title {
    font-size: 28px;
  }
  
  .postmeta {
    font-size: 13px;
    padding: 12px;
  }
  
  .entry {
    font-size: 15px;
  }
  
  #pagenavi {
    font-size: 14px;
  }
  #bottom #bk8-statistics {
    width: 250px;
  }
  #bk8-Slides {
    margin-bottom: 20px;
  }
}
@media only screen and (max-width: 1024px) {
  #logo {
    font-size: 28px;
    max-width: 180px;
  }
  #navbtn {
    display: block;
  }
  #menu {
    position: fixed;
    right: 0;
    top: 0;
    margin-top: 0;
    background-color: rgba(1, 64, 153, 0.35);
    width: 100%;
    height: 100%;
    z-index: 9;
    display: none;
  }
  #menu > ul {
    position: fixed;
    right: 0;
    top: 0;
    width: 250px;
    padding: 10vh 2.5%;
    height: 100%;
    background-color: #fff;
    background-image: linear-gradient(180deg, #eee, #fff);
    display: block;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: all .3s;
  }
  #menu .show {
    transform: translateX(0);
  }
  #menu li {
    margin: 0;
    padding: 5px 0;
    line-height: 40px;
  }
  #menu li:before {
    display: none;
  }
  #menu a {
    color: #333;
    background-color: #e9e9e9;
    padding: 0 25px;
    border-radius: 20px;
  }
  #menu a:hover {
    color: #fff;
    background-color: #014099;
  }
  .postmeta {
    font-size: 12px;
  }
  .entry {
    font-size: 14px;
  }
  #comment label {
    font-size: 14px;
  }
  #comment .text {
    height: 32px;
    line-height: 24px;
    padding: 4px 10px;
  }
  #comment .verify img {
    right: 0;
  }
  #wrapper .inner {
    display: block;
  }
  #sidebar {
    width: auto;
    padding-left: 0;
    display: none;
  }
  #main {
    width: auto;
  }
  .bk8-title {
    font-size: 20px;
  }
  .article {
    padding-bottom: 20px;
    margin-bottom: 15px;
  }
  .article .meta {
    font-size: 12px;
  }
  #copyright {
    font-size: 13px;
  }
  
  /* 文章标题和元素信息响应式优化 */
  #post .title {
    font-size: 24px;
    text-align: center;
  }
  
  .postmeta {
    text-align: center;
  }
  
  #pagenavi {
    font-size: 13px;
    text-align: center;
  }
  #bottom #bk8-about {
    width: 100%;
    margin-bottom: 2.5%;
  }
  #bottom #bk8-reader {
    width: 300px;
  }
  #bk8-Slides {
    margin-bottom: 12px;
  }
}
@media only screen and (max-width: 768px) {
  #header {
    padding: 20px 0 32px;
  }
  #logo {
    font-size: 22px;
    max-width: 150px;
  }
  #logo small {
    font-size: 10px;
  }
  #commentlist {
    margin-bottom: 20px;
  }
  #commentlist li {
    margin-bottom: 15px;
  }
  #commentlist .avatar {
    width: 35px;
    height: 35px;
  }
  #commentlist .info {
    margin-left: 45px;
  }
  #commentlist .name {
    font-size: 14px;
    margin-bottom: 5px;
  }
  #commentlist .text {
    font-size: 14px;
    line-height: 1.75em;
    padding: 0;
  }
  #commentlist li li {
    margin-top: 15px;
  }
  #comment label,
  #comment .text {
    font-size: 13px;
  }
  #wrapper .inner {
    padding: 12px;
    margin-top: -12px;
  }
  .bk8-title {
    font-size: 18px;
  }
  .article {
    padding-bottom: 3%;
    margin-bottom: 2.5%;
  }
  .article .meta {
    margin-bottom: 2%;
  }
  .article .thumbnail {
    width: 182px;
  }
  .article .text {
    font-size: 13px;
    margin-left: 195px;
  }
  #copyright {
    padding: 15px 0;
  }
  #copyright .inner {
    display: block;
    text-align: center;
  }
  .entry {
    font-size: 13px;
  }
  
  /* 文章标题和元素信息响应式优化 */
  #post {
    padding: 5px;
  }
  
  #post .title {
    font-size: 20px;
    line-height: 1.4;
    padding-bottom: 12px;
  }
  
  #post .title:after {
    width: 60px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .postmeta {
    font-size: 11px;
    padding: 10px;
  }
  
  .postmeta span {
    margin-right: 10px;
  }
  
  .postmeta span:not(:last-child):after {
    margin-left: 10px;
  }
  
  .tags {
    font-size: 12px;
    padding: 15px 0;
    margin: 20px 0;
  }
  
  .tags a {
    margin: 0 6px;
    padding: 3px 10px;
    margin-bottom: 6px;
  }
  
  #post .bk8-title {
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: bold;
  }
  .tags a {
    margin: 0 3px;
  }
  #pagenavi {
    font-size: 12px;
  }
  #bottom .inner {
    display: block;
    padding: 20px 15px 15px;
  }
  #bottom .bk8-title {
    font-size: 16px;
    font-weight: bold;
  }
  #bottom #bk8-statistics {
    width: auto;
    margin-bottom: 2.5%;
  }
  #bottom #bk8-reader {
    width: auto;
  }
  #bk8-statistics ul {
    margin-bottom: 2.5%;
    text-align: left;
  }
  #bk8-statistics li {
    padding-bottom: 1%;
    width: 33.333%;
  }
  #bk8-reader ul {
    width: 102%;
  }
  #bk8-reader li {
    width: 10%;
    padding: 1% 2% 1% 0;
  }
  #bk8-reader a {
    border-width: 1px;
  }
}
@media only screen and (max-width: 540px) {
  .bk8-title {
    margin-bottom: 2%;
  }
  .article {
    padding-bottom: 15px;
    margin-bottom: 12px;
  }
  .article .bk8-title {
    margin-bottom: 1.5%;
  }
  .article .meta {
    margin-bottom: 2.5%;
  }
  .article .thumbnail {
    width: auto;
    float: none;
    margin-bottom: 5px;
  }
  .article .text {
    margin-left: 0;
  }
  .article .excerpt {
    height: auto;
    max-height: 8em;
  }
  .article .more {
    margin-top: 2px;
  }
  #bottom .bk8-title {
    margin-bottom: 10px;
  }
  #bottom #bk8-about,
  #bottom #bk8-statistics {
    margin-bottom: 15px;
  }
  #bk8-statistics li {
    width: 50%;
  }
  #bk8-reader ul {
    width: 105%;
  }
  #bk8-reader li {
    width: 20%;
    padding: 2% 5% 3% 0;
  }
  
  /* 文章标题和元素信息响应式优化 */
  #post .title {
    font-size: 18px;
    text-align: center;
  }
  
  .postmeta {
    text-align: center;
  }
  
  .postmeta span {
    display: block;
    margin-right: 0;
    margin-bottom: 8px;
  }
  
  .postmeta span:not(:last-child):after {
    display: none;
  }
  
  .entry {
    font-size: 12px;
    line-height: 1.7;
  }
}

/* 响应式设计 - 用户面板 */
@media (max-width: 768px) {
    .user-profile {
        flex-direction: column;
        text-align: center;
    }
    
    .avatar-container {
        margin-right: 0;
        margin-bottom: 16px;
    }
    
    .upgrade-card {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
}

/* 文章内容强制换行优化 - 新增 */
.entry * {
  max-width: 100%;
}

/* 防止长URL和连续字符溢出 */
.entry a[href*="://"] {
  word-break: break-all;
  overflow-wrap: anywhere;
}

/* 代码块特殊处理 */
.entry pre code {
  white-space: pre-wrap;
  word-break: break-all;
}

/* 表格在移动端的特殊处理 */
@media (max-width: 768px) {
  .entry table {
    font-size: 14px;
  }
  
  .entry td, 
  .entry th {
    padding: 8px 4px;
    word-break: break-word;
  }
}
/* 推荐资源区块 */
.recommend-section {
    margin: -10px 0 10px;
}

.section-header {
    margin-bottom: 30px;
    position: relative;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    padding-left: 12px;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background: linear-gradient(to bottom, #ff6b6b, #1890ff);
    border-radius: 2px;
}

.section-divider {
    height: 2px;
    background: linear-gradient(
      to right, 
      #95B3D7 0%,
      #DBE5F1 50%,
      #95B3D7 100%
    );
    margin-top: 5px;
}

.section-bottom-divider {
    height: 2px;
    background: linear-gradient(
      to right,
      #95B3D7 0%,
      #DBE5F1 50%,
      #95B3D7 100%
    );
    margin-top: 25px;
    margin-bottom: 15px;
}

/* 网格布局容器 */
.article-grid-container {
    padding: 0 10px;
}

.article-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -6px; /* 减小间距，因为要显示5个 */
}

/* 网格项 - 桌面端每行5个 */
.article-grid-item {
    box-sizing: border-box;
    padding: 0 6px;
    margin-bottom: 15px;
    width: 20%; /* 桌面端每排5个 */
}

/* 卡片样式 */
.article_card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

.article_card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #1890ff;
}

/* 图片区域 - 减小高度 */
.card-thumbnail {
    margin: 0;
    padding: 0;
    height: 140px; /* 减小图片高度 */
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
    flex-shrink: 0;
}

.card-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

.card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.card-thumbnail:hover img {
    transform: scale(1.05);
}

/* 无图占位样式 */
.no-thumbnail {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-placeholder {
    color: white;
    font-size: 14px;
    opacity: 0.8;
}

/* 内容区域 */
.card-content {
    padding: 10px 12px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    min-height: 50px; /* 减小最小高度 */
}

.card-title {
    margin: 0;
    font-size: 14px; /* 减小字体大小 */
    line-height: 1.4;
    font-weight: 500;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 限制最多显示两行 */
    -webkit-box-orient: vertical;
}

.card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-title a:hover {
    color: #1890ff;
}

/* 空占位符 */
.article-placeholder {
    height: 200px; /* 减小高度 */
    background: #f8f9fa;
    border-radius: 6px;
    border: 2px dashed #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 13px;
    position: relative;
}

.article-placeholder::before {
    content: "";
    display: block;
    width: 50px;
    height: 50px;
    background: #e9ecef;
    border-radius: 50%;
    margin-bottom: 8px;
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.article-placeholder::after {
    content: "站长懒得推荐";
    font-size: 13px;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

/* 平板端适配 - 每行3个 */
@media (max-width: 1024px) and (min-width: 769px) {
    .recommend-section {
        margin: 20px 0 15px;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .article-grid-item {
        width: 33.333%; /* 平板端每排3个 */
        padding: 0 8px;
        margin-bottom: 20px;
    }
    
    .article-grid {
        margin: 0 -8px;
    }
    
    .card-thumbnail {
        height: 130px;
    }
    
    .card-content {
        padding: 12px 15px;
        min-height: 55px;
    }
    
    .card-title {
        font-size: 14px;
    }
    
    .article-placeholder {
        height: 180px;
    }
    
    .article-placeholder::before {
        top: 35px;
        width: 45px;
        height: 45px;
    }
    
    .article-placeholder::after {
        bottom: 35px;
    }
}

/* 移动端适配 - 每行2个 */
@media (max-width: 768px) {
    .recommend-section {
        margin: 15px 0 10px;
    }
    
    .section-title {
        font-size: 18px;
        margin-bottom: 10px;
        padding-left: 10px;
    }
    
    .article-grid-container {
        padding: 0 8px;
    }
    
    .article-grid {
        margin: 0 -6px;
    }
    
    .article-grid-item {
        width: 50%; /* 移动端每排2个 */
        padding: 0 6px;
        margin-bottom: 12px;
    }
    
    .card-thumbnail {
        height: 120px;
    }
    
    .card-content {
        padding: 10px 12px;
        min-height: 50px;
    }
    
    .card-title {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }
    
    .article-placeholder {
        height: 170px;
    }
    
    .article-placeholder::before {
        top: 35px;
        width: 40px;
        height: 40px;
    }
    
    .article-placeholder::after {
        bottom: 35px;
        font-size: 12px;
    }
}

/* 小手机端适配 */
@media (max-width: 480px) {
    .recommend-section {
        margin: 12px 0 8px;
    }
    
    .section-title {
        font-size: 16px;
        padding-left: 8px;
    }
    
    .section-title::before {
        width: 3px;
        top: 3px;
        bottom: 3px;
    }
    
    .article-grid-container {
        padding: 0 5px;
    }
    
    .article-grid {
        margin: 0 -4px;
    }
    
    .article-grid-item {
        padding: 0 4px;
        margin-bottom: 10px;
    }
    
    .card-thumbnail {
        height: 100px;
    }
    
    .card-content {
        padding: 8px 10px;
        min-height: 45px;
    }
    
    .card-title {
        font-size: 13px;
    }
    
    .article-placeholder {
        height: 150px;
    }
    
    .article-placeholder::before {
        top: 30px;
        width: 35px;
        height: 35px;
    }
    
    .article-placeholder::after {
        bottom: 30px;
        font-size: 12px;
    }
}

/* 超大屏幕适配 - 每行5个但间距更大 */
@media (min-width: 1400px) {
    .recommend-section {
        margin: 30px 0 25px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .article-grid {
        margin: 0 -10px;
    }
    
    .article-grid-item {
        padding: 0 10px;
    }
    
    .card-thumbnail {
        height: 160px;
    }
    
    .card-content {
        padding: 12px 15px;
        min-height: 55px;
    }
    
    .card-title {
        font-size: 15px;
    }
}
/* 排行榜区域样式 */
.rankings-section {
    display: flex;
    gap: 20px;
    margin: 25px 0 0;
}

.ranking-card {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    overflow: hidden;
}

.ranking-header {
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #f0f0f0;
}

.ranking-title-area {
    display: flex;
    flex-direction: column;
}

.ranking-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ranking-title svg {
    stroke: #3498db;
}

.ranking-card:nth-child(2) .ranking-title svg {
    stroke: #f39c12;
}

.ranking-subtitle {
    font-size: 0.8rem;
    color: #666;
    font-weight: 400;
}

/* 排行榜列表样式 */
.ranking-list {
    padding: 0;
}

.ranking-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.2s;
    min-height: 52px;
}

.ranking-item:last-child {
    border-bottom: none;
}

.ranking-item:hover {
    background-color: #f9f9f9;
}

/* 前三名特殊样式 */
.ranking-item.top-1 .rank-order {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #8a6d00;
    font-weight: bold;
    box-shadow: 0 1px 3px rgba(255, 215, 0, 0.3);
}

.ranking-item.top-2 .rank-order {
    background: linear-gradient(135deg, #c0c0c0, #e0e0e0);
    color: #666;
    font-weight: bold;
}

.ranking-item.top-3 .rank-order {
    background: linear-gradient(135deg, #cd7f32, #e6a95c);
    color: #8a5a2e;
    font-weight: bold;
}

/* 排名序号 */
.rank-order {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 4px;
    background: #f0f2f5;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-right: 12px;
    font-weight: 500;
}

/* 排名内容 - 使用flex布局确保文件名和次数在同一行 */
.rank-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: #333;
    transition: color 0.2s;
}

.rank-content:hover {
    color: #3498db;
}

.ranking-card:nth-child(2) .rank-content:hover {
    color: #f39c12;
}

/* 文件名容器 - 负责文件名文本的溢出处理 */
.file-name-wrapper {
    flex: 1;
    min-width: 0;
    margin-right: 12px;
}

.file-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 下载/购买次数 */
.rank-count {
    flex-shrink: 0;
    font-size: 0.8rem;
    color: #666;
    background: #f0f2f5;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.ranking-item.top-1 .rank-count {
    background: rgba(255, 215, 0, 0.1);
    color: #d4a500;
}

.ranking-item.top-2 .rank-count {
    background: rgba(192, 192, 192, 0.1);
    color: #666;
}

.ranking-item.top-3 .rank-count {
    background: rgba(205, 127, 50, 0.1);
    color: #b87333;
}

/* 空数据提示 */
.empty-ranking {
    text-align: center;
    padding: 30px 20px;
    color: #999;
    font-style: italic;
    font-size: 0.9rem;
}

/* 排行榜底部横线分隔符 */
.rankings-bottom-divider {
    height: 2px;
    background: linear-gradient(
      to right,
      #95B3D7 0%,
      #DBE5F1 50%,
      #95B3D7 100%
    );
    margin-top: 25px;
    margin-bottom: 15px;
}

/* 移动端适配 */
@media (max-width: 767px) {
    .rankings-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .ranking-card {
        width: 100%;
    }
    
    .ranking-header {
        padding: 14px 16px;
    }
    
    .ranking-title {
        font-size: 1.1rem;
    }
    
    .ranking-item {
        padding: 10px 14px;
        min-height: 48px;
    }
    
    .rank-order {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
        margin-right: 10px;
    }
    
    .file-name {
        font-size: 0.85rem;
    }
    
    .rank-count {
        font-size: 0.75rem;
        padding: 1px 6px;
    }
}