* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f2f2f2;
    color: #333;
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 2.5px;
}
a{
    text-decoration: none;
    color: #333;
}
/* 导航栏样式 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background-color: white;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
    grid-gap: 15px;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #ff2442;
    height: 40px;
}
.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.nav-icons {
    display: flex;
    gap: 18px;
    align-items: center;
}

.nav-icons i {
    font-size: 20px;
    color: #333;
}
.tishixx{
margin-top: 20px;
padding: 15px;
}

        /* 分类标签栏 */
        .category-tabs {
display: flex;
  overflow-x: auto;
  padding:20px 15px;
  background-color: white;
  border-bottom: 1px solid #eee;
  scrollbar-width: none;
  align-items: center;
  grid-gap: 20px;
  justify-content: space-between;
        }
        
        .category-tabs::-webkit-scrollbar {
            display: none; /* 隐藏滚动条 */
        }
        .category-tabs a{
  text-decoration: none;
  color: #333;
  display: flex;
  align-items: center;
  flex-direction: column;
  grid-gap: 15px;

        }
        .view-boddy{
          display: flex;
  align-items: center;
  grid-gap: 30px;
        }
        .category-tab {
white-space: nowrap;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
        }
            /* 文章列表容器 */
        .article-list {
            display: grid;
        padding: 15px;
        grid-gap: 15px;
        grid-template-columns: repeat(3,minmax(0,1fr));
        }
        
        /* 文章卡片 */
        .article-card {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            transition: transform 0.2s, box-shadow 0.2s;
        }
        
        .article-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        /* 文章图片容器 */
        .article-img-container {
            position: relative;
            width: 100%;
            overflow: hidden;
        }
        
        .article-img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .article-card:hover .article-img {
            transform: scale(1.05);
        }
        
        /* 图片上的信息 */
        .img-overlay {
position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  padding: 15px;
  color: white;
        }
        .ty-text2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: var(--line-height-2);
}
.biaoqian{
  position: absolute;
  top: 15px;
  left: 15px;
}
.article-info{
  display: flex;
  align-items: center;
  grid-gap: 15px;
  justify-content: space-between;
  margin: 0 10px 10px 10px;
}
.article-jiage{
  display: flex;
  flex-direction: column;
  grid-gap: 5px;
  color: #fe418d;
}
.article-author{
  background: #288adf;
  color: white;
  border-radius: 6px;
  padding: 5px 10px;
}
.article-author:hover{
background: #fe418d;
}
.article-author a{
color: white;
}
.article-yuanjia span{
  font-size: 16px;
  text-decoration: line-through;
    text-decoration-thickness: auto;
  text-decoration-thickness: 1px;
  text-decoration-color: theme('colors.discount');
  text-decoration-offset: 2px;
}
.article-zhekou span{
  color: #f70c0c;
  font-size: 16px;
  font-weight: 700;
}
.biaoqian span{
  background: #ff8686;
  color: white;
  padding: 5px 15px;
  border-radius: 8px;
  font-size: 12px;
}
        .img-stats {
display: flex;
  gap: 10px;
  font-size: 12px;
  align-items: center;
  justify-content: space-between;
        }
        
        .img-stat {
            display: flex;
            align-items: center;
            gap: 3px;
        }
        
        /* 文章内容 */
        .article-content {
            padding: 10px;
        }
        
        .article-title {
            font-weight: 700;
            margin-bottom: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.4;
            width: 100%;
        }
        .article-title a{
            color: #333;
            text-decoration: none;
            font-size: 15px;
            width: 100%;
            display: block;
        }

        .article-desc{
          color: #7e7e7e;
        }

        /*分页*/
.pagination{
	margin: 30px 0;
}
.pagination ul li { display: inline-block; margin: 0 5px; }
.pagination ul {list-style: none;text-align: center;margin-top: 20px;}
.pagination ul li a {
  display: block;
  text-align: center;
  background: #f4f4f4;
  font-size: 14px;
  line-height: 30px;
  height: 30px;
  overflow: hidden;
  padding: 0 10px;
  border-radius: 4px;
  box-sizing: border-box;
}
.pagination ul li.disabled span {
      display: block;
  text-align: center;
  background: #d5d5d5;
  font-size: 14px;
  line-height: 30px;
  height: 30px;
  overflow: hidden;
  padding: 0 10px;
  border-radius: 4px;
  box-sizing: border-box;
}
.pagination ul li a:hover {color: var(#ddd);}
.pagination ul li.active span{
      display: block;
  text-align: center;
  background: #86dbbf;
  font-size: 14px;
  line-height: 30px;
  height: 30px;
  overflow: hidden;
  padding: 0 10px;
  border-radius: 4px;
  box-sizing: border-box;
}
.view-content{
    background: white;
  padding: 15px;
  border-bottom: 1px solid #eee;
}
.view-content h2{
    color: #333;
    font-size: 15px;
}
.view-info{
  color: #777;
  line-height: 2;
  width: 50%;
}
.admin-author{
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-gap: 20px;
}
.admin-author a{
  background: #44a8ff;
  color: white;
  padding: 2px 15px;
  border-radius: 6px;
  text-align: center;
}
.admin-author a:hover{
  background: #0870ca;
}
.view-info p{
margin-top: 10px;
}
img.view-img-img{
  height: 100%;
  object-fit: cover;
  width: 100%;
  border-radius: 6px;
}
.yuanjia{
  color: #fe418d;
  font-size: 16px;
  text-decoration: line-through;
    text-decoration-thickness: auto;
  text-decoration-thickness: auto;
  text-decoration-thickness: 1px;
  text-decoration-color: theme('colors.discount');
  text-decoration-offset: 2px;
}
.zhekou{
  color: #f70c0c;
  font-size: 16px;
  font-weight: 700;
}
.view-imgs{
  height: 300px;
  width: 50%;
  background: #eaeaea;
  padding: 5px;
  border-radius: 6px;
  position: relative;
}
.view-v{
    line-height: 2;
    background: white;
  margin-top: 20px;
  padding: 15px;
}
.xm-text-yichu {
  word-wrap: break-word;
  word-break: break-all;
  position: relative;
}
.xm-txt-ellipsis {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}


.modal-content {
  background: #ffffff;
  border-bottom: 1px solid #eee;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}
.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
.modal-header h2 {
  font-size: 15px;
  color: #333;
}
.links-container {
padding: 20px;
  display: flex;
  grid-gap: 15px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.modal-content a {
font-size: 13px;
  border-radius: 6px;
  padding: 10px;
  text-align: center;
  background: #ececec;
}
.modal-content a:hover{
    background: #6ad2bf;
}

        /* 弹窗遮罩层 */
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            animation: fadeIn 0.3s ease-in-out;
        }

        /* 弹窗内容容器 */
        .popup-container {
            background-color: white;
            width: 90%;
            max-width: 500px;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
            overflow: hidden;
            transform: scale(0.9);
            opacity: 0;
            animation: popupIn 0.3s ease-out forwards;
        }

        /* 弹窗标题栏 */
        .popup-header {
            background-color: #3a8fe3;
            color: white;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .popup-title {
            margin: 0;
            font-size: 15px;
            font-weight: 600;
        }

        /* 弹窗内容区域 */
        .popup-content {
            padding: 20px;
            line-height: 1.6;
        }

        .popup-message {
            margin-bottom: 20px;
        }

        /* 弹窗底部按钮区域 */
        .popup-footer {
            padding: 10px 20px;
            background-color: #f8f9fa;
            text-align: right;
        }

        .popup-confirm {
            background-color: #dd6217;
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 15px;
            transition: background-color 0.2s;
        }

        .popup-confirm:hover {
            background-color: #2980b9;
        }

        /* 动画效果 */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes popupIn {
            to {
                transform: scale(1);
                opacity: 1;
            }
        }


.s-s input{
  padding: 6px 12px;
  border: 1px #acacac solid;
  background: #e6e6e6;
  border-radius: 8px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #ffffff;
    color: #333;
    line-height: 2;
    margin-top: 20px;
}



.nav-youbian{
  display: flex;
  grid-gap: 15px;
  align-items: center;
}
.category-tabs a img{
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

/****
**
**  内容页通用样式
**
***/
/*重新覆盖html默认样式*/
.view-v ul {
  margin: 30px 0;
  padding: 5px 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding-left: 35px;
  list-style: none;
}
.view-v ol {
  list-style: decimal;
  padding: 5px 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding-left: 35px;
  margin: 30px 0;
}
.view-v ol li, .view-v ul li {
  font-size: 14px;
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
  line-height: 25px;
  position: relative;
}
.view-v ul li::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  background: #369ef3;
  left: -15px;
  top: 50%;
  margin-top: -3px;
  border-radius: 50%;
}
.view-v ol li{
list-style: decimal;
}
.view-v ol li:last-of-type, .view-v ul li:last-of-type{
border-bottom: 0px solid #ddd;
}
.view-v del {
  color: #ff4f2cb2;
}
.view-v blockquote {
  background: #ddd;
  border-left: 3px solid #4bb0eb;
  padding: 15px;
  quotes: "\201C" "\201D" "\2018" "\2019";
  border-radius: 10px;
  margin: 20px 0;
}
.view-v h1, .view-v h2, .view-v h3, .view-v h4, .view-v h5, .view-v h6 {
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 18px;
  position: relative;
}
.view-v h1 {
  padding: 0 15px 0 20px;
}
.view-v h1::before {
  content: '¶';
  color: #ee3c3cad;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 22px;
}
.view-v h2 , .view-v h3 {
  padding: 0 15px;
}
.view-v h2::before {
  content: '';
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 0;
  width: 4px;
  border-radius: 2px;
  background: #ee3c3cad;
}
.view-v h3::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: #ee3c3cad;
  border-radius: 0 4px 4px 0;
}
.view-v h4::before {
  content: '「';
  color: #ee3c3cad;
  font-weight: 600;
  margin-right: 5px;
}
.view-v h4::after {
  content: '」';
  color: #ee3c3cad;
  font-weight: 600;
  margin-left: 5px;
}
.view-v h5 ,.view-v h6 {
  padding: 0 15px 0 28px;
}
.view-v h5::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 0;
  width: 20px;
  height: 20px;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAC8klEQVRYR+3WP2gTURwH8O/vKnVRRHKXP52cBO3g4p/BqYNIhy4muajUQRBFKjQV1En6ZxJBcmlRCoJDRe3FDiJVwamLS3FwqbgIgss1l2ZQF5XeT3I1Z3NJ7u5dLlAwN9699/t97vfe7/EIO/yhHe5DD9jpCv3fFVTu856+Xzi62Y/35hj9CFPNrlUwWeRJAJfBGADwBcBNI0/PRZFdAdo4xlQLjCqKjBzogat7hZCRAgPghJGBgbFnxglAOvS7b/fLb+q+qnv5BHBCyEBAWTdnANy2IxOtWSC1qsY+1jOFwAVG+gIVvXyHQbcaKuZCxmf5iMQogXFQtEsBeO5JT6BcMu+Bcb1lUhcyqfExACUAB6JEtgUqi+U5JrrmmcyFHCjwSYtQO+tSUSFbAmXdnAdwJVASdyWLPAS2kbFA8xsHNS13EzCmlx8R6KJQcBcypfFpho3cKxRna3ADsgEo6+ZjAKMhgjZ1d2KWR2gTSyD0h4jnIB2gXDIXwciFCPZvSnMl0wwshYrJGDImaMUGKovlLBPVOrDjh8APzFx8zDkjNa7FzYoGZsKT9XEarQOHmei1aJA246cqOWW6/i2l8VMGzoWIPW/k6eq2Ja6UwCz8pw2JGZ8sS8pUz8fWau/jGp+SgLchcGBgZD1Py41NUuoI+ZloV8ZU93+ogZKzfBiWfXAPCgMJU8Y42avQdMzI4ZBfmSizocqrUeJaAmsvBZGGBCtTziXeRY1rCxRAViEhXckqK93AeQJ9kYTvlmVlqmcTdhNEtefc+9X3utVmuX+CkK6oyqtu4nwrWP8bF5IZdGYjJ79wDuMCz4D+XmhFWnZbt7ab5ltBB6mbkyAaBPFCJassuwMmNb4L4EZgXwBc4AoGTZrUeA6A9x1yK6tzzvnFDlxBv0D176kCP2TCpbbjBXCRV9DZk0VeAONCE1IQ1zWg3dlF1sFQHWQIXFeBNrLAw5BwHBZWjQl6E3SbbB8X+R4Mg/Ca0wN2WtFeBTut4B84mFI4VpekyAAAAABJRU5ErkJggg==");
  background-size: 100% 100%;
}
.view-v h6::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 0;
  width: 20px;
  height: 20px;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAEI0lEQVRYR+3Xb2wTZRwH8G/vL22RPy5GW8fK6rJpGeFFY9RO3TRRE1HfmEAammEyjZmOSEg1RrPZaTD6xjhU/Ndlf0CZgwmD+qcgZBRIETeqY0Vcnc7pGonhRY2l3m2t5upqjq693l2vcy+8N81zz/NcPvf75fd7rjos8ku3yH34HyjK0PqlDLPzD56vMNL0VHxmpgXAoUIZXKgI3sMSpK+cNTAbylaj/9IkprnLM3+mkg8XQi4EsJ4lSL+ZNbAfVd+JG/XLcSERg3M8IAtZauBtDEkeNdN6fX9NfRqXueQiSwm00wQRMDMGw94snBJkqYBrSYIIXs/ojftqGq6IXHZRFIpkKYC2JSw9SJE663W0nthlqcMawwrJYpVCag1M48pNy1YNvLWRffGNIYSCv6Cnog7rjCtVIbUEXoG7qeqaNMj51F58dWoKPZY62JeWyUJG+ctcIplcIizWCpgTl9EIyODJn9BtceDWq/6B57tO/H4R688fFaZ7AWzWAiiJEyMDx39Ed6UDdyy7Ni/w1ekxbP95VJi/F8CRYoGycGLksaEJdFU6cPdy0zxkR/RbtE6FhPvHATQUm2JFODHSfyyCLmsd7lth/hf53q/jcE8OC+NTAG7PTKiNoCqcGPnpF+PotDrwwNXl+OC3H9A8cVqYPgPgFnFo1QCLwomRg4cvoPMGBzZHTgq3zwKwZ+ddKVATXAZhf+gdnPvuojAUqmJdrspRAtQU93pXEM+8clgwhQHU5itruUBNcTt6TsP9sl8weQC0S/VFOUBNcW/2folt2z+XhZPTZh6kSKJ79aqVRuFszRxfUm8sNbdz9xlsfekz2bhCQBvDMMM8z+ubN92Mjrb71brS+97dM4wtnk8U4SSBBEGErVarzeVywePxoHVLA1pb6lUh3+8bwZMv+BTjpIAVACa9Xq+uqakJ7e3tqpGd/WfR3Jr+81awIJS0mY0A+sLhMGw2W3qfGmTXvhAef/6gapxUBDuqqqoejUQiBvFbKUH2DHyNx54bLAqXF0jT9HBjY6Pd6/XOi7oc5K7936Dp2QNF4/IBrTqdLuLxeIi2tracRSGF/PDgKB55er8muHzATQB2m81m+P1+1NbmPoVyIfsOnUOj+2PNcPmAO1iWbeE4TmexWODz+WQhayrL4No2oCkuJ5Bl2VGO49ZmcisXObdeVSuRaq7ZZ3G10KBTqRQl3pQPGY1GEQgE4HQ6heVDAO5S1cklNmUDXQRB9KZSqXkfESaTCW63G7FYDKFQKDEyMoJoNKqfe/bbAJ7QGpcrxa8xDLOV5/k0kGXZv2ZnZ5FMJtNjmqYvURR1IpFInAcwAeD7ud/pUuDmAY1G41g8Hl9DkmScoqggx3FHAIyJMMlSQfI9V5zKagDC93dsoRFKimQx2dIWOV/U/yn6bx0WyDj8vgLOAAAAAElFTkSuQmCC");
  background-size: 100% 100%;
}
.view-v strong {
  font-weight: bolder;
}
.view-v hr {
	border-top: 1px dashed #8c8b8b;
  margin: 15px 0;
}
.view-v code:not([class]) {
display: inline-block;
  border-radius: 4px;
  font-size: 12px;
  background: #ddd;
  word-break: break-word;
  vertical-align: middle;
}
.view-v table {
	table-layout: fixed;
	border-top: 1px solid #f0f0f0;
	border-left: 1px solid #f0f0f0;
	width: 100%;
	border-radius: .25rem .25rem 0 0;
	border-collapse: separate;
	border-spacing: 0;
	margin: 1rem 0
}
.view-v table thead>tr>th {
	position: relative;
	color: #000000d9;
	font-weight: 500;
	text-align: left;
	background: #fafafa;
	border-bottom: 1px solid #f0f0f0
}
.view-v table tbody>tr>td {
	border-bottom: 1px solid #f0f0f0
}
.view-v table tbody>tr>td,.view-v table thead>tr>th {
	border-right: 1px solid #f0f0f0;
	position: relative;
	padding: 16px;
	overflow-wrap: break-word
}

.view-v a:not(.btn):not(.stretched-link) {
	display: inline-block
}
.view-v a:not([data-fslightbox]):not(.btn):not(.stretched-link) {
	text-decoration: none;
	display: inline-block;
	padding: 0 3px;
	word-break: break-all
}
.view-v img {
	max-width: 100%;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border: 0;
	vertical-align: middle;
	margin: 15px auto;
  
}
.view-v code {
	border-radius: .25rem;
	color: #ff502c;
	font-size: 14px;
	padding: .1em .4em;
	margin: 0 4px;
	font-family: "Cascadia Mono","Noto Sans SC",sans-serif;
	white-space: break-spaces
}
.view-v code[class*=language-] {
	padding: 0;
	margin: 0
}
.view-v pre {
	margin: 10px 0;
  background: #f2f2f2;
  padding: 15px;
}

pre[class*="language-"].line-numbers {
  border-radius: 10px ;
}
.view-v kbd {
	margin: 0 .2em;
	padding: .15em .4em .1em;
	font-size: 90%;
	background: rgba(150,150,150,.06);
	border: 1px solid rgba(100,100,100,.2);
	border-bottom-width: 2px;
	border-radius: 3px;
	font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace
}
.x-f {
  display: none;
  position: fixed;
  right: 10px;
  top: 65%;
  z-index: 995;
  transition: 300ms;
  display: flex;
  flex-direction: column;
}

.lianxi{
background: #2699ff;
  color: white;
  padding: 5px;
  border-radius: 50%;
  display: flex;
  align-items: center;
}
@media (max-width: 976px) { 
  .article-list {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

}
@media (max-width: 768px) { 
  .view-boddy{
    flex-direction: column;
  }
  .view-imgs{
    width: 100%;
  }
  .view-info{
    width: 100%;
  }

}
@media (max-width: 520px) { 
  .article-list {
    grid-template-columns: repeat(1,minmax(0,1fr));
  }
    .article-img {
    height: 200px;
  }
}