html,body {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0 !important;
}
#banner {
    background-image: url("https://cdn.jsdelivr.net/npm/ocoke-osg@0.0.6/rawimg/Pnd1XU.jpg");
    background-size:cover;
	background-repeat:no-repeat;
	background-position: center center;
    height: 100vh;
    width: 100%;
    text-align: center;

    /* filter: brightness(0.8);
    -webkit-filter: brightness(0.8);
    -moz-filter: brightness(0.8);
    -o-filter:  brightness(0.8);
    -ms-filter:  brightness(0.8); */
      /* 让文字水平垂直居中 */
  display: flex;
  align-items: center;
  justify-content: center;
}
#top-text{
  color: white;
  font-size: 2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  margin: 0;
}
.transparent-appbar {
  background-color: transparent !important;
  /* 如果你希望带一点半透明效果，可以改成下面这一行（例如黑色 50% 透明） */
  /* background-color: rgba(0, 0, 0, 0.5) !important; */
  box-shadow: none !important;    /* 去掉阴影 */
}
#content-cards {
  display: flex;
  flex-direction: column;
  align-items: center; /* 居中所有子项 */
  gap: 24px; /* 卡片之间间距 */
  padding: 32px 0;
}
#content-cards mdui-card {
  width: 90%;
  max-width: 600px;
  padding: 16px;
}
.mdui-navigation-drawer-title{
    font-size: 30px;
}
.mdui-navigation-drawer-subtitle{
    font-size: 20px;
}
mdui-divider {
  height: 2px; /* 默认 1px，可改为 2~3px */
  background-color: rgba(0, 0, 0, 0.15); /* 稍浅的灰色，看起来柔和 */
  border: none;
  margin-top: 8px;   /* 上下留点空隙 */
  margin-bottom: 8px;
  border-radius: 1px; /* 稍微圆润一点（可选） */
}
mdui-navigation-drawer::part(panel) {
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 16px;
}
.drawer-card {
  height: 58px;
  border-radius: 12px;            /* 可选：圆角 */
  transition: box-shadow 0.3s ease, transform 0.3s ease; /* 平滑过渡 */
  cursor: pointer;                /* 鼠标变成点击样式 */
}

/* hover 时渐变出现阴影并轻微抬起 */
.drawer-card:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}
.drawer-card-titile{
    line-height: 58px; /* 父元素的高度 */
    height: 58px; /* 父元素的高度 */
    padding-left: 7px;
}
.card-title{
    font-size: 25px;
    padding-bottom: 20px;
}
.card-maintext{
    font-size: 15px;
}
footer {
    padding: 1px;
    text-align: center;
}

.postlist {
  height: auto;
  border-radius: 5px;            /* 可选：圆角 */
  transition: box-shadow 0.3s ease, transform 0.3s ease; /* 平滑过渡 */
  cursor: pointer;                /* 鼠标变成点击样式 */
  line-height:40px;
  padding-left: 5px;
}
/* hover 时渐变出现阴影并轻微抬起 */
.postlist:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.postlist {
  transition: background-color 0.25s ease;
}

.postlist:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

mdui-dialog {
  max-width: 500px;
}
.chuangkoutitle{
    font-size: 20px;
}
/* 减少标题和内容之间的间距 */
mdui-dialog-title {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* 减少内容区域上边距 */
mdui-dialog-content {
  margin-top: -12px !important;
  padding-top: 0 !important;
}

/* 调整时间显示行的样式 */
mdui-dialog-content .post-time {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
  margin: 0 0 2px 0 !important; /* 下方只留 2px 间距 */
  line-height: 1.3;
}
#post-dialog {
  --mdui-dialog-position: fixed; /* 让弹窗仍为 fixed 定位 */
  position: fixed !important;
  inset: 0;
  margin: auto; /* 居中 */
  transform: none !important; /* 取消 translate 修正 */
  max-width: 480px;
  max-height: 80vh;
  border-radius: 16px;
}
a{
  color:#ff4081;
}