ul.list3 {
    list-style: none;
    padding-left: 60px;
    margin: 2px 0;
}
ul.list3 li {
    margin: 2px 0;
    position: relative;
}
ul.list3 li::before {
    content: '';
    width: 10px;
    height: 2px;
    background: #888;
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
}
ol.ol1 {
    list-style: none;
    padding-left: 60px;
    margin: 2px 0;
    counter-reset: num;
}
ol.ol1 li {
    margin: 2px 0;
    position: relative;
    counter-increment: num;
}
ol.ol1 li::before {
    content: counter(num);
    width: 18px;
    height: 18px;
    background: #888;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    line-height: 1;
    position: absolute;
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
}

.sc-btn {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    color: #555;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.5;
    margin: 2px;
    user-select: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.sc-btn:hover {
    background: #f0f0f0;
    border-color: #ccc;
    color: #333;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    text-decoration: none !important;
}
.sc-btn-primary {
    background: #5d6d9e;
    border-color: #5d6d9e;
    color: #fff;
}
.sc-btn-primary:hover {
    background: #4a5a8a;
    border-color: #4a5a8a;
    color: #fff !important;
    text-decoration: none !important;
}
.sc-btn-success {
    background: #67c23a;
    border-color: #67c23a;
    color: #fff;
}
.sc-btn-success:hover {
    background: #5daf34;
    border-color: #5daf34;
    color: #fff;
}
.sc-btn-warning {
    background: #e6a23c;
    border-color: #e6a23c;
    color: #fff;
}
.sc-btn-warning:hover {
    background: #d4922b;
    border-color: #d4922b;
    color: #fff;
}
.sc-btn-error {
    background: #f56c6c;
    border-color: #f56c6c;
    color: #fff;
}
.sc-btn-error:hover {
    background: #e05050;
    border-color: #e05050;
    color: #fff;
}

.sc-hint {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    margin: 12px 0;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.sc-hint-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}
.sc-hint-icon svg {
    width: 100%;
    height: 100%;
}
.sc-hint-body {
    flex: 1;
    min-width: 0;
}
.sc-hint-title {
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
}
.sc-hint-content {
    font-size: 14px;
    line-height: 1.6;
}

.sc-hint-info {
    background: #f0f5ff;
    border-left: 4px solid #2684ff;
    color: #2c5aa0;
}
.sc-hint-info .sc-hint-icon {
    color: #2684ff;
}
.sc-hint-info .sc-hint-title {
    color: #2c5aa0;
}

.sc-hint-warning {
    background: #fffbe6;
    border-left: 4px solid #faad14;
    color: #946c20;
}
.sc-hint-warning .sc-hint-icon {
    color: #faad14;
    border-radius: 50%;
}
.sc-hint-warning .sc-hint-title {
    color: #946c20;
}

.sc-hint-error {
    background: #fff1f0;
    border-left: 4px solid #f5222d;
    color: #b23a3a;
}
.sc-hint-error .sc-hint-icon {
    color: #f5222d;
}
.sc-hint-error .sc-hint-title {
    color: #b23a3a;
}

.sc-hint-success {
    background: #f0f9eb;
    border-left: 4px solid #52c41a;
    color: #4a8a2a;
}
.sc-hint-success .sc-hint-icon {
    color: #52c41a;
}
.sc-hint-success .sc-hint-title {
    color: #4a8a2a;
}

.sc-tabs {
    margin: 12px 0;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.sc-tabs-nav {
    display: flex;
    background: #fafafa;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.sc-tab-trigger {
    padding: 10px 16px;
    border: none;
    background: none;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    font-family: inherit;
    position: relative;
}
.sc-tab-trigger:hover {
    color: #333;
    background: #f0f0f0;
}
.sc-tab-trigger.active {
    color: #5d6d9e;
    border-bottom-color: #5d6d9e;
    font-weight: 500;
    background: #fff;
}
.sc-tabs-content {
    padding: 0;
    background: #fff;
}
.sc-tab-pane {
    animation: tabPaneFadeIn 0.25s ease;
    display: none;
    font-size: 14px;
    line-height: 1.7;
    padding: 14px 16px;
}
.sc-tab-pane.active {
    display: block;
}
@keyframes tabPaneFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.sc-tab-pane > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.page-body .sc-tab-pane > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.page-body .sc-tab-pane > .mac-code-block {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.sc-file {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
    color: #333;
    text-decoration: none !important;
    font-size: 14px;
    margin: 6px 0;
    transition: all 0.2s ease;
    max-width: 100%;
}
.sc-file:hover {
    background: #f0f0f0;
    border-color: #ccc;
}
.sc-file-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.sc-file-name {
    word-break: break-all;
}

.sc-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.5;
    margin: 2px 3px;
    cursor: default;
    user-select: none;
}

.sc-tag-default {
    background: #eef1f7;
    color: #5d6d9e;
}

.sc-tag-primary {
    background: #ecf5ff;
    color: #409eff;
}

.sc-tag-success {
    background: #f0f9eb;
    color: #67c23a;
}

.sc-tag-warning {
    background: #fdf6ec;
    color: #e6a23c;
}

.sc-tag-danger {
    background: #fef0f0;
    color: #f56c6c;
}

.sc-tag-info {
    background: #f4f4f5;
    color: #909399;
}

.sc-tag-pink {
    background: #fef0f5;
    color: #e66ea0;
}

.sc-tag-purple {
    background: #f5f0fe;
    color: #9a6de0;
}

.sc-tag-orange {
    background: #fff5e6;
    color: #ff8c00;
}

.sc-tag-cyan {
    background: #e6fffb;
    color: #13c2c2;
}

.sc-tag-magenta {
    background: #fff0f6;
    color: #eb2f96;
}

.sc-tag-volcano {
    background: #fff2e8;
    color: #fa541c;
}

.sc-tag-geekblue {
    background: #f0f5ff;
    color: #2f54eb;
}

.sc-tag-lime {
    background: #fcffe6;
    color: #a0d911;
}

.sc-tag-gold {
    background: #fffbe6;
    color: #faad14;
}
.sc-tag::selection {
    background: rgba(0,0,0,0.15);
    color: #fff;
}
.sc-ctag {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    margin: 0 3px;
    line-height: 1.4;
    vertical-align: middle;
}
.sc-graybox {
    background: #f5f5f5;
    padding: 14px 18px;
    border-radius: 7px;
    font-size: 14px;
    color: #444;
    line-height: 1.8;
    margin: 16px 0;
}
.sc-graybox p {
    margin: 0 0 8px;
}
.sc-graybox p:last-child {
    margin-bottom: 0;
}
.sc-mark {
    background: #fff3a3;
    color: #333;
    padding: 1px 4px;
    border-radius: 3px;
}
.sc-figure {
    margin: 16px 0;
    text-align: center;
}
.sc-figure img {
    max-width: 100%;
    border-radius: 12px;
    display: inline-block;
}
.sc-figure figcaption {
    margin-top: 8px;
    font-size: 13px;
    color: #888;
}
.sc-timeline {
    margin: 16px 0;
}
.sc-timeline ul.sc-timeline-list {
    list-style: none;
    margin: 0;
    padding-left: 20px;
    border-left: 2px solid #e6e8ef;
}
.sc-timeline ul.sc-timeline-list li {
    position: relative;
    padding: 8px 0;
    line-height: 1.7;
}
.sc-timeline ul.sc-timeline-list li::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 14px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #5d6d9e;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #e6e8ef;
}
.sc-warn-icon {
    display: inline-flex;
    vertical-align: middle;
    width: 18px;
    height: 18px;
    color: #e6a23c;
}
.sc-warn-icon svg {
    width: 100%;
    height: 100%;
}
.sc-hide {
    margin: 12px 0;
    border-radius: 8px;
    overflow: hidden;
}
.sc-hide-mask {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: repeating-linear-gradient(
        45deg,
        #f5f5f5,
        #f5f5f5 10px,
        #fafafa 10px,
        #fafafa 20px
    );
    color: #999;
    font-size: 14px;
    border: 1px dashed #ddd;
    border-radius: 8px;
}
.sc-hide-mask svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.sc-collapse {
    margin: 12px 0;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
}
.sc-collapse-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: #fafafa;
    color: #555;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    user-select: none;
    -webkit-touch-callout: none;
}
.sc-collapse-header:hover {
    background: #f0f0f0;
}
.sc-collapse-header:active {
    background: #e8e8e8;
    box-shadow: none;
    outline: none;
}
.sc-collapse-header:focus {
    outline: none;
    box-shadow: none;
}
.sc-collapse-title {
    font-weight: 500;
}
.sc-collapse-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.sc-collapse.open .sc-collapse-arrow {
    transform: rotate(180deg);
}
.sc-collapse-body {
    display: none;
    padding: 14px 16px;
    background: #fff;
    font-size: 14px;
    line-height: 1.7;
    border-top: 1px solid #e8e8e8;
}
.sc-collapse.open .sc-collapse-body {
    display: block;
}
.sc-collapse-body > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.page-body .sc-collapse-body > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.page-body .sc-collapse-body > .mac-code-block {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.sc-github {
    margin: 8px 0;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
    font-size: 12px;
}
.sc-github-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
}
.sc-github-logo {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: #888;
}
.sc-github-name {
    font-size: 14px;
    font-weight: 600;
    color: #5d6d9e;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sc-github-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    font-size: 11px;
    color: #666;
}
.sc-github-stars,
.sc-github-forks {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.sc-github-stars svg {
    width: 12px;
    height: 12px;
    fill: #e3b341;
}
.sc-github-forks svg {
    width: 12px;
    height: 12px;
    fill: #888;
}

.sc-github-body {
    padding: 8px 12px;
}
.sc-github-desc {
    font-size: 12px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}
.sc-github-desc:empty {
    display: none;
}
.sc-github-link {
    font-size: 12px;
    color: #5d6d9e;
    text-decoration: none !important;
}
.sc-github-homepage {
    font-size: 11px;
    color: #999;
    text-decoration: none !important;
}

.sc-github-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    background: #f5f5f5;
    border-top: 1px solid #f0f0f0;
    font-size: 11px;
    color: #888;
}
.sc-github-lang {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #5d6d9e;
    margin-right: 4px;
}
.sc-github-download {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    color: #555;
    padding: 2px 8px;
    font-size: 11px;
    text-decoration: none !important;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}
.sc-github-download:hover {
    border-color: #5d6d9e;
    color: #5d6d9e;
}
.sc-bilibili {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding-top: 56.25%;
    margin: 18px 0;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.sc-bilibili iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
@media (max-width: 640px) {
    .sc-bilibili {
        border-radius: 6px;
        margin: 12px 0;
    }
}
.sc-linkcard-wrap {
    margin: 10px 0;
}
.sc-linkcard-wrap .sc-linkcard,
.page-body .sc-linkcard,
.friendlink-body .sc-linkcard,
.moment-text .sc-linkcard {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #f5f5f5;
    border-radius: 10px;
    text-decoration: none !important;
    color: inherit;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    width: 100%;
    box-sizing: border-box;
}
.page-body .sc-linkcard,
.friendlink-body .sc-linkcard,
.moment-text .sc-linkcard {
    margin: 0;
}
.sc-linkcard {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #f5f5f5;
    border-radius: 10px;
    text-decoration: none !important;
    color: inherit;
    margin: 10px 0;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    width: 100%;
    box-sizing: border-box;
}
.sc-linkcard-wrap .sc-linkcard:hover,
.page-body .sc-linkcard:hover,
.friendlink-body .sc-linkcard:hover,
.moment-text .sc-linkcard:hover,
.sc-linkcard:hover {
    background: #fff;
    border-color: #e8e8e8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.sc-linkcard-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.sc-linkcard-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sc-linkcard-icon svg {
    width: 20px;
    height: 20px;
    color: #888;
    fill: currentColor;
}
.sc-linkcard-body {
    flex: 1;
    min-width: 0;
}
.sc-linkcard-title {
    font-size: 0.95rem;
    color: #222;
    font-weight: 500;
    letter-spacing: 0.2px;
    line-height: 1.4;
}
.sc-linkcard-desc {
    font-size: 0.82rem;
    color: #999;
    margin-top: 3px;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sc-linkcard-arrow {
    color: #ccc;
    font-size: 0.85rem;
    transition: color 0.2s;
    flex-shrink: 0;
}
.sc-linkcard:hover .sc-linkcard-arrow {
    color: #999;
}
@media (max-width: 480px) {
    .sc-linkcard-wrap .sc-linkcard,
    .page-body .sc-linkcard,
    .friendlink-body .sc-linkcard,
    .moment-text .sc-linkcard,
    .sc-linkcard {
        padding: 12px 14px;
        gap: 12px;
    }
    .sc-linkcard-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }
    .sc-linkcard-icon svg {
        width: 18px;
        height: 18px;
    }
    .sc-linkcard-title {
        font-size: 0.9rem;
    }
    .sc-linkcard-desc {
        font-size: 0.78rem;
    }
}
.ul-square,
.moment-text .ul-square,
.page-body .ul-square,
.friendlink-body .ul-square {
    list-style: none;
    padding-left: 0;
    margin: 12px 0;
}
.ul-square li,
.moment-text .ul-square li,
.page-body .ul-square li,
.friendlink-body .ul-square li {
    margin: 6px 0;
    list-style: none;
    position: relative;
    padding-left: 18px;
    line-height: 18px;
}
.ul-square li::before,
.moment-text .ul-square li::before,
.page-body .ul-square li::before,
.friendlink-body .ul-square li::before {
    content: "■";
    color: #666;
    font-size: 9px;
    position: absolute;
    left: 0;
    top: 5px;
    line-height: 1;
}
.ol-gray-bg,
.moment-text .ol-gray-bg,
.page-body .ol-gray-bg,
.friendlink-body .ol-gray-bg {
    list-style: none;
    padding-left: 0;
    margin: 12px 0;
    counter-reset: num;
}
.ol-gray-bg li,
.moment-text .ol-gray-bg li,
.page-body .ol-gray-bg li,
.friendlink-body .ol-gray-bg li {
    list-style: none;
    margin: 8px 0;
    padding-left: 24px;
    position: relative;
    line-height: 18px;
}
.ol-gray-bg li::before,
.moment-text .ol-gray-bg li::before,
.page-body .ol-gray-bg li::before,
.friendlink-body .ol-gray-bg li::before {
    counter-increment: num;
    content: counter(num);
    position: absolute;
    left: 0;
    top: 0;
    background: #eeeeee;
    width: 18px;
    height: 18px;
    border-radius: 99px;
    display: grid;
    place-items: center;
    font-size: 10px;
    line-height: 1;
    color: #555;
}
