/* - 全局样式 */
@font-face {
    font-family: "Linotte";
    src: url("../fonts/ku.woff") format("woff");
    font-weight: normal;
}

@font-face {
    font-family: "Linotte";
    src: url("../fonts/ku.woff") format("woff");
    font-weight: bold;
}

@font-face {
    font-family: "HYZhengYuan";
    src: url("../fonts/ku.woff") format("woff");
    font-weight: normal;
}

@font-face {
    font-family: "HYZhengYuan";
    src: url("../fonts/ku.woff") format("woff");
    font-weight: bold;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #eeeeee;
    color: #4c4948;
    font-family: Linotte, Yankuhei, sans-serif;
    font-weight: normal;
}

/* 英文版 悬停显示*/
.hidden-text-english {
    color: transparent;
    background-color: #fd8cc4; /* 初始背景色 */
    padding: 2px;
    border-radius: 3px;
    position: relative; /* 让 ::after 定位 */
    transition: color 0.3s ease;
    display: inline-block;
    cursor: pointer; /* 让用户知道可以点击 */
    outline: none; /* 取消点击时的默认轮廓 */
  }

  /* 悬停或点击时，文本显示 */
  .hidden-text-english:hover,
  .hidden-text-english:focus {
    color: #69b7eb;
    background-color: transparent;
  }

/* 默认隐藏提示“你知道的太多了。不要告诉别人qwq” */
  .hidden-text-english::after {
    content: "You know too much. Don't tell anyone. qwq";
    position: absolute;
    top: -25px; /* 显示在文字上方 */
    right: 0;
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 悬停或点击时，显示提示 */
  .hidden-text-english:hover::after,
  .hidden-text-english:focus::after {
    opacity: 1;
}
/* 第一部分 结束覆盖*/

/*第二部分 悬停显示-文字覆盖 */
.hidden-text-english-cover {
    color: transparent;
    background-color: #fd8cc4; /* 初始背景色 */
    padding: 2px;
    border-radius: 3px;
    position: relative; /* 让 ::before 和 ::after 进行定位 */
    transition: color 0.3s ease;
    display: inline-block;
    cursor: pointer; /* 让用户知道可以点击 */
    outline: none; /* 取消点击时的默认轮廓 */
}

/* 默认状态下添加覆盖层文字 */
.hidden-text-english-cover::before {
    content: "If You Misunderstand This Fandom, Please Read"; /* 这里改为要的遮盖文字 */
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    background-color: #000;
    padding: 2px;
    border-radius: 3px;
    z-index: 1;
}

/* 悬停或点击时，移除覆盖层 */
.hidden-text-english-cover:hover::before,
.hidden-text-english-cover:focus::before {
    content: ""; /* 让覆盖层消失 */
    background-color: transparent;
}

/* 默认隐藏提示 */
.hidden-text-english-cover::after {
    content: "Maybe I'm overthinking....";
    position: absolute;
    top: -25px; /* 显示在文字上方 */
    right: 0;
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 悬停或点击时，显示提示 */
.hidden-text-english-cover:hover::after,
.hidden-text-english-cover:focus::after {
    opacity: 1;
}

/* 英文版的文字覆盖ENd*/

/*中文覆盖开始*/
.hidden-text {
    color: transparent;
    background-color: #fd8cc4; /* 初始背景色 */
    padding: 2px;
    border-radius: 3px;
    position: relative; /* 让 ::after 定位 */
    transition: color 0.3s ease;
    display: inline-block;
    cursor: pointer; /* 让用户知道可以点击 */
    outline: none; /* 取消点击时的默认轮廓 */
  }

  /* 悬停或点击时，文本显示 */
  .hidden-text:hover,
  .hidden-text:focus {
    color: #69b7eb;
    background-color: transparent;
  }

/* 默认隐藏提示“你知道的太多了。球球了,不要告诉别人qwq” */
  .hidden-text::after {
    content: "你知道的太多了。不要告诉别人qwq";
    position: absolute;
    top: -25px; /* 显示在文字上方 */
    right: 0;
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 悬停或点击时，显示提示 */
  .hidden-text:hover::after,
  .hidden-text:focus::after {
    opacity: 1;
}
/* 结束覆盖*/

/*第二部分 悬停显示-文字覆盖 */
.hidden-text-cover {
    color: transparent;
    background-color: #fd8cc4; /* 初始背景色 */
    padding: 2px;
    border-radius: 3px;
    position: relative; /* 让 ::before 和 ::after 进行定位 */
    transition: color 0.3s ease;
    display: inline-block;
    cursor: pointer; /* 让用户知道可以点击 */
    outline: none; /* 取消点击时的默认轮廓 */
}

/* 默认状态下添加覆盖层文字 */
.hidden-text-cover::before {
    content: "对于有些人,请阅读一下这个..."; /* 这里改为要的遮盖文字 */
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    background-color: #000;
    padding: 2px;
    border-radius: 3px;
    z-index: 1;
}

/* 悬停或点击时，移除覆盖层 */
.hidden-text-cover:hover::before,
.hidden-text-cover:focus::before {
    content: ""; /* 让覆盖层消失 */
    background-color: transparent;
}

/* 默认隐藏提示 */
.hidden-text-cover::after {
    content: "可能是我想多了...";
    position: absolute;
    top: -25px; /* 显示在文字上方 */
    right: 0;
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 悬停或点击时，显示提示 */
.hidden-text-cover:hover::after,
.hidden-text-cover:focus::after {
    opacity: 1;
}

/*END文字覆盖*/


/*中文覆盖结束*/


/* - 全局样式 End */

/* - 页首 */
.page-head {
    display: flex;
    justify-content: center;
    /* align-items: center; */ /* [^1] 开这玩意儿实现打字标题居中会导致页面跳动，我也不知道这是为甚么 TAT */
    width: 100%;
    height: 320px;
    background-color: #49b1f5;
    background-image: url(../images/IMG6.png);
    background-size: cover;
    background-position: center 10%; /* 请根据需要调整图片位置 */
    /* background-attachment: fixed; */
}

.page-head > .title,
.page-head > .typed-cursor {
    height: max-content;
    margin-top: 160px; /* [^1] 所以此处使用上边距实现居中，反正能跑就行（ */
    font-size: 32px;
    color: #ffffff;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.15);
}
/* - 页首 End */

/* - 主体容器 */
.primary-container {
    display: flex;
    justify-content: center;
    width: 80%;
    height: auto;
    /* background-color: brown; */
}

/* 左侧区域 */
.primary-container > .left-area {
    max-width: 350px;
    width: 30%;
    margin-right: 16px;

    transition: margin-top, ease-in, 0.2s;
}

/* 右侧区域 */
.primary-container > .right-area {
    max-width: 1050px;
    width: 70%;
}
/* - 主体容器 End */

/* 内容版块 */
.primary-container > .right-area > .content-page {
    position: relative;
    width: 100%;
    margin-top: 16px;
    border-radius: 12px;
    padding: 20px 46px 46px 46px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px 6px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;

    * {
        position: relative;
        z-index: 1;
    }
}

/* 内容板块的贴纸 */
.primary-container > .right-area > .content-page::before {
    content: "";
    position: absolute;

    /* 如果需要修改贴纸请根据图片情况调整此处的值~ */
    bottom: 20px;
    right: 0;
    width: 400px;
    height: 500px;

    background-color: #aaaaaa;
    mask: url(../images/content_page_sticker.png) no-repeat center;
    mask-size: contain;
    z-index: 0;
}

/* - 左侧卡片 */
.primary-container > .left-area > .cards > .card-item {
    width: 100%;
    margin-top: 16px;
    padding: 18px 20px;
    border-radius: 12px;
    box-sizing: border-box;
    background-color: #ffffff;
    box-shadow: 0 4px 8px 6px rgba(0, 0, 0, 0.06);
    font-size: 14px;
}

/* 标题 */
.primary-container > .left-area > .cards > .card-item > .title {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 14px;

    i {
        margin-right: 10px;
    }
}

/* - 个人信息 */
.primary-container > .left-area > .cards > .card-item#personal-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.primary-container > .left-area > .cards > .card-item#personal-info > .avatar {
    width: 120px;
    height: auto;
    overflow: hidden;
    border-radius: 50%;
}

.primary-container > .left-area > .cards > .card-item#personal-info > .name {
    margin: 12px 0 14px 0;
    font-size: 20px;
}

.primary-container > .left-area > .cards > .card-item#personal-info > .social-icons i {
    padding: 7px;
    border-radius: 50%;
    font-size: 16px;
    background-color: #b5e0ff;
    color: #304660;
}

.primary-container > .left-area > .cards > .card-item#personal-info > .social-icons a + a {
    margin-left: 14px;
}
/* - 个人信息 End */

/* 一言 */
.primary-container > .left-area > .cards > .card-item#hitokoto > .content a#hitokoto-text-english {
    color: unset;
}

/* - 浏览设置 */
.primary-container > .left-area > .cards > .card-item > .content > .settings-item {
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 12px;
    box-sizing: border-box;
    background-color: #c0e5ff;
}

/* 标题 */
.primary-container > .left-area > .cards > .card-item > .content > .settings-item > .title {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 14px;

    i {
        margin-right: 10px;
    }
}

/* - 主题设置 */
.primary-container > .left-area > .cards > .card-item > .content > .settings-item > .themes {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.primary-container > .left-area > .cards > .card-item > .content > .settings-item > .themes > .theme-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 42px;
    border-radius: 12px;
    font-size: 10px;
    box-sizing: border-box;

    i {
        margin-bottom: 2px;
    }
}

.primary-container > .left-area > .cards > .card-item > .content > .settings-item > .themes > .theme-item,
.primary-container > .left-area > .cards > .card-item > .content > .settings-item > .themes > .theme-item * {
    cursor: url(../point/help.cur), pointer;
}
/* Changed:更改鼠标指针*/
.primary-container > .left-area > .cards > .card-item > .content > .settings-item > .themes > .theme-item.enable {
    /* border: 2px solid #e87a90; */
    box-shadow: 0px 0px 2px 2px #2a92d8;
}
/* - 主题设置 End */
/* - 浏览设置 End */

/* - 左侧卡片 End */

/* - 页脚 */
.footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 180px;
    margin-top: 70px;
    background-color: #e5e5e5;
    box-shadow: inset 0 -4px 8px 6px rgba(0, 0, 0, 0.06);
    font-size: 14px;
    line-height: 20px;
}

.footer > br {
    position: relative;
}

.footer > .line-break {
    display: block;
    margin: 2px 0;
    color: #aaaaaa;
}

.footer .icp-link {
    color: #4c4948;
}
/* - 页脚 End */
