.site-header,.site-header-actions .select-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
    backdrop-filter: blur(10px);
}

/* 为所有页面内容添加顶部边距/内边距，避免被固定导航栏遮挡 */
body {
    padding-top: 80px;
}

main {
    margin-top: 0;
}

.markdown-body,body {
    font-family: -apple-system, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 16px;
    line-height: 1.7;
    word-wrap: break-word;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -webkit-backface-visibility: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-size: 400% 400%;
    background-attachment: fixed;
    color: #333333;
    letter-spacing: 0.01em;
    animation: gradientShift 15s ease infinite;
    position: relative;
}

/* 渐变背景动画 */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 添加微妙的背景粒子效果 */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(0,0,0,0.05)"/><circle cx="80" cy="40" r="1" fill="rgba(0,0,0,0.05)"/><circle cx="60" cy="80" r="1" fill="rgba(0,0,0,0.05)"/><circle cx="40" cy="60" r="1" fill="rgba(0,0,0,0.05)"/><circle cx="90" cy="90" r="1" fill="rgba(0,0,0,0.05)"/><circle cx="10" cy="70" r="1" fill="rgba(0,0,0,0.05)"/></svg>');
    opacity: 0.5;
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
}

/* 添加一些装饰性的浮动元素 */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 50%);
    z-index: -1;
    animation: floatDecor 30s ease-in-out infinite;
}

@keyframes floatDecor {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

    @font-face {
        font-family: octicons;
        src: url(../fonts/octicons.eot?#iefix) format("embedded-opentype"),
             url(../fonts/octicons.woff) format("woff"),
             url(../fonts/octicons.ttf) format("truetype"),
             url(../fonts/octicons.svg#octicons) format("svg");
        font-weight: 400;
        font-style: normal;
    }

.pagination {
    padding: 20px 0;
    text-align: center
}

.pagination a {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 2px;
    color: #7a6a4a;
    text-decoration: none;
    border: 1px solid #c8b593;
    background-color: rgba(245, 242, 232, 0.8);
    transition: all 0.3s ease;
}

.pagination a:hover {
    color: #8b6f47;
    background-color: rgba(200, 181, 147, 0.3);
}

.pagination a.active {
    background: #c8b593;
    border-color: #8b6f47;
    z-index: 2;
    color: #5a4a3a;
    cursor: default
}

.text-center {
    text-align: center
}

.btn-inline .btn {
    margin: 5px
}

/* 自定义按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, #8b6f47, #c8b593);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 111, 71, 0.4);
}

.btn-outline {
    background: transparent;
    color: #8b6f47;
    border: 2px solid #8b6f47;
}

.btn-outline:hover {
    background: #8b6f47;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 111, 71, 0.3);
}

/* 按钮点击波纹效果 */
.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.btn:active::after {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* 移动端汉堡菜单按钮样式增强 */
.mobile-visible {
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.mobile-visible:hover {
    background: rgba(200, 181, 147, 0.2);
    transform: scale(1.1);
}

.mobile-visible .icon-bar {
    display: block;
    width: 24px;
    height: 3px;
    margin: 5px 0;
    background-color: #8b6f47;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-visible.collapsed .icon-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-visible.collapsed .icon-bar:nth-child(2) {
    opacity: 0;
}

.mobile-visible.collapsed .icon-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.site-header {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #c8b593;
    background-color: rgba(245, 242, 232, 0.9);
    backdrop-filter: blur(10px);
}

.site-header .account-switcher {
    display: inline-block;
    margin-top: -2px;
    margin-bottom: -6px
}

.site-header-actions .select-menu:after,.site-header-actions .select-menu:before {
    display: table;
    content: ""
}

.site-header ul.site-header-actions {
    z-index: 21;
    float: right;
    margin: 0
}

.site-header ul.site-header-actions .feed-icon {
    margin-top: 5px;
    color: #7a6a4a;
    transition: color 0.3s ease;
}

.site-header ul.site-header-actions .feed-icon:hover {
    color: #8b6f47;
}

.site-header .path-divider {
    margin: 0 .25em
}

.site-header h1 {
    float: left
}

.site-header h1,.site-header h1 .octicon {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 38px;
    font-weight: 700;
    line-height: 36px;
    vertical-align: top;
    letter-spacing: -0.01em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

.markdown-body dl dt,.markdown-body table th,.pl-mb,.pl-mdr,.pl-mh,.pl-mh .pl-en,.pl-ms,.pl-sr .pl-cce,.site-header h1 strong {
    font-weight: 700
}

.site-header h1 a {
    white-space: nowrap;
    color: #5a4a3a
}

.site-header h1 a:hover {
    text-decoration: none
}

.site-header h1 .avatar {
    margin-top: -2px;
    margin-right: 9px;
    margin-bottom: -2px
}

.site-header-actions>li {
    float: left;
    margin: 0 10px 0 0;
    font-size: 11px;
    color: #7a6a4a;
    list-style-type: none
}

.site-header-actions>li:last-child {
    margin-right: 0
}

.site-header-actions .octicon-mute {
    color: #c00
}

.site-header-actions .select-menu:after {
    clear: both
}

.site-header-actions .select-menu-modal-holder {
    top: 100%
}

.site-header-nav {
    float: right;
    margin-bottom: -20px;
    z-index: 10000;
    position: relative;
}

.site-header-nav-item {
    display: inline-block;
    padding: 6px 15px 15px;
    margin-left: 1.25rem;
    font-size: 1rem;
    color: #7a6a4a;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.site-header-nav-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #8b6f47, #c8b593);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-footer:after,.site-footer:before {
    display: table;
    content: ""
}

.site-header-nav-item:hover {
    color: #8b6f47;
    text-decoration: none;
    background: rgba(200, 181, 147, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 111, 71, 0.15);
}

.site-header-nav-item:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.site-header-nav-item.selected {
    color: #8b6f47;
    padding: 6px 15px 13px;
    border-bottom: 3px solid #8b6f47;
    background: rgba(200, 181, 147, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 111, 71, 0.2);
}

.site-header-nav-item.selected::before {
    transform: scaleX(1);
    transform-origin: left;
}

.site-header-nav-item+.btn-outline {
    margin-top: -1px;
    margin-left: 20px
}

.site-footer {
    position: relative;
    margin-top: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
    font-size: 12px;
    line-height: 1.5;
    color: #7a6a4a;
    border-top: 1px solid #c8b593
}

.markdown-body h1,.markdown-body h2 {
    padding-bottom: .3em;
    border-bottom: 1px solid #c8b593;
    color: #5a4a3a;
}

.site-footer .copyright {
    padding-right: 20px
}

.site-footer-links {
    margin: 0;
    list-style: none
}

.site-footer-links li {
    display: inline-block;
    line-height: 16px
}

.site-footer-links li+li {
    margin-left: 10px
}

.site-footer-links a {
    color: #7a6a4a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer-links a:hover {
    color: #8b6f47;
    text-decoration: underline;
}

.site-footer:after {
    clear: both
}

.site-footer .octicon-mark-github {
    position: absolute;
    top: 38px;
    left: 50%;
    height: 24px;
    width: 24px;
    margin-left: -12px;
    font-size: 24px;
    color: #c8b593
}

.site-footer .octicon-mark-github:hover {
    color: #8b6f47
}

.site-footer-links {
    margin: 0;
    list-style: none
}

.site-footer-links li {
    display: inline-block;
    line-height: 16px
}

.site-footer-links li+li {
    margin-left: 10px
}

.share {
    margin: 20px 0
}

.markdown-body {
    overflow: hidden
}

.markdown-body>:first-child {
    margin-top: 0!important
}

.markdown-body>:last-child {
    margin-bottom: 0!important
}

.markdown-body a:not([href]) {
    color: inherit;
    text-decoration: none
}

.markdown-body .absent {
    color: #c00
}

.markdown-body a {
    color: #7a6a4a;
    text-decoration: none;
    transition: all 0.3s ease;
}

.markdown-body a:hover {
    text-decoration: none;
    color: #8b6f47;
    text-decoration: underline;
}

.markdown-body .anchor {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    padding-right: 6px;
    padding-left: 30px;
    margin-left: -30px
}

.markdown-body .anchor:focus {
    outline: 0
}

.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6 {
    position: relative;
    margin-top: 2em;
    margin-bottom: 1em;
    font-weight: 700;
    line-height: 1.35;
    color: #5a4a3a;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
}

.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link {
    display: none;
    color: #000;
    vertical-align: middle
}

.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor {
    padding-left: 8px;
    margin-left: -30px;
    text-decoration: none
}

.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link {
    display: inline-block
}

.markdown-body h1 code,.markdown-body h1 tt,.markdown-body h2 code,.markdown-body h2 tt,.markdown-body h3 code,.markdown-body h3 tt,.markdown-body h4 code,.markdown-body h4 tt,.markdown-body h5 code,.markdown-body h5 tt,.markdown-body h6 code,.markdown-body h6 tt {
    font-size: inherit
}

.markdown-body h1 {
    font-size: 2.8em;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 1.5em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #c8b593;
}

.markdown-body h1 .anchor {
    line-height: 1
}

.markdown-body h2 {
    font-size: 2.2em;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.015em;
    padding-bottom: 0.4em;
    border-bottom: 1px solid #c8b593;
}

.markdown-body h2 .anchor {
    line-height: 1
}

.markdown-body h3 {
    font-size: 1.8em;
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #6a5a4a;
}

.markdown-body h3 .anchor,.markdown-body h4 .anchor {
    line-height: 1.2
}

.markdown-body h4 {
    font-size: 1.5em;
    font-weight: 600;
    color: #7a6a5a;
}

.markdown-body h5 .anchor,.markdown-body h6 .anchor {
    line-height: 1.1
}

.markdown-body h5 {
    font-size: 1.25em;
    font-weight: 600;
    color: #8a7a6a;
}

.markdown-body h6 {
    font-size: 1em;
    font-weight: 600;
    color: #8a7a6a;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.markdown-body blockquote,.markdown-body dl,.markdown-body ol,.markdown-body p,.markdown-body pre,.markdown-body table,.markdown-body ul {
    margin-top: 0;
    margin-bottom: 24px;
    text-align: justify;
    line-height: 1.7;
}

.markdown-body hr {
    height: 1px;
    padding: 0;
    margin: 16px 0;
    background: linear-gradient(90deg, transparent, #c8b593, transparent);
    border: 0;
}

.markdown-body ol,.markdown-body ul {
    padding-left: 2.5em;
    margin-bottom: 24px;
}

.markdown-body ol.no-list,.markdown-body ul.no-list {
    padding: 0;
    list-style-type: none
}

.markdown-body ol ol,.markdown-body ol ul,.markdown-body ul ol,.markdown-body ul ul {
    margin-top: 0;
    margin-bottom: 0
}

.markdown-body li>p {
    margin-top: 8px;
    margin-bottom: 8px;
}

.markdown-body dl {
    padding: 0
}

.markdown-body dl dt {
    padding: 0;
    margin-top: 16px;
    font-size: 1em;
    font-style: italic
}

.markdown-body dl dd {
    padding: 0 16px;
    margin-bottom: 16px
}

.markdown-body blockquote {
    padding: 20px 30px;
    margin: 24px 0;
    color: #5a4a3a;
    border-left: 4px solid #8b6f47;
    background: linear-gradient(135deg, rgba(200, 181, 147, 0.1), rgba(139, 111, 71, 0.05));
    font-style: italic;
    font-size: 1.1em;
    line-height: 1.6;
    border-radius: 0 12px 12px 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(139, 111, 71, 0.1);
    transition: all 0.3s ease;
}

.markdown-body blockquote:hover {
    box-shadow: 0 8px 30px rgba(139, 111, 71, 0.25);
    transform: translateX(5px);
}

.markdown-body blockquote::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    left: 15px;
    color: rgba(139, 111, 71, 0.5);
    font-size: 32px;
}

.markdown-body blockquote::after {
    content: '\f10e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: rgba(139, 111, 71, 0.5);
    font-size: 32px;
}

.markdown-body blockquote>:first-child {
    margin-top: 0
}

.markdown-body blockquote>:last-child {
    margin-bottom: 0
}

.markdown-body table {
    display: block;
    width: 100%;
    overflow: auto;
    word-break: normal;
    word-break: keep-all;
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 111, 71, 0.1);
}

.markdown-body table td,.markdown-body table th {
    padding: 12px 18px;
    border: 1px solid #e0d5c2;
    color: #5a4a3a;
    transition: all 0.2s ease;
}

.markdown-body table th {
    background: linear-gradient(135deg, #8b6f47, #c8b593);
    color: white;
    font-weight: 600;
    text-align: left;
}

.markdown-body table tr {
    background-color: rgba(255, 255, 255, 0.95);
    border-top: 1px solid #e0d5c2;
    color: #5a4a3a;
    transition: all 0.3s ease;
}

.markdown-body table tr:hover {
    background-color: rgba(200, 181, 147, 0.2);
    transform: translateY(-1px);
}

.markdown-body table tr:nth-child(2n) {
    background-color: rgba(200, 181, 147, 0.1);
}

.markdown-body table tr:nth-child(2n):hover {
    background-color: rgba(200, 181, 147, 0.3);
}

.markdown-body img {
    max-width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border: 1px solid #c8b593;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(139, 111, 71, 0.15);
    transition: all 0.3s ease;
    display: block;
    margin: 20px auto;
}

.markdown-body img:hover {
    box-shadow: 0 8px 30px rgba(139, 111, 71, 0.3);
    transform: scale(1.02);
}

.markdown-body .emoji {
    max-width: none
}

.markdown-body span.frame {
    display: block;
    overflow: hidden
}

.markdown-body span.frame>span {
    display: block;
    float: left;
    width: auto;
    padding: 7px;
    margin: 13px 0 0;
    overflow: hidden;
    border: 1px solid #c8b593;
    background-color: rgba(255, 255, 255, 0.8);
}

.markdown-body span.frame span img {
    display: block;
    float: left
}

.markdown-body span.frame span span {
    display: block;
    padding: 5px 0 0;
    clear: both;
    color: #e0e0ff
}

.markdown-body span.align-center {
    display: block;
    overflow: hidden;
    clear: both
}

.markdown-body span.align-center>span {
    display: block;
    margin: 13px auto 0;
    overflow: hidden;
    text-align: center
}

.markdown-body span.align-center span img {
    margin: 0 auto;
    text-align: center
}

.markdown-body span.align-right {
    display: block;
    overflow: hidden;
    clear: both
}

.markdown-body span.align-right>span {
    display: block;
    margin: 13px 0 0;
    overflow: hidden;
    text-align: right
}

.markdown-body span.align-right span img {
    margin: 0;
    text-align: right
}

.markdown-body span.float-left {
    display: block;
    float: left;
    margin-right: 13px;
    overflow: hidden
}

.markdown-body span.float-left span {
    margin: 13px 0 0
}

.markdown-body span.float-right {
    display: block;
    float: right;
    margin-left: 13px;
    overflow: hidden
}

.markdown-body span.float-right>span {
    display: block;
    margin: 13px auto 0;
    overflow: hidden;
    text-align: right
}

.markdown-body code,.markdown-body tt {
    font-family: 'Fira Code', monospace, Consolas, "Liberation Mono", Menlo, Courier;
    padding: 3px 6px;
    margin: 0 2px;
    font-size: 90%;
    background: linear-gradient(135deg, rgba(200, 181, 147, 0.3), rgba(139, 111, 71, 0.1));
    color: #8b6f47;
    border-radius: 6px;
    border: solid 1px #c8b593;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(139, 111, 71, 0.1);
}

.markdown-body code:hover,.markdown-body tt:hover {
    background: linear-gradient(135deg, rgba(200, 181, 147, 0.5), rgba(139, 111, 71, 0.2));
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(139, 111, 71, 0.2);
}

.markdown-body code br,.markdown-body tt br {
    display: none
}

.markdown-body del code {
    text-decoration: inherit
}

.markdown-body pre>code {
    padding: 0;
    margin: 0;
    font-size: 100%;
    word-break: normal;
    white-space: pre;
    background: 0 0;
    border: 0
}

.markdown-body .highlight {
    margin-bottom: 16px
}

.markdown-body .highlight pre,.markdown-body pre {
    padding: 20px;
    overflow: auto;
    font-size: 85%;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #c8b593;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(139, 111, 71, 0.15);
    position: relative;
    transition: all 0.3s ease;
}

.markdown-body .highlight pre:hover,.markdown-body pre:hover {
    box-shadow: 0 8px 30px rgba(139, 111, 71, 0.25);
    transform: translateY(-2px);
}

.markdown-body .highlight pre {
    margin-bottom: 0;
    word-break: normal
}

.markdown-body pre {
    word-wrap: normal;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #c8b593;
    border-radius: 12px;
}

/* 代码块语言标签样式 */
.markdown-body pre::before {
    content: attr(data-language);
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #8b6f47, #c8b593);
    color: white;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 0 12px 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.markdown-body pre code,.markdown-body pre tt {
    display: inline;
    max-width: initial;
    padding: 0;
    margin: 0;
    overflow: initial;
    line-height: inherit;
    word-wrap: normal;
    background-color: transparent;
    border: 0;
    color: #5a4a3a;
}

.markdown-body pre code:after,.markdown-body pre code:before,.markdown-body pre tt:after,.markdown-body pre tt:before {
    content: normal
}

.markdown-body kbd {
    display: inline-block;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #5a4a3a;
    vertical-align: middle;
    background-color: #f8f5f0;
    border: 1px solid #c8b593;
    border-bottom: 3px solid #8b6f47;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(139, 111, 71, 0.2);
    transition: all 0.2s ease;
    font-family: monospace, Consolas, "Liberation Mono", Menlo, Courier;
}

.markdown-body kbd:hover {
    background-color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(139, 111, 71, 0.3);
}

.pl-c {
    color: #969896
}

.pl-c1,.pl-s .pl-v {
    color: #0086b3
}

.pl-e,.pl-en {
    color: #795da3
}

.pl-s .pl-s1,.pl-smi {
    color: #333
}

.pl-ent {
    color: #63a35c
}

.pl-k {
    color: #a71d5d
}

.pl-pds,.pl-s,.pl-s .pl-pse .pl-s1,.pl-sr,.pl-sr .pl-cce,.pl-sr .pl-sra,.pl-sr .pl-sre {
    color: #183691
}

.pl-v {
    color: #ed6a43
}

.pl-id {
    color: #b52a1d
}

.pl-ii {
    background-color: #b52a1d;
    color: #f8f8f8
}

.pl-sr .pl-cce {
    color: #63a35c
}

.pl-ml {
    color: #693a17
}

.pl-mh,.pl-mh .pl-en,.pl-ms {
    color: #1d3e81
}

.pl-mq {
    color: teal
}

.pl-mi {
    color: #333;
    font-style: italic
}

.pl-mb {
    color: #333
}

.pl-md {
    background-color: #ffecec;
    color: #bd2c00
}

.pl-mi1 {
    background-color: #eaffea;
    color: #55a532
}

.pl-mdr {
    color: #795da3
}

.pl-mo {
    color: #1d3e81
}

pre {
    border: 1px solid #ccc;
}

.tools-wrapper {
  position: fixed;
  right: 1em;
  bottom: 3.4375em;
  z-index: 9;
  width: 2.5em;
}

.tools-wrapper a {
  color: #7a6a4a;
  text-align: center;
  margin-bottom: -1px;
  background: rgba(245, 242, 232, 0.8);
  border: 1px solid #c8b593;
  transition: all 0.3s ease;
}

.tools-wrapper a:hover {
  color: #8b6f47;
  background: rgba(200, 181, 147, 0.3);
}

.tools-wrapper span.octicon {
  font-size: 1.5em;
}

.tools-wrapper .gotop {
  display: none;
}

.top-most-flag {
  color: #8b6f47;
}

a.footnote:hover {
    border-bottom: none
}

a.footnote::before {
    content: "[";
    padding: 0 2px
}

a.footnote::after {
    content: "]";
    padding: 0 2px
}

div.footnotes>ol {
    padding-left: 1.5rem;
    font-size: 0.9rem
}

div.footnotes>ol p {
    margin-bottom: 0.5rem
}

div.footnotes::before {
    content: "";
    display: block;
    margin: 1.5rem 0;
    border: 0;
    border-top: 1px solid #ccc;
    width: 20%
}

img + em {
  color: #7a6a4a;
  display: block;
  text-align: center;
  font-size: 0.9em;
  margin-top: 5px;
}

.content-header-ad { display:inline-block; width: 320px; height: 50px; }
@media (max-width: 400px) { .content-header-ad { display: none; } }
@media (min-width:500px) { .content-header-ad { width: 468px; height: 60px; } }
@media (min-width:800px) { .content-header-ad { width: 728px; height: 90px; } }
