a, button, input, textarea, span {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    outline: none;
}

a:active, a:hover, span:active, span:hover {
    background: none !important;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", sans-serif;
}

html {
    max-width: 500px;
    margin: 0 auto;
    background-color: #eef1fe;
}

body {
    margin: 0 8px 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2.5px;
    font-size: 17px;
    font-weight: 400;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    color: #000;
}

.conntainer {
    margin-top: 34px;
    color: #000;
    font-size: 14px;
    padding: 0 12px;
}

.conntainer .box {
    margin-bottom: 14px;
    line-height: 22.5px;
}

.conntainer .box span {
    cursor: pointer;
}

/* 弹窗整体样式 */
#favDialog{
    width: calc(100% - 40px);
    max-width: 610px; /* 500-40 */
    margin: 0 auto;
    border: none;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13.5px;
    border: none;
    background: transparent;
    max-height: 690px;
    height: fit-content;
    padding-bottom:40px;
    overflow-y: hidden;
    padding-bottom: 60px;
}
#favDialog #dialogBody{
    width: 100%;
    height: 100%;
    /*max-height: 650px;*/
    /*height: fit-content;*/
}
#favDialog .container {
    background: #fff;
    border-radius: 11px;
    padding-bottom: 1px;
  /*-moz-box-shadow: 1px 1px 1px #eeeeee;
    -webkit-box-shadow: 1px 1px 1px #eeeeee;
    box-shadow: 1px 0.5px 1px #eeeeee;*/
}

#favDialog::backdrop {
    background-color: rgba(0, 0, 0, 0.75);
}

#favDialog .box {
    max-height: 510px;
    height: fit-content;
    overflow-y: scroll;
    color: #333;
}

#favDialog p {
    margin-bottom: 14px;
    line-height: 22px;
}

#favDialog .btn {
    display: flex;
    justify-content: flex-end; /* 规范化 end 为 flex-end */
    margin: 12px 0 11.5px 0;  
}

#favDialog #closeBtn {
    width: 45px;
    height: 45px;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    background: transparent; 
    border: none; 
    outline: none; 
    user-select: none; 
}
#favDialog #closeBtn img{
    width: 80%;
    height: 80%;
}
/* 白底盒子公共样式 */
.white-background-box {
    background-color: #ffffff;
    border-radius: 11px;
    padding: 14px 16px;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.04), 0 0 1px rgba(0, 0, 0, 0.05);
}

.white-background-box p {
    margin: 0;
}

.white-background-box p + p {
    margin-top: 3px;
}

.showsm {
    cursor: pointer;
    font-size: 13.5px;
    text-decoration: none;
    margin-left: 4px;
}

/* 视频列表样式 */
main .video_item {
    display: flex;
    align-items: center;
    position: relative;
    background-color: #fefefe;
    border-radius: 11px;
    padding: 15px 10px 15px 15px; /* 合并了原来的 15px 和 padding-right:10px */
    margin-bottom: 24px;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.04), 0 0 1px rgba(0, 0, 0, 0.05);
}

main .video_item .video_item_img {
    width: 45px;
    height: 45px;
    border-radius: 9px;
    overflow: hidden;
}

main .video_item .video_item_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

main .video_item .video_item_info {
    flex: 1;
    margin-left: 13px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

main .video_item .video_item_info > .options {
    display: none;
}

main .video_item .video_item_info .video_item_info_content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

main .video_item .video_item_info h3 {
    font-size: 16px;
    margin-top: -15px;
}

main .video_item .video_item_info .video_item_info_content p {
    font-size: 13.5px;
    color: #737373;
    font-weight: 400;
    margin-bottom: -17px;
}

main .video_item .options {
    height: 10px;
}

main .video_item .options a {
    color: #3a5fe2;
    text-decoration: none;
    font-size: 13.5px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: 12.5px 11px 0 0;
}

main .video_item .options a:nth-child(1) {
    right: 52px;
}

main .video_item .options a:nth-child(2) {
    right: 10px;
}

.colored-link {
    color: #3a5fe2; /* 可换成任意颜色 */
  }

a.colored-link {
  text-decoration: none;
  color: #3a5fe2;
}

.colored-link2 {
    color: #d43030; /* 可换成任意颜色 */
  }

a.colored-link2 {
  text-decoration: none;
  color: #d43030;
}
  
.faq-icon::after {
    content: "?\20DD";
}