* {
    margin: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0 0 100px 0;
    position: absolute;
    width: 100%;
    min-height: 100vh;
    background-color: #0d1117;
    color: #e6edf3;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    line-height: 1.5;
    word-wrap: break-word;
}

header {
    padding: 12px 16px;
    margin: 0 auto;
    text-transform: uppercase;
    text-align: center;
}

header ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#errors > div {
    padding: 12px 16px;
    background: #3c1e28;
    color: #ff7b72;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 14px;
    max-width: 660px;
    margin: 16px auto;
    border: 1px solid #f85149;
    border-radius: 6px;
}

footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 16px;
    color: #848d97;
    font-size: 13px;
} 

footer > * {
    display: block;
    width: 100%;
    text-align: center;
}

main {
    position: relative;
    box-sizing: border-box;
    max-width: 1012px;
    padding: 16px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    font-weight: 600;
    line-height: 1.25;
    color: #e6edf3;
    margin-top: 24px;
    margin-bottom: 16px;
}

h1 {
    font-size: 2em;
    padding-bottom: 0.3em;
    border-bottom: 1px solid #21262d;
    margin-top: 0.67em;
}

h2 {
    font-size: 1.5em;
    padding-bottom: 0.3em;
    border-bottom: 1px solid #21262d;
}

h3 {
    font-size: 1.25em;
}

h4 {
    font-size: 1em;
}

h5 {
    font-size: 0.875em;
}

h6 {
    font-size: 0.85em;
    color: #848d97;
}

h1, h2, h3, b, strong, i, em {
    color: #e6edf3;
}

b, strong {
    font-weight: 600;
}

a {
    color: #4493f8;
    text-decoration: none;
    font-weight: 400;
}

a:hover {
    text-decoration: underline;
    color: #79c0ff;
}

main > * {
    margin: 16px auto;
    max-width: 1012px;
}

main p {
    margin-top: 0;
    margin-bottom: 16px;
    line-height: 1.6;
    color: #e6edf3;
}

main > h1 {
    margin: 16px auto;
    text-align: left;
}

main img {
    position: relative;
    display: block;
    max-width: 100%;
    margin: 16px auto;
    padding: 0;
    border-radius: 6px;
}

.main-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
    margin: 16px auto;
    gap: 12px;
}

.main-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.main-links a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 14px 18px;
    text-align: left;
    text-decoration: none;
    color: #c9d1d9;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.main-links a:hover {
    background-color: #21262d;
    border-color: #58a6ff;
    color: #ffffff;
    text-decoration: none;
}

.main-link-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #e6edf3;
}

.main-links a:hover .main-link-title {
    color: #58a6ff;
}

.main-link-desc {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #848d97;
    line-height: 1.45;
}

.main-links a:hover .main-link-desc {
    color: #c9d1d9;
}

.main-categories a {
    display: block;
    width: 100%;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 12px 16px;
    text-align: center;
    text-decoration: none;
    color: #c9d1d9;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.main-categories a:hover {
    background-color: #21262d;
    border-color: #58a6ff;
    color: #ffffff;
    text-decoration: none;
}

.reading-port {
    display: block;
    width: 100%;
    max-width: 1012px;
    margin: 0 auto;
    box-sizing: border-box;
}

.reading-port h1,
.reading-port h2,
.reading-port h3 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

.reading-port table,
.guides-markdown-article table {
    border-spacing: 0;
    border-collapse: collapse;
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: auto;
    margin-top: 0;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.reading-port table th,
.guides-markdown-article table th {
    font-weight: 600;
    padding: 6px 13px;
    border: 1px solid #30363d;
    background-color: #161b22;
    color: #e6edf3;
    text-align: left;
    white-space: nowrap;
}

.reading-port table td,
.guides-markdown-article table td {
    padding: 6px 13px;
    border: 1px solid #30363d;
    color: #e6edf3;
    font-size: 14px;
    line-height: 1.5;
}

.reading-port table tr,
.guides-markdown-article table tr {
    background-color: #0d1117;
    border-top: 1px solid #21262d;
}

.reading-port table tr:nth-child(2n),
.guides-markdown-article table tr:nth-child(2n) {
    background-color: #161b22;
}

.code-container img {
    width: 100%;
    max-width: 480px;
    display: block;
    margin: 16px auto;
    border-radius: 6px;
}

.code-container .date {
    display: block;
    font-size: 13px;
    color: #848d97;
    margin-top: 0;
    margin-bottom: 8px;
    text-align: right;
}

main blockquote {
    padding: 0 1em;
    color: #848d97;
    border-left: 0.25em solid #30363d;
    margin: 0 0 16px 0;
    font-size: 1em;
    font-style: normal;
    font-family: inherit;
}

main pre {
    padding: 16px;
    overflow: auto;
    font-size: 85%;
    line-height: 1.45;
    color: #e6edf3;
    background-color: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    word-wrap: normal;
    margin: 16px 0;
    box-sizing: border-box;
}

main pre::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
  
main pre::-webkit-scrollbar-track {
    background: #161b22;
    border-radius: 4px;
}

main pre::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 4px;
}

main pre::-webkit-scrollbar-thumb:hover {
    background: #8b949e;
}

/* Firefox */
main pre {
    scrollbar-width: thin;
    scrollbar-color: #30363d #161b22;
}

code, tt {
    padding: 0.2em 0.4em;
    margin: 0;
    font-size: 85%;
    white-space: break-spaces;
    background-color: rgba(110, 118, 129, 0.4);
    border-radius: 6px;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
    color: #e6edf3;
}

pre code {
    display: inline;
    max-width: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    line-height: inherit;
    word-wrap: normal;
    background-color: transparent;
    border: 0;
    font-size: 100%;
    white-space: pre;
}

main hr {
    height: 0.25em;
    padding: 0;
    margin: 24px 0;
    background-color: #30363d;
    border: 0;
}

ul, ol {
    padding-left: 2em;
    margin-top: 0;
    margin-bottom: 16px;
    color: #e6edf3;
}

li {
    margin-top: 0.25em;
}

li + li {
    margin-top: 0.25em;
}

.block-link {
    display: flex;
    width: 100%;
    text-align: center;
    margin: 16px auto;
    align-content: center;
    flex-wrap: wrap;
    justify-content: center;
}

.block-link > img {
    display: block;
    margin: 0 16px;
    width: 2em;
}

.cards {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.cards a {
    display: block;
    width: 275px;
    color: #c9d1d9;
    text-decoration: none;
    font-weight: 400;
    background: #161b22;
    border: 1px solid #30363d;
    margin: 8px;
    padding: 16px;
    text-align: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.cards a:hover {
    border-color: #58a6ff;
    color: #ffffff;
    text-decoration: none;
}

.cards .date {
    display: block;
    font-size: 12px;
    color: #848d97;
    margin-top: 8px;
}

.sm-img {
    max-width: 200px;
    display: inline-block;
}

.just-block {
    text-align: justify;
}

.code-ping {
    padding: 16px;
    color: #c9d1d9;
    max-width: 768px;
}

.code-ping a {
    color: #58a6ff;
    text-decoration: none;
    font-weight: 600;
}

.code-ping-link {
    display: block;
    width: 100%;
    overflow-wrap: break-word;
}

.code-ping img {
    width: 100%;
    border: 1px solid #30363d;
    border-radius: 6px;
}

.code-ping-head {
    display: flex;
    justify-content: left;
}

.code-ping-head img {
    display: block;
    width: 40px;
    border-radius: 50%;
    margin: 6px;
}

.code-ping-head span {
    line-height: 52px;
    font-weight: 600;
}

.code-ping-foot {
    display: flex;
    justify-content: space-between;
}

.code-ping-date {
    display: block;
    width: 100%;
    font-size: 12px;
    color: #848d97;
    text-align: right;
}

/* Guides & Posts Navigation Bar (GitHub Dark Theme) */
.guides-navigation-bar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px auto 24px auto;
    padding: 14px 16px;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    box-sizing: border-box;
    width: 100%;
}

.guides-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

.guides-nav-home-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #c9d1d9;
    background: #21262d;
    border: 1px solid #30363d;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.guides-nav-home-link:hover {
    background: #30363d;
    border-color: #58a6ff;
    color: #ffffff;
    text-decoration: none;
}

.guides-nav-home-icon {
    width: 14px !important;
    height: 14px !important;
    object-fit: contain;
    display: inline-block !important;
    margin: 0 !important;
}

.guides-nav-home-label {
    font-size: 13px;
}

.guides-breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 6px;
    font-size: 14px;
}

.guides-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #848d97;
}

.guides-breadcrumb-item.is-active .guides-breadcrumb-text {
    color: #e6edf3;
    font-weight: 600;
}

.guides-breadcrumb-link {
    color: #58a6ff;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: color 0.15s ease;
}

.guides-breadcrumb-link:hover {
    color: #79c0ff;
    text-decoration: underline;
}

.guides-breadcrumb-icon {
    width: 16px !important;
    height: 16px !important;
    object-fit: contain;
    display: inline-block !important;
    margin: 0 !important;
}

.guides-breadcrumb-separator {
    color: #484f58;
    font-size: 12px;
    margin: 0 2px;
    user-select: none;
}

.guides-directory-accordion {
    width: 100%;
    border-top: 1px solid #21262d;
    padding-top: 12px;
    box-sizing: border-box;
}

.guides-directory-header-row {
    list-style: none;
    cursor: default;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.guides-directory-header-row::-webkit-details-marker {
    display: none;
}

.guides-directory-toggle-btn {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #21262d;
    color: #c9d1d9;
    border: 1px solid #30363d;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    user-select: none;
    transition: all 0.2s ease;
}

.guides-directory-toggle-btn:hover {
    background: #30363d;
    border-color: #8b949e;
    color: #ffffff;
}

.guides-directory-accordion[open] .guides-directory-toggle-btn {
    background: #30363d;
    border-color: #58a6ff;
    color: #ffffff;
}

.guides-toggle-badge {
    background: #30363d;
    color: #848d97;
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 10px;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

.guides-toggle-arrow {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.guides-directory-accordion[open] .guides-toggle-arrow {
    transform: rotate(180deg);
}

.guides-nav-buttons {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.guides-directory-panel {
    width: 100%;
    margin-top: 12px;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 16px;
    box-sizing: border-box;
    animation: fadeIn 0.2s ease-out;
}

.guides-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid #21262d;
    font-size: 13px;
}

.guides-panel-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e6edf3;
    font-weight: 600;
}

.guides-panel-root-link {
    color: #58a6ff;
    font-size: 13px;
    text-decoration: none;
}

.guides-panel-root-link:hover {
    color: #79c0ff;
    text-decoration: underline;
}

.guides-panel-content {
    width: 100%;
}

.guides-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #21262d;
    color: #c9d1d9;
    border: 1px solid #30363d;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.guides-btn:hover {
    background: #30363d;
    border-color: #8b949e;
    color: #ffffff;
    text-decoration: none;
}

.guides-btn.is-active {
    border-color: #58a6ff;
    color: #58a6ff;
}

.guides-btn-disabled {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #161b22;
    color: #484f58;
    border: 1px solid #21262d;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 13px;
    cursor: not-allowed;
    user-select: none;
}

.guides-tree-folder {
    display: block;
    width: 100%;
    border: 1px solid #30363d;
    background: #161b22;
    padding: 10px 14px;
    border-radius: 6px;
    margin: 6px auto;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.guides-tree-folder:hover {
    border-color: #8b949e;
}

.guides-tree-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: #c9d1d9;
    user-select: none;
    padding: 2px 0;
}

.guides-tree-summary::-webkit-details-marker {
    display: none;
}

.guides-folder-header {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.guides-folder-toggle-icon {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid #848d97;
    border-bottom: 2px solid #848d97;
    transform: rotate(-45deg);
    transition: transform 0.2s ease;
    margin-right: 8px;
}

.guides-tree-details[open] > .guides-tree-summary .guides-folder-toggle-icon {
    transform: rotate(45deg);
}

.guides-tree-children {
    margin-top: 8px;
    padding-left: 12px;
    border-left: 1px solid #21262d;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.guides-tree-file-item {
    width: 100%;
}

.guides-tree-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    border-radius: 6px;
    text-decoration: none;
    color: #c9d1d9;
    font-size: 14px;
    transition: all 0.15s ease;
}

.guides-tree-link:hover {
    background: #21262d;
    color: #ffffff;
    text-decoration: none;
}

.guides-tree-link.is-active {
    background: rgba(56, 139, 253, 0.15);
    color: #58a6ff;
    font-weight: 600;
    border-left: 3px solid #58a6ff;
}

.guides-active-badge {
    font-size: 11px;
    background: #238636;
    color: #ffffff;
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.guides-tree-title {
    flex: 1;
    margin-left: 6px;
}

.posts-directory-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.posts-tree-date {
    font-size: 12px;
    color: #848d97;
    margin-right: 8px;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

.guides-tree-icon {
    display: inline-block !important;
    width: 18px !important;
    height: 18px;
    margin: 0 4px !important;
}

.guides-header-intro {
    margin-bottom: 24px;
}

.guides-main-tree-wrapper {
    margin-top: 24px;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 20px;
}

.guides-tree-container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #21262d;
}

.guides-tree-container-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: #e6edf3;
    font-weight: 600;
}

.guides-tree-count {
    color: #848d97;
    font-size: 13px;
}

.guides-markdown-article {
    margin: 24px auto;
    font-size: 16px;
    line-height: 1.6;
    color: #e6edf3;
}

.guides-bottom-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: stretch;
    margin: 32px auto 24px auto;
    padding-top: 20px;
    border-top: 1px solid #21262d;
}

.guides-bottom-nav-slot {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
}

.guides-bottom-nav-slot.center {
    justify-content: center;
}

.guides-bottom-nav-slot.text-right {
    justify-content: flex-end;
}

.guides-bottom-nav-link {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    color: #c9d1d9;
    padding: 12px 16px;
    min-height: 60px;
    height: 100%;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    transition: all 0.2s ease;
    max-width: 280px;
    width: 100%;
    box-sizing: border-box;
}

.guides-bottom-nav-link.next,
.guides-bottom-nav-slot.text-right .guides-bottom-nav-link {
    align-items: flex-end;
    text-align: right;
}

.guides-bottom-nav-link:hover {
    border-color: #58a6ff;
    background: #21262d;
    color: #ffffff;
    text-decoration: none;
}

.guides-bottom-nav-link.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    border-color: #21262d;
}

.guides-bottom-direction {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #848d97;
    margin-bottom: 4px;
}

.guides-bottom-title {
    font-size: 14px;
    color: #e6edf3;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.guides-bottom-root-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    min-height: 60px;
    height: 100%;
    background: #21262d;
    border: 1px solid #30363d;
    border-radius: 6px;
    color: #c9d1d9;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.guides-bottom-root-btn:hover {
    background: #30363d;
    color: #ffffff;
    text-decoration: none;
    border-color: #8b949e;
}

.katex {
    color: #79c0ff;
}

.katex-html {
    display: none;
}

#pomodoro-bit-container {
    width: 100%;
}

.pomodoro-bit {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 16px auto;
    padding: 8px 0;
    color: #3fb950;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
}

.pomodoro-bit-cursor {
    display: inline-block;
    width: 8px;
    height: 1.1em;
    background-color: currentColor;
    vertical-align: -0.15em;
    margin-left: 4px;
    animation: terminalBlink 1s step-start infinite;
}

@keyframes terminalBlink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.random-post {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 16px auto;
    padding: 20px;
    background: #161b22;
    border: 1px solid #30363d;
    color: #e6edf3;
    text-align: center;
    border-radius: 6px;
    box-sizing: border-box;
}

.random-post-categories {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #21262d;
}

.random-post-category-link {
    display: block;
    width: 100%;
    background: #21262d;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 8px 16px;
    color: #c9d1d9;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.random-post-category-link:hover {
    background: #30363d;
    border-color: #58a6ff;
    color: #ffffff;
    text-decoration: none;
}

.random-post > img {
    width: 100%;
    max-width: 300px;
    border-radius: 6px;
    margin-bottom: 16px;
}

@media screen and (max-width: 768px) {
    header {
        margin: 0;
        padding: 8px;
    }

    main {
        padding: 12px;
    }

    main > * {
        margin: 12px auto;
        line-height: 1.5;
        max-width: 100%;
    }

    .reading-port {
        padding: 0;
        width: 100%;
        max-width: 100%;
    }

    .guides-navigation-bar {
        padding: 12px;
        margin: 8px 0 16px 0;
        border-radius: 6px;
    }

    .guides-breadcrumb-list {
        font-size: 13px;
        gap: 4px;
    }

    .guides-directory-accordion {
        padding-top: 10px;
    }

    .guides-directory-header-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .guides-directory-toggle-btn {
        width: 100%;
        justify-content: center;
        padding: 8px 14px;
        font-size: 14px;
    }

    .guides-nav-buttons {
        width: 100%;
        display: flex;
        justify-content: space-between;
        gap: 6px;
    }

    .guides-btn,
    .guides-btn-disabled {
        flex: 1;
        justify-content: center;
        padding: 8px 4px;
        font-size: 13px;
        text-align: center;
    }

    .guides-directory-panel {
        padding: 12px 8px;
        margin-top: 10px;
    }

    .guides-tree-folder {
        padding: 8px 10px;
        margin: 4px 0;
        font-size: 13px;
    }

    .guides-tree-children {
        padding-left: 8px;
    }

    .guides-tree-link {
        padding: 6px;
        font-size: 13px;
    }

    .guides-tree-title {
        font-size: 13px;
        word-break: break-word;
    }

    .guides-markdown-article {
        font-size: 15px;
        line-height: 1.5;
        margin: 16px auto;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .guides-markdown-article pre {
        padding: 12px;
        font-size: 13px;
        border-radius: 6px;
    }

    .guides-bottom-nav {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 24px auto 16px auto;
        padding-top: 16px;
    }

    .guides-bottom-nav-slot,
    .guides-bottom-nav-slot.text-right,
    .guides-bottom-nav-slot.center {
        justify-content: center !important;
        text-align: center !important;
    }

    .guides-bottom-nav-link,
    .guides-bottom-nav-link.next,
    .guides-bottom-nav-slot.text-right .guides-bottom-nav-link {
        max-width: 100%;
        text-align: center;
        align-items: center;
        padding: 12px;
        min-height: 52px;
    }

    .guides-bottom-root-btn {
        width: 100%;
        padding: 12px;
        min-height: 52px;
    }
}