/*友情链接*/
/*侧边栏友情链接*/
.sidebar .friend-link-title {
    margin-top: 20px;
    margin-bottom: 5px;
    border-top: 1px dotted #ccc;
    border-bottom: 1px dotted #ccc;
}

.friend-link-title {
    text-align: center;
    margin-bottom: 20px;
}

.friend-link-item {
    display: inline-block;
}

.friend-link-item a {
    display: block;

    box-sizing: border-box;
    margin-right: 0;
    padding: 2px 15px;

    text-decoration: none;

    border-bottom: none;
}

.friend-link-item a:hover {
    border-radius: 4px;
    background: #eee;
}

/* comments 评论样式来自https://github.com/zgq354/typecho-theme-next/blob/master/next/css/main.css*/
@media print, screen and (max-width: 767px) {
    #comments {
        margin: 10px 20px;
    }
}

#comments a {
    border-bottom: none;
}

#comments .widget-title {
    font-size: 16px;
    font-weight: normal;
    line-height: 2.7;

    display: block;

    margin: 0;
    padding-bottom: 0;

    color: #6e7173;
    border-bottom: 1px solid #ddd;
}

#comments .pagination {
    margin: 35px 0 30px 0;

    text-align: center;
}

.comments {
    font-size: 13px;

    margin-top: 60px;
}

.comments .comment-about{
	width: 33.333%;
	float: left;
  padding-left: 10px;
  box-sizing: border-box;
}

.comments .comment-about:first-child{
  padding-left: 0;
}

@media (max-width: 637px ){
  .comments .comment-about{
  	width: 100%;
  	float: left;
    padding: 0;
  }
}

/*博主的评论样式*/
.comment-by-author > .comment-author  .fn::after {
	display: inline-block;
    content: 'ROOT';
    transform: scale(0.8,0.8);
    background: #ddd;
    color: white;
    padding: 1px 4px;
    border-radius: 5px;
}

.comment-meta {
    margin-top: -5px;
    margin-bottom: 5px;
}

.comment-content a {
    border-bottom: 1px solid #ddd;
}

.comment-content a {
    border-bottom-color: transparent;
}

.comment-content pre code {
    padding: 1.5em 2em;
}

.comment-content p code {
    display: inline;

    margin: 0 5px;
    padding: 3px 5px;

    border: 1px solid #ddd;
}

.comment-list,
.comment-list ol {
    margin: 0;
    padding: 0;

    list-style: none;
}

.comment-list {
    margin-top: -1px;
}

.comment-list li {
    padding: 22px 0 0;

    border-top: 1px solid #ddd;
}

.comment-list li.comment-level-even {
    background: #fff;
}

.comment-list li .comment-reply {
    font-size: .92857em;

    float: right;

    margin-top: -39px;
}

.comment-meta a {
    font-size: .92857em;

    color: #999;
}

.comment-author {
    display: block;

    margin-bottom: 1px;

    color: #444;
}

.comment-author .avatar {
    float: left;

    width: 32px;
    margin: 6px 7px 0 0;
    padding: 1px;

    border: 1px solid #ddd;
}

.comment-author cite {
    font-weight: bold;
    font-style: normal;
    line-height: 1.2;
}

.comment-awaiting-moderation {
    font-style: normal;

    float: right;

    margin-top: -20px;

    color: #777;
}

.comment-list .respond {
    margin: 15px 0;

    border-top: 1px solid #ddd;
}

.comment-body .respond {
    margin: 0 0 25px;

    border: none;
}

.comment-children {
    margin-left: 22px;
}

.respond .cancel-comment-reply {
    font-size: .92857em;

    float: right;

    margin-top: 15px;
}

#comment-form {
    padding-top: 12px;
}

#comment-form label {
    position: absolute;

    display: block;

    margin: 4px 8px;

    color: #888;
}

#comment-form input {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    padding: 8px 6px 8px 45px;

    color: #555;
    border: solid 1px #d4d4d4;
    background: #fdfdfd;

    -o-box-sizing: border-box;
}

button.submit {
    line-height: 32px;

    display: block;

    width: 100%;
    height: 38px;

    color: #fff;
    border: 1px solid #272727;
    outline: none;
    background: #272727;
}

button.submit:hover {
    border-color: #505050;
    background: #505050;
}

textarea.text-area {
    font-size: 14px;
    line-height: 1.8;

    overflow: auto;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    height: 174px;
    margin: 0;
    padding: 5px 8px 5px;

    color: #555;
    background: #fdfdfd !important;

    -o-box-sizing: border-box;
}

/*标签页面*/
.tag-size-1 {
    font-size: 12px;
    color: #ccc;
}

.tag-size-5 {
    font-size: 18px;
    color: #ccc;
}

.tag-size-10 {
    font-size: 22px;
    color: #646464;
}

.tag-size-15 {
    font-size: 28px;
    color: #262626;
}

/*侧边栏搜索框*/
.menu-item-search{
    position: relative;
}

.site-search {
    position: absolute;
    top: 7px;
    left: 44px;
    font-size: 12px;
}

/*文章内容的无序列表样式*/
.posts-expand .post-body ul li {
    list-style: circle;
}

/* --- 标签云整体容器 --- */
.tag-cloud-wrapper {
    text-align: center; /* 核心：让所有标签居中 */
    background: #ffffff; /* 白色背景，可根据主题改为透明或浅色 */
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* 柔和的阴影 */
    margin: 20px auto;
    max-width: 900px; /* 限制最大宽度，防止太散 */
}

.tag-cloud-title {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
    font-weight: normal;
    letter-spacing: 1px;
}

.tag-cloud-content {
    line-height: 2.0; /* 行高，控制上下间距 */
    word-spacing: 6px; /* 词间距，控制左右间距 */
}

/* --- 标签基础样式 --- */
[class^="tag-size-"] {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* 丝滑动画 */
    display: inline-block;
    text-decoration: none;
    margin: 4px 3px;
    font-weight: 500;
    position: relative;
    padding: 2px 4px;
    border-radius: 4px;
}

/* --- 悬停特效 (所有等级通用) --- */
[class^="tag-size-"]:hover {
    opacity: 1 !important;
    transform: translateY(-3px) scale(1.05); /* 上浮 + 微放大 */
    text-shadow: 0 2px 4px rgba(0,0,0,0.15); /* 文字阴影增强立体感 */
    z-index: 2;
}

/* --- 字号与透明度阶梯 (平滑过渡) --- */
/* 小标签 */
.tag-size-2  { font-size: 12px; opacity: 0.6; }
.tag-size-4  { font-size: 13px; opacity: 0.65; }
.tag-size-7  { font-size: 14px; opacity: 0.7; }
.tag-size-10 { font-size: 15px; opacity: 0.75; }

/* 中标签 */
.tag-size-15 { font-size: 16px; opacity: 0.8; }
.tag-size-20 { font-size: 18px; opacity: 0.85; }
.tag-size-28 { font-size: 20px; opacity: 0.9; }
.tag-size-35 { font-size: 22px; opacity: 0.95; }

/* 大标签 (40篇左右) */
.tag-size-49 { 
    font-size: 25px; 
    font-weight: 700; 
    opacity: 1; 
}

/* 超大标签 (50篇以上，视觉焦点) */
.tag-size-50 { 
    font-size: 30px; /* 稍微调小一点点，避免过于突兀，但依然最大 */
    font-weight: 900; 
    opacity: 1; 
    text-shadow: 0 2px 5px rgba(0,0,0,0.1);
    /* 可选：给最大的标签加一个极淡的背景，强调点击感 */
    background-color: rgba(0,0,0,0.02); 
    padding: 4px 8px;
    border-radius: 6px;
}

/* 移动端适配：屏幕太小时适当缩小最大字号 */
@media (max-width: 600px) {
    .tag-size-50 { font-size: 24px; }
    .tag-size-49 { font-size: 20px; }
    .tag-cloud-wrapper { padding: 20px 10px; }
}

/* --- 标题区域样式 --- */
.tag-cloud-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    gap: 12px; /* 图标、文字、线条之间的间距 */
}

.header-icon {
    font-size: 20px;
    opacity: 0.8;
    animation: float 3s ease-in-out infinite; /* 可选：让图标轻微浮动 */
}

.tag-cloud-title {
    font-size: 16px;
    color: #555;
    font-weight: 600;
    margin: 0;
    letter-spacing: 1px;
    white-space: nowrap;
}

.header-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #ddd, #bbb);
    border-radius: 2px;
}

/* 可选：图标浮动动画 */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* 移动端适配：隐藏右侧线条或调整间距 */
@media (max-width: 600px) {
    .header-line { width: 20px; }
    .tag-cloud-title { font-size: 14px; }
}