/*!
 * Ankia-Theme v1.7
 * https://ankia.top/
 *
 * Licensed Apache-2.0 © 东东
 */
body {
  font-family: "LXGW WenKai Screen", sans-serif;
  line-height: 1.5;
  font-size: 17px;
  margin: 0;
  height: 100%;
  min-height: 100vh;
  background-color: rgb(248 246 241); /* 背景色 */
}

:root {
  --shadow: 0px 24px 32px rgba(0, 0, 0, 0.04), 0px 16px 24px rgba(0, 0, 0, 0.04),
    0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
  --blue: #5986d1;
  --blue-strong: #307bc7;
  --gray: gray;
  --ck-color-table-caption-text: gray;
  --metadateColor: #777777;
  --icon-size: 32px;
  --grid-gap: 32px;
  --bili-radius:6px;
  --bili-gap:20px;
  --bili-blue:#00a1d6;
  --bili-mask:rgba(0,0,0,.5);
}
/* 块级公式独占一行并居中 */
.math-tex {
  display: block;          /* 关键：让 span 变成块级 */
  text-align: center;      /* 让 KaTeX 生成的内容居中 */
  margin: .5em 0;          /* 上下留一点呼吸感，可随意调 */
}
/* ---------- 网格 ---------- */
.bili-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
  gap:var(--bili-gap);
  padding:var(--bili-gap);
}

/* ---------- 卡片 ---------- */
.bili-card{
  position:relative;
  cursor:pointer;
  border-radius:var(--bili-radius);
  overflow:hidden;
  background:#fff;
  box-shadow:0 2px 4px rgba(0,0,0,.08);
  transition:transform .2s;
}
.bili-card:hover{ transform:translateY(-4px); }

/* 封面图 */
.bili-card__cover{
  position:relative;
  width:100%;
  padding-bottom:56.25%;          /* 16:9 */
}
.bili-card__img,
.bili-card__preview{
  position:absolute;
  top:0;left:0;width:100%;height:100%;
  object-fit:cover;
  border-radius:var(--bili-radius) var(--bili-radius) 0 0;
}
.bili-card__preview{display:none;}   /* 悬停时显示 */

/* 时长 */
.bili-card__dur{
  position:absolute;
  right:4px;bottom:4px;
  padding:2px 6px;
  font-size:12px;
  color:#fff;
  background:rgba(0,0,0,.6);
  border-radius:4px;
}

/* 中央播放图标 */
.bili-card__mask{
  position:absolute;
  inset:0;
  background:var(--bili-mask);
  display:flex;align-items:center;justify-content:center;
  opacity:0;
  transition:opacity .3s;
}
.bili-card:hover .bili-card__mask{ opacity:1; }
.bili-card__play-icon{
  width:40px;height:40px;
  fill:#fff;
}

/* 文字 */
.bili-card__title{
  margin:8px 10px 4px;
  font-size:14px;
  line-height:1.4;
  height:2.8em;
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.bili-card__up,
.bili-card__play{
  margin:0 10px 4px;
  font-size:12px;
  color:#999;
}

/* ---------- 弹窗（B 站暗色风格） ---------- */
.bili-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.8);
  align-items:center;
  justify-content:center;
  z-index:9999;
}
.bili-modal-box{
  width:90%;
  max-width:800px;
  background:#18181c;
  border-radius:8px;
  padding:24px;
  color:#e3e5e7;
  position:relative;
}
.bili-modal-close{
  position:absolute;
  right:16px;top:16px;
  font-size:24px;
  color:#99a2aa;
  cursor:pointer;
}

pre,
code {
  font-family: LXGWWenKaiMono monospace;
}

#layout {
  max-width: 100% !important;
  display: flex;
  flex-direction: row;
  margin: 0 auto;
  min-width: 100% !important;
  justify-content: center;
  height: 100%;
  min-height: calc(100vh - 130px);
}

#childLinks.grid ul {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}

#childLinks.grid ul li {
  width: 180px;
  height: 140px;
  padding: 10px;
}

#childLinks.grid ul li a {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  border: 1px solid #ddd;
  /* border-radius: 5px; */
  justify-content: center;
  align-content: center;
  text-align: center;
  font-size: large;
}

#childLinks.hidechildlinks {
  display: none;
}

.blogPostTopStyle {
  color: var(--blue);
  margin-right: 5px;
}

#childLinks.grid ul li a:hover {
  background: #eee;
}

#childLinks.list ul {
  list-style-type: none;
  display: inline-flex;
  flex-wrap: wrap;
  padding: 0;
  margin-top: 5px;
}

#childLinks.list ul li {
  margin-right: 20px;
}

#toggleMenuButton {
  border: none;
  background: #ffffff00;
  z-index: 1000;
  width: 1em;
  height: 1em;
  display: none;
  color: black;
  cursor: pointer;
  position: absolute;
  right: 0.5em;
}

#toggleMenuButton .feather-menu line {
  transition: all 0.3s ease;
}

#toggleMenuButton.active .feather-menu line:first-child {
  opacity: 0;
  transform: translate(-100%, 0);
}

#toggleMenuButton.active .feather-menu line:nth-child(2) {
  transform: translate(0, 6px);
  rotate: 45deg;
  transform-origin: center;
}

#toggleMenuButton.active .feather-menu line:last-child {
  transform: translate(0, -6px);
  rotate: -45deg;
  transform-origin: center;
}

#parentLink {
  float: right;
  margin-top: 20px;
}

#noteClippedFrom {
  padding: 10px 0 10px 0;
  margin: 20px 0 20px 0;
  color: #666;
  border: 1px solid #ddd;
  border-left: 0;
  border-right: 0;
}

#toggleMenuButton::after {
  position: relative;
  top: -2px;
  left: 1px;
}

#navigationBar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  background-color: #ffffff00;
  height: 50px;
  /* box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); */
  display: flex;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: 0.5s ease;
}

#navigationBar a {
  cursor: pointer;
}

#navigationItems {
  /* text-shadow: 1px 1px 10px rgb(0 0 0 / 24%); */
  position: inherit;
  right: 20px;
  display: flex;
  height: 50px;
  align-items: center;
  border-top: 1px solid #0000001a;
}

.menuLinkStyle {
  color: #232627e0;
}

.navigationItemsStyle {
  margin: 0px 12px;
  display: flex;
  align-items: center;
}

.navigationItemsStyle svg {
  transition: all 0.3s ease;
}

.unfolding {
  rotate: -180deg;
}

.menuLinkStyle:hover {
  color: var(--blue);
}

.dropDownStyle {
  position: absolute;
  display: none;
  top: 100%;
  margin-top: 5px;
  padding: 10px 7px;
  background: rgb(253, 251, 243);
  border-radius: 5px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  align-items: flex-start;
  animation: slideIn 0.3s ease-in-out;
}

.dropDownStyle > a {
  padding-top: 3px;
  padding-bottom: 3px;
}

#siteTitle {
  position: absolute;
  left: 28px;
  margin: 0px;
  display: flex;
  align-items: center;
}

#siteTitle a {
  margin-left: 10px;
  color: black;
  font-weight: bold;
  font-size: 1.5rem;
}

#siteTitle > img {
  max-width: 100%;
  width: 32px;
}

.hide {
  transform: translateY(-100%);
}

.showMenu {
  display: flex !important;
  justify-content: center;
  animation: fadeIn 0.2s ease-in-out;
}

#content li {
  margin-bottom: 8px;
}

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

#content a:hover {
  color: #4961ff;
  background: #97aae863;
  border-radius: 5px;
}

#toc-pane li::marker {
  content: none;
}

@media (max-width: 70em) {
  #blogItems {
    width: 100% !important;
  }

  #onTop {
    left: 10px !important;
    width: 25px !important;
    height: 25px !important;
    bottom: 50px !important;
  }

  .platformStyle {
    margin: 0px 3px !important;
  }

  .cardContainerStyle {
    width: 50vw !important;
    position: unset !important;
    display: none !important;
  }

  .bloggerInfoTitleStyle {
    font-size: 0.7rem;
    margin-bottom: 3px;
  }

  .bloggerInfoCardStyle {
    width: 40vw !important;
    margin: 5px auto 5px auto !important;
  }

  #navigationBar {
    height: 60px;
    background-color: #fffdf4b3;
    flex-direction: column;
    justify-content: center;
  }

  #menuCard {
    animation: fromRightToLeftAppearing 0.5s ease-in-out !important;
  }

  #bloggerInfoCard {
    animation: fromLeftToRightAppearing 0.5s ease-in-out !important;
  }

  #siteTitle {
    position: unset;
  }

  #siteTitle > img {
    width: 20px;
  }

  #navigationItems {
    position: unset;
    overflow-x: auto;
    white-space: nowrap;
    width: 80vw;
  }
  #navigationItems > :first-child {
    margin-left: auto !important;
  }
  #navigationItems > :nth-last-child(2) {
    margin-right: auto !important;
  }

  .navigationItemsStyle {
    margin: 0px 5px;
  }

  body {
    font-size: 16px !important;
  }

  #main {
    margin: 0px !important;
    padding: 90px 30px 30px 30px !important;
    width: 80% !important;
  }

  #blogItemSummaryImgContain {
    width: 100px !important;
    height: 75px !important;
  }

  #toggleMenuButton {
    display: flex;
  }

  .ck-content .image img {
    max-width: 90% !important;
  }

  #layout {
    margin: 0px;
  }

  #toc-pane {
    opacity: 0;
    display: none;
    background-color: white;
    border-radius: 5px;
    width: 50vw !important;
  }
  .searchContainerStyle {
    width: 80% !important;
  }
  .filmTitle,
  .watchDate {
    font-size: 0.6rem;
  }
  #siteTitle a {
    font-size: 1.2rem;
  }

  .table {
    display: block !important;
    white-space: nowrap;
    overflow-y: hidden;
  }
  ::-webkit-scrollbar {
    display: none;
  }
  .dropDownStyle {
    left: 0;
    width: 100vw;
    align-items: center;
  }
}

#title {
  margin: 20px 0px;
  font-size: 120%;
  text-align: center !important;
  padding-left: 0px !important;
}

#content img {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
  max-height: 30rem;
  width: auto;
  border-radius: 5px;
}

img {
  width: 100%;
}

.image_resized {
  width: auto !important;
}

figcaption {
  display: flex;
  justify-content: center;
  font-size: smaller;
  color: #707173;
}

hr {
  height: 1px;
  border-top-color: #0000001c;
  border-bottom-color: #ffffff00;
  border-left-color: #ffffff00;
  border-right-color: #ffffff00;
}

code.language-text-plain {
  background-color: #ffffff00;
}

#metadateContent {
  position: relative;
  height: 1rem;
}

.table {
  display: flex;
  justify-content: center;
  width: 100% !important;
  margin: 0;
}

.table table {
  font-size: small;
  border-width: 1px;
  border-color: #d79494d9;
  border-collapse: collapse;
}

.table th {
  border-color: #dddddd;
  border-width: 1px;
  padding: 8px;
  border-style: solid;
  background-color: #d6dbddb3;
}

.table td {
  border-color: #dddddd;
  border-width: 1px;
  padding: 8px;
  border-style: solid;
  background-color: #ffffffb3;
}

h2,
h3,
h4,
h5 {
  border-bottom: 1px solid #0000001c;
}

h2:before {
  content: "# ";
  color: var(--blue);
}

h3:before {
  content: "## ";
  color: var(--blue);
}

h4:before {
  content: "### ";
  color: var(--blue);
}

h5:before {
  content: "#### ";
  color: var(--blue);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#main {
  width: 70vw;
  position: relative;
  flex-basis: 0;
  flex-grow: 3;
  /* border-radius: 10px; */
  margin: 90px 20vw 0px 20vw;
  padding: 0px 50px;
  /* background-color: #ffffffd9 !important; */
  background-color: rgb(248 246 241) !important;
  animation: slideIn 0.5s ease-in-out;
  overflow: auto;
  /* background: url(https://s2.loli.net/2023/12/22/Hypxd4VnPmc9W7M.png); */
}

nav#childLinks {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
}

.blogItemsMainContain {
  color: black;
  width: 90%;
  padding: 15px;
  /* border-radius: 5px; */
  font-weight: bold;
  display: flex;
  flex-direction: column;
  position: relative;
  flex-wrap: nowrap;
  justify-content: center;
  overflow: hidden;
}

#blogItems {
  display: flex;
  justify-content: center;
  height: 100%;
  width: 100%;
  margin: 10px;
  background: #fffdf4b3;
  /* border-radius: 10px; */
  max-width: 1000px;
  box-shadow: 0 1px 3px rgb(0 0 0 / 18%);
  transition: transform 0.3s ease-in-out;
  color: black;
  text-decoration: none;
}

#blogItems:hover {
  transform: scale(1.04);
}

.blogMetadate {
  margin-right: 1.2em;
  font-size: small;
  font-weight: 500;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  cursor: pointer;
  flex-wrap: wrap;
  color: var(--metadateColor) !important;
  align-items: center;
}

.blogMetadateItems {
  margin-left: 1em;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.categoryBadge {
  padding: 0px 3px;
  border-radius: 5px;
}

.shakeStyle:hover {
  animation: shake 0.3s ease-in-out;
}

#blogItemSummaryImgContain {
  /* border-radius: 5px; */
  padding: 2px;
  border: 1px dashed #d4bdb1;
  margin-left: 5px;
  width: 150px;
  height: 113px;
  float: right;
  margin-right: 10px;
  margin-top: -10px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#contentHeader {
  position: relative;
  height: 1rem;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.ck-content code {
  background-color: #95c8f175;
  border-radius: 7px;
  font-size: 80%;
  padding: 0px 4px;
}

.ck-content pre code {
  background-color: #ffffff00;
  white-space: pre-wrap;
  padding: 0px !important;
}

blockquote {
  color: #708faf;
  border-left: 5px solid #708faf;
  background: none repeat scroll 0 0 rgba(102, 128, 153, 0.1);
  padding: 2px 1px 2px 27px;
  margin: 0.2rem 0 0 0;
  border-radius: 5px;
}

.text-tiny {
  font-size: 0.8rem;
}

.text-small {
  font-size: 0.9rem;
}

.text-big {
  font-size: 1.3rem;
}

.text-huge {
  font-size: 1.6rem;
}

.image {
  height: 100%;
  border-radius: 50%;
  margin: 0 auto;
}

pre {
  white-space: pre-wrap;
  word-wrap: anywhere;
  position: relative;
}

iframe.pdf-view {
  width: 100%;
  height: 800px;
}

.ck-content pre {
  background: hsl(0deg 0% 26.67%);
}

#toc-pane {
  order: 3;
  flex-direction: column;
  position: fixed;
  right: 0px;
  width: 15vw;
  max-width: 250px;
  opacity: 1;
  top: 90px;
  animation: fromRightToLeftAppearing 1s ease-in-out;
  border-left: 2px solid #d9dde4;
  padding-left: 15px;
  margin-right: 15px;
  max-height: 80vh;
  overflow: auto;
}

.tocActive {
  color: var(--blue) !important;
}

@keyframes fromRightToLeftAppearing {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fromLeftToRightAppearing {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#toc ul {
  padding-left: 11px;
}

#toc-pane li {
  max-width: 200px;
  padding-top: 3px;
}

ul#toc {
  padding: 0px;
  font-size: 0.8rem;
}

#toc a {
  color: black;
  font-weight: 400;
  text-decoration: unset;
}

#toc li :hover {
  color: var(--blue);
}

.toc-anchor {
  margin-left: 0.1em;
  color: #90939936;
}

.fLinkContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.fLink {
  width: 140px;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  margin: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: 150px;
  min-height: 150px;
  transition: transform 0.3s ease-in-out;
}

.fLink:hover {
  transform: scale(1.04);
}

.fLink img {
  width: 50px !important;
  height: 50px !important;
  border-radius: 5px !important;
  margin-bottom: 10px !important;
}

.fLink > #fLinkTitle {
  font-size: medium;
  font-weight: bold;
  margin-bottom: 5px;
}

.fLink > #fLinkDes {
  font-size: x-small;
  color: #666;
}

#rewardContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
}

#rewardBtn {
  padding: 8px 24px;
  font-size: 18px;
  background-color: #228B22;
  color: #fff;
  border: none;
  cursor: pointer;
  /* border-radius: 10px; */
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

#rewardBtn:hover {
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  transition: transform 0.5s;
  background: #32CD32;
}

#rewardImgContainer {
  display: none;
  margin-top: 20px;
  opacity: 0;
  transition: opacity 0.5s;
}

.rewardImg {
  width: 200px;
  margin: 10px;
  border: 1px dashed #ccc;
  border-radius: 4px;
  padding: 10px;
}

.wechatPay,
.aliPay {
  text-align: center;
  font-size: 0.8125em;
  color: #999999;
}

#footer {
  text-align: center;
  font-size: medium;
  color: #6c7380;
  margin-top: 30px;
  position: relative;
  height: 100px;
  width: 100%;
}

.cardContainerStyle {
  position: fixed;
  order: 3;
  top: 70px;
  width: 18vw;
  height: auto;
  display: flex;
  flex-direction: column;
  background: #ffffff00;
  cursor: pointer;
}

.bloggerInfoTitleStyle {
  font-weight: bold;
  margin-bottom: 10px;
}

.bloggerInfoContentStyle {
  font-size: smaller;
  color: #777;
  padding: 5px;
}

#bloggerInfoName {
  font-weight: bold;
  margin: 5 auto;
}

#bloggerInfo img {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  transition: transform 0.5s;
  margin-top: 5px;
}

#bloggerInfo img:hover {
  transform: rotate(360deg);
}

#otherPlatformBar > a > svg {
  width: 1rem;
  fill: #00000091 !important;
}

#otherPlatformBar > a :hover {
  fill: #000000 !important;
}

.announcement {
  height: 300px;
  background: #fff3e5;
}

.platformStyle {
  margin: 0px 10px 0px 10px;
}

.bloggerInfoCardStyle {
  width: 15vw;
  max-width: 250px;
  text-align: center;
  height: auto;
  padding: 10px 13px;
  /* border-radius: 10px; */
  margin: 20px 0px;
  background: #fffdf4b3;
  box-shadow: 2px 4px 8px 0 rgb(141 154 154 / 20%);
  /* max-height: 180px; */
  transition: transform 0.3s ease-in-out;
}

.bloggerInfoCardStyle:hover {
  transform: scale(1.04);
}

#announcement {
  background: #fffdf4b3;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff73;
}

#articleCount {
  color: #ffffff;
  background: #999ca1;
  width: 16px;
  height: 16px;
  text-align: center;
  border-radius: 50%;
  font-size: 10px;
  margin-left: 2px;
}

.cardItemLinkStyle {
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 5px 0px;
  text-align: justify;
}

#latestComment {
  display: flex;
  flex-direction: column;
}

#mobileMenuContainer {
  margin-top: 60px;
  display: none;
  background: #fffdf4b3;
  width: 100%;
  height: 100%;
  z-index: 10;
  position: fixed;
  overflow: hidden auto;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background-color: white;
}

::-webkit-scrollbar-thumb {
  background-color: var(--blue);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

.cf-article {
  background: #ffffff !important;
  box-shadow: 0 1px 3px rgb(0 0 0 / 18%);
}

#panel-btn {
  border: none !important;
  background-color: #ffffff00 !important;
}

#cf-state {
  background: #ffffff00;
}

@keyframes shake {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(5deg);
  }

  50% {
    transform: rotate(0deg);
  }

  75% {
    transform: rotate(-5deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.copyButtonStyle {
  position: absolute;
  top: 3px;
  right: 4px;
  border: 0;
  border-radius: 4px;
  padding: 0px 10px;
  font-size: 0.6em;
  line-height: 1.8;
  color: #c0c0c0;
  background-color: #7777775c;
  text-align: center;
}

.copyButtonStyle:hover {
  background-color: #666;
}

#onTop {
  position: fixed;
  display: flex;
  bottom: 30px;
  left: 15vw;
  background: #37363661;
  border-radius: 50%;
  padding: 3px;
  opacity: 1;
  transition: 0.5s ease;
  cursor: pointer;
  z-index: 2;
  align-items: center;
}

#onTop:hover {
  background: #999999;
  transform: translateY(-5px);
}

/*搜索*/
.searchContainerStyle {
  position: fixed;
  top: 80px;
  display: none;
  align-items: center;
  background-color: rgb(253, 251, 243);
  border-radius: 5px;
  flex-direction: column;
  width: 50%;
  cursor: pointer;
  box-shadow: 0 1px 3px rgb(0 0 0 / 18%);
  padding: 20px;
  z-index: 1000;
  max-height: 60%;
  overflow: auto;
  animation: slideIn 0.5s ease-in-out;
}

#searchInput {
  border: none;
  border-bottom: 1px solid blanchedalmond;
  padding: 5px;
  width: 90%;
  outline: none;
  background-color: rgb(253, 251, 243);
}

.searchItems {
  font-weight: bold;
}
.itemsTitle {
  margin: 0.4em 0em;
  padding-left: 0.5em;
  border-left: 1px solid #d9d3d3;
}
.searchItems:hover {
  color: burlywood;
}

#searchResults {
  width: 90%;
  margin-top: 1em;
}

#toc-pane::-webkit-scrollbar {
  width: 1px;
}
#toc-pane::-webkit-scrollbar-thumb {
  background-color: var(--blue);
}
.filmBox {
  width: 15vw;
  height: 15vw;
  max-width: 150px;
  min-width: 80px;
  margin: 15px;
  box-sizing: border-box;
  max-height: 200px;
  min-height: 100px;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.filmBox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px !important;
  transition: transform 0.3s ease;
}
.filmTitle {
  top: 0;
}
.filmTitle,
.watchDate {
  width: 100%;
  text-align: center;
  color: #fff;
  border-radius: 5px 5px 0px 0px;
  position: absolute;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.playMusicButton {
  fill: #f3f3f36e;
  stroke: #00000087;
  width: 50% !important;
  height: 50% !important;
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}
.watchDate {
  bottom: 0;
  border-radius: 0px 0px 5px 5px !important;
}

.filmBox:hover {
  transform: scale(1.2);
}

.filmBox:hover .filmTitle,
.filmBox:hover .watchDate,
.filmBox:hover .playMusicButton {
  opacity: 1;
}

::marker {
  color: var(--blue);
}
#musicPlayer {
  position: fixed;
  z-index: 999;
  bottom: 0;
}
.todo-list {
  list-style-type: none;
  padding-inline-start: 1rem;
}
#morePost {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 1rem;
  margin: 20px 0px;
  justify-content: center;
}

.timeline {
  position: relative;
  padding-left: 68px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 40px;
  width: 2px;
  height: 100%;
  background-color: #ccc;
}

.year {
  position: relative;
  margin-bottom: 20px;
}

.yearLabel {
  position: absolute;
  left: -80px;
  font-weight: bold;
}

.post {
  position: relative;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.post::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -30px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ccc;
  transform: translateY(-50%);
}

.post::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -30px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ffffff;
  transform: translateY(-50%);
}

.postDate {
  margin-right: 10px;
  flex-shrink: 0;
  width: 3rem;
}

.tagCloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 20px;
}

.tagItem {
  display: inline-block;
  padding: 5px 10px;
  margin: 5px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.tagItem:hover {
  transform: scale(1.1);
}

.h1, h1 {
    color: rgb(231, 77, 71);
}

.h2, h2 {
    color: rgb(215, 148, 64);
}

.h3, h3 {
    color: rgb(7, 170, 246);
}

.h4, h4 {
    color: rgb(163, 110, 251);
}

.h5, h5 {
    color: rgb(109, 215, 215);
}

.h6, h6 {
    color: rgb(175, 191, 5);
}

b, strong {
    font-weight: bolder;
    color: #FF7732;
}

em {
    font-style: italic;
    color: #25C6FF;
}

        /* 搜索引擎选择样式 */
        #search-engine-container {
            display: flex;
            margin-bottom: 15px;
            overflow-x: auto;
            padding-bottom: 5px;
            text-align: center;
            margin: auto;
            padding-left: 6px;
        }

        .search-engine-btn {
            background-color: transparent;
            border: 1px solid #aa9a73;
            padding: 6px 12px;
            margin-right: 10px;
            border-radius: 4px;
            cursor: pointer;
            white-space: nowrap;
            transition: all 0.2s;
        }



        /* 搜索框样式 */
        #search-container {
            position: relative;
            text-align: center;
            margin: auto;
            padding-left: 2px;
        }

        #search-container #search {
            width: 100%;
            padding: 10px 0;
            font-size: 20px;
            background-color: transparent;
            border: none;
            border-bottom: 2px solid #aa9a73;
            opacity: 0.8;
            transition: all 0.2s;
            outline: none;
           
        }

        #search-container #search-label {
            text-align: right;
            width: 100%;
            display: block;
            opacity: 0;
            font-size: 12px;
            color: #aa9a73;
        }

        #search-container #search:active+label,
        #search-container #search:focus+label {
            opacity: 1;
            transition: all 0.2s;
        }

        #search-container .search-icon {
            position: absolute;
            right: 0;
            top: 10px;
            color: #aa9a73;
            cursor: pointer;
        }
        /* 搜索按钮样式 */
        #search-button {
            position: absolute;
            right: 0;
            bottom: 20px;
            width: 32px;
            height: 32px;
            border: 1px solid #aa9a73;
            border-radius: 4px;
            background-color: transparent;
            color: #aa9a73;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
            margin-bottom: 5px;
        }

        #search-button:hover {
            background-color: #aa9a73;
            color: #2d3436;
        }

       /* 图标样式 */




        .category {
            margin-bottom: 5px;
        }



        .icon-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(var(--icon-size), 1fr));
            gap: 14px;
        }

        .app-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            cursor: pointer;
            position: relative;
        }

        .app-icon {
            width: var(--icon-size);
            height: var(--icon-size);
            border-radius: 8px;
            background-color: rgba(255, 255, 255, 0.8);
            padding: 5px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .app-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .app-tooltip {
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%) scale(0.8);
            background-color: #4C432E;
            color: #F8F6F1;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 12px;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: all 0.2s ease;
            margin-bottom: 10px;
            z-index: 10;
        }

        .app-item:hover .app-icon {
            transform: scale(1.15) translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
        }

        .app-item:hover .app-tooltip {
            opacity: 1;
            transform: translateX(-50%) scale(1);
        }


/* 书签页样式 */

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

        .apps-container {
            width: 100%;
            font-size: 16px;
        }

        .app-container {
            float: left;
            width: 25%;
        }

        .app-item-links {
            display: block;
            padding: 2px 4px;
            margin: 12px 0;
            height: 40px;
            overflow: hidden;
            position: relative;
        }

        .app-item-links:hover {
            background-color: rgba(0, 0, 0, 0.2);
            border-radius: 4px;
            transition: all .1s;
        }

        .app-icon-links {
            width: 35px;
            height: 35px;
            position: absolute;
            left: 5px;
            top: 5px;
        }

        .app-icon-links * {
            width: 90%;
            color: #effbff;
        }

        .app-icon-links img {
            display: block;
            width: 32px;
            height: 32px;
            color: #effbff;
        }

        .app-text-links {
            margin-left: 40px;
            color: #2d3436;
        }

        .app-title-links {
            margin-bottom: -4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .app-desc-links {
            color: #aa9a73;
            font-weight: 400;
            font-size: 0.8em;
            opacity: 1;
            margin-top: 0px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        @media (max-width: 768px) {
            .app-container {
                width: 50%;
            }
        }





  .card-wall{display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));}
  .card-item{cursor:pointer;overflow:hidden;transition:transform .25s}
  .card-item:hover{transform:translateY(-4px)}
  .card-poster{width:100%;height:227px;object-fit:cover;border-radius: 10px;}
  .card-title{padding:4px 12px 6px;font-weight:600;font-size:15px;text-align: center;}

  .modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:9999;align-items:center;justify-content:center}
  .modal-box{background:#fff;border-radius:14px;width:90%;max-width:720px;padding:24px;position:relative;text-align:center}
  .modal-box img{max-width:100%;max-height:260px;border-radius:0px;margin-bottom:12px}
  .modal-box h3{margin-bottom:8px}
  .modal-box p{margin-bottom:18px;color:#555;font-size:14px;line-height:1.5}
  .modal-btn{display:inline-block;background:var(--accent,#00c2ff);color:#fff;padding:8px 20px;border-radius:20px;font-size:14px}
  .modal-btn:hover{opacity:.9}
  .modal-box .work{display: flex;
    gap: 20px;
    margin: 0;
    text-align: left;}
  .modal-box .cover{flex:0 0 200px;height:auto}
  .modal-box .info{padding:16px 12px 12px}
  .modal-close{position:absolute;top:10px;right:14px;font-size:24px;cursor:pointer;color:#999}
  .modal-close:hover{color:#333}
  @media(max-width:600px){
    .modal-box .work{flex-direction:column}
    .modal-box .cover{width:100%;height:240px}
  }
  .info{padding:28px 24px 24px;display:flex;flex-direction:column;justify-content:space-between}
  .m-title{font-size:28px;font-weight:700;margin-bottom:8px;margin: auto;}
  .meta{display:flex;gap:12px 20px;flex-wrap:wrap;margin-bottom:12px;font-size:14px;color:#555}
  .meta span{display:flex;align-items:center;gap:4px}
  .rating{color:var(--accent);font-weight:700}
  .summary{line-height:1.7;margin-bottom:16px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
  .tags{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
  .tag{background:#f0f4f8;padding:4px 10px;border-radius:20px;font-size:12px}
  .actions{display:flex;gap:12px}
  .btn{padding:10px 20px;border-radius:8px;font-size:15px;cursor:pointer;transition:.2s}
  .btn-primary{background:var(--accent);}
  .btn-primary:hover{opacity:.9}
