/*
Theme Name: Lared
Theme URI: https://xifeng.net/wordpress-lared-theme.html
Author: 西风
Author URI: https://xifeng.net
Description: A Tailwind CSS v4.1.6 powered WordPress theme.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: pan
*/

@font-face {
    font-family: "PaperMono";
    font-weight: 400;
    font-style: normal;
    src: url("assets/fonts/PaperMono-Regular.woff2") format("woff2");
    font-display: swap;
}

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

html {
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent) #ececec;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #ececec;
}

::-webkit-scrollbar-thumb {
    border: 2px solid #ececec;
    border-radius: 0;
    background: var(--color-accent);
}

:root {
    --font-sans: "Nano Sans SC", "Nano Sans", "Noto Sans SC", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: "Geist Mono", monospace;
    --font-code: "PaperMono", "Geist Mono", "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --radius-xs: .125rem;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --color-sand-light-12: #21201c;
    --color-white: #fff;
    --border-color: #d9d9d9;
    --accent-width: 3px;

    /* 全局主题色变量 */
    --color-accent: #f53004;   /* 全站主色红 */
    --color-title:  #21201d;   /* 标题颜色   */
    --color-body:   #63635e;   /* 正文颜色   */
}

body.theme-body {
    padding-top: 64px;
    font-family: "Nano Sans SC", "Nano Sans", "Noto Sans SC", ui-sans-serif, system-ui, sans-serif;
    color: #1f1f1f;
    background: #fff;
}

code,
pre,
kbd,
samp,
pre[class*="language-"],
code[class*="language-"] {
    font-family: var(--font-code);
}

.nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav li {
    margin: 0;
    padding: 0;
}

.nav a {
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    color: #242424;
}

.nav a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--color-accent);
    opacity: 0;
    content: "";
}

.nav .current-menu-item > a::after,
.nav .current_page_item > a::after,
.nav .current-menu-ancestor > a::after,
.nav .current_page_ancestor > a::after,
.nav a.is-active::after,
.nav a.is-ancestor-active::after {
    opacity: 1;
}

.header-loading {
    visibility: hidden;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(245, 48, 4, 0.22);
    border-radius: 999px;
    opacity: 0;
    transition: opacity .18s ease, transform .18s ease;
    transform: scale(0.85);
    border-top-color: var(--color-accent);
    border-right-color: var(--color-accent);
}

.header-loading.is-active {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
    animation: pan-header-loading-spin .68s linear infinite;
}

@keyframes pan-header-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

body.theme-body :where(
    button,
    input[type="submit"],
    input[type="button"],
    input[type="reset"],
    .button,
    .wp-element-button,
    .wp-block-button__link,
    .comment-submit,
    a.site-btn,
    a[role="button"]
) {
    display: inline-block;
    border: 1px solid transparent;
    border-radius: var(--radius-xs);
    font-family: var(--font-sans);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    color: var(--color-white);
    background-color: var(--color-sand-light-12);
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / .06), 0 0 1px 0 rgb(0 0 0 / .04);
    cursor: pointer;
    padding-inline: 1rem;
    padding-block: .5rem;
    transition-property: color, background-color, border-color, box-shadow, transform;
    transition-timing-function: var(--default-transition-timing-function);
    transition-duration: .1s;
}

body.theme-body :where(
    button,
    input[type="submit"],
    input[type="button"],
    input[type="reset"],
    .button,
    .wp-element-button,
    .wp-block-button__link,
    .comment-submit,
    a.site-btn,
    a[role="button"]
):hover {
    filter: brightness(1.03);
}

body.theme-body .aplayer button,
body.theme-body #pan-aplayer .aplayer button {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: inherit !important;
    font-family: inherit !important;
    line-height: 1 !important;
}

body.theme-body .aplayer button:hover,
body.theme-body #pan-aplayer .aplayer button:hover {
    filter: none !important;
}

body.theme-body .rss-btn {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--color-accent) !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    color: var(--color-accent) !important;
    background: #fff !important;
    box-shadow: none !important;
    appearance: none !important;
    transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}

body.theme-body .rss-btn.is-copied {
    border-color: var(--color-accent) !important;
    color: #fff !important;
    background: var(--color-accent) !important;
}

body.theme-body .search-submit {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    border-left: 1px solid var(--color-accent) !important;
    border-radius: 0 !important;
    color: #fff !important;
    background-color: var(--color-accent) !important;
    box-shadow: none !important;
}

body.theme-body .search-submit i {
    font-size: 20px;
    line-height: 1;
}


.home-article {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0 30px;
}

.home-main-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
    position: relative;
    z-index: 1;
}

.home-main-sidebar {
    position: relative;
    min-height: 100%;
    border-right: 0;
    overflow: visible;
    z-index: 50;
}

.home-main-sidebar::before {
    display: none;
}

.home-main-sidebar-inner {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0 0 18px;
    overflow: visible;
}

.home-main-sidebar-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.home-main-sidebar-block-title {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 0 12px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: #fff;
}

.home-main-sidebar-block-body {
    padding: 12px;
    border: 0;
    background: transparent;
}

.home-main-sidebar-block h3 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #3a3a35;
}

.home-main-sidebar-block-title h3 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.home-main-sidebar-block-title h3 i {
    font-size: 13px;
    line-height: 1;
}

.home-main-title-note {
    margin-left: 2px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    color: #8f8f88;
}

.home-main-sidebar-block--welcome .home-main-sidebar-block-title h3 {
    color: var(--color-accent);
}

.home-main-sidebar-block p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #73736d;
}

.home-memo-strip {
    border: 0;
}

.home-memo-strip-link {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: center;
    gap: 0;
    min-height: 40px;
    padding: 0;
    text-decoration: none;
    color: #3f3f39;
    background: transparent;
}

.home-memo-strip-bird-track {
    position: relative;
    display: block;
    width: 100%;
    height: 40px;
    overflow: hidden;
}

.home-memo-strip-icon {
    position: absolute;
    top: 50%;
    left: 8px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    font-size: 14px;
    color: var(--color-accent);
    background: transparent;
    transform: translateY(-50%) scaleX(1);
    animation: home-memo-bird-fly 5.2s linear infinite;
}

.home-memo-strip-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    height: 40px;
    padding: 0 18px;
}

.home-memo-strip-content {
    display: block;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1.4;
}

.home-memo-strip-time {
    font-size: 12px;
    line-height: 1.2;
    color: #8b8b85;
}

.home-memo-strip-link:hover .home-memo-strip-content {
    color: var(--color-accent);
}

@keyframes home-memo-bird-fly {
    0% {
        left: 8px;
        transform: translateY(-50%) scaleX(1);
    }
    49% {
        left: calc(100% - 32px);
        transform: translateY(-50%) scaleX(1);
    }
    50% {
        left: calc(100% - 32px);
        transform: translateY(-50%) scaleX(-1);
    }
    100% {
        left: 8px;
        transform: translateY(-50%) scaleX(-1);
    }
}

@media (max-width: 900px) {
    .home-memo-strip-link {
        grid-template-columns: 1fr;
    }

    .home-memo-strip-main {
        padding: 0 24px;
    }
}

.home-main-sidebar-block--heatmap .home-main-sidebar-block-body {
    padding: 8px 0 0;
}

.home-main-sidebar-block--no-title {
    gap: 0;
}

.home-mini-heatmap {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 4px;
}

.home-mini-heatmap-cell {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.home-mini-heatmap-cell.tone-green.level-0 { background: #ecf6f0; }
.home-mini-heatmap-cell.tone-green.level-1 { background: #cde8d8; }
.home-mini-heatmap-cell.tone-green.level-2 { background: #9fd2b3; }
.home-mini-heatmap-cell.tone-green.level-3 { background: #66b68a; }
.home-mini-heatmap-cell.tone-green.level-4 { background: #2d935f; }

.home-main-sidebar-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-main-sidebar-list li + li {
    margin-top: 8px;
}

.home-main-sidebar-list a {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    text-decoration: none;
    color: #3f3f39;
}

.home-main-sidebar-list a:hover {
    color: var(--color-accent);
}

.home-main-sidebar-list a span {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 13px;
    line-height: 1.45;
}

.home-main-sidebar-list a em {
    flex: 0 0 auto;
    font-style: normal;
    font-size: 12px;
    line-height: 1.2;
    color: #a0a09a;
}

.home-main-sidebar-list-popular a {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    min-height: 34px;
    padding: 0 10px;
}

.home-main-popular-title {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-main-popular-item {
    padding: 0;
    margin-top: 0;
    transition: background-color .16s ease;
}

.home-main-popular-item + .home-main-popular-item {
    margin-top: 0;
    border-top: 1px dashed var(--border-color);
}

.home-main-popular-item:hover {
    background: var(--color-accent);
}

.home-main-popular-item:hover a,
.home-main-popular-item:hover .home-main-popular-title {
    color: #fff;
}

.home-main-sidebar-block--popular .home-main-sidebar-block-body {
    padding: 0;
}

.home-main-sidebar-block--popular .home-main-sidebar-list {
    margin: 0;
    padding: 0;
}

.home-main-sidebar-list-comments a {
    gap: 0;
}

.home-main-comment-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    z-index: 1;
    isolation: isolate;
}

.home-main-comment-link::before {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(1.1px) saturate(0.95);
    content: "";
    pointer-events: none;
    transition: opacity .18s ease;
}

.home-main-comment-avatar {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f2f2f2;
    filter: saturate(0.72) brightness(0.94);
    transition: filter .18s ease;
}

.home-main-comment-avatar-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-main-comment-content {
    display: none;
}

.home-main-sidebar-list-comments {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
}

.home-main-sidebar-list-comments li,
.home-main-sidebar-list-comments li + li {
    margin-top: 0;
    aspect-ratio: 1 / 1;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: visible;
}

.home-main-sidebar-block--comments {
    gap: 0;
}

.home-main-sidebar-block--comments .home-main-sidebar-block-body {
    padding: 0;
    overflow: visible;
}

.home-main-sidebar-block--comments .home-main-sidebar-list {
    margin: 0;
    padding: 0;
    overflow: visible;
}

.home-main-comment-tooltip {
    position: absolute;
    left: 0;
    bottom: calc(100% + 6px);
    z-index: 2147483647;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    gap: 5px;
    width: 220px;
    padding: 8px 10px;
    border: 1px solid #dadada;
    font-size: 12px;
    line-height: 1.35;
    white-space: normal;
    color: #3a3a35;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity .14s ease, visibility .14s ease, transform .14s ease;
    transform: translateY(4px);
}

.home-main-comment-tooltip-author {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: #595953;
}

.home-main-comment-tooltip-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.home-main-comment-tooltip-content {
    font-size: 12px;
    line-height: 1.45;
    color: #3a3a35;
}

.home-main-comment-tooltip-post {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    font-size: 12px;
    line-height: 1.3;
    color: var(--color-accent);
}

.home-main-comment-tooltip-time {
    font-size: 11px;
    line-height: 1.2;
    color: #8c8c86;
}

.home-main-comment-link:hover .home-main-comment-tooltip,
.home-main-comment-link:focus-visible .home-main-comment-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.home-main-comment-link:hover,
.home-main-comment-link:focus-visible {
    z-index: 2147483000;
}

.home-main-comment-link:hover .home-main-comment-avatar,
.home-main-comment-link:focus-visible .home-main-comment-avatar {
    filter: none;
}

.home-main-comment-link:hover::before,
.home-main-comment-link:focus-visible::before {
    opacity: 0;
}

.home-main-sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
}

.home-main-sidebar-tags a {
    display: inline;
    padding: 0;
    border: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    text-decoration: none;
    color: #5f5f59;
}

.home-main-sidebar-tags a:hover {
    color: var(--color-accent);
}

.home-main-sidebar-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0;
}

.home-main-sidebar-stats div {
    padding: 8px 9px;
    border: 1px solid #ededed;
    background: #fafafa;
}

.home-main-sidebar-stats dt {
    margin: 0;
    font-size: 12px;
    line-height: 1.2;
    color: #979791;
}

.home-main-sidebar-stats dd {
    margin: 6px 0 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.1;
    color: #3a3a35;
}

.home-main-feed {
    position: relative;
    z-index: 1;
    min-width: 0;
    --headline-align-top: 0px;
    --home-article-head-height: 50px;
}

.home-main-feed .home-article::after {
    display: none;
}

.home-article {
    border-bottom: 1px solid var(--border-color);
}

.home-article.is-first {
    border-top: 1px solid var(--border-color);
}

.home-article.is-first {
    padding-top: 0;
}

.home-article-grid {
    position: relative;
    display: grid;
    align-items: start;
    gap: 0;
    grid-template-columns: var(--toc-sidebar-width) minmax(0, 1fr);
    box-sizing: border-box;
    padding-right: 0;
    padding-left: 0;
    --headline-align-top: 0px;
    --toc-sidebar-width: 260px;
    --home-article-head-height: 50px;
}

.home-article-grid::before {
    position: absolute;
    top: calc(var(--headline-align-top) + var(--home-article-head-height));
    right: 0;
    left: 0;
    height: 1px;
    background: var(--border-color);
    pointer-events: none;
    content: "";
}

.home-article-sidebar {
    position: relative;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    box-sizing: border-box;
    width: 260px;
    max-width: 260px;
    height: 100%;
    min-height: 100%;
    margin-right: 0;
    margin-left: 0;
    padding-top: var(--headline-align-top);
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
}

.home-article-sidebar-card {
    position: sticky;
    top: calc(var(--headline-align-top) + 12px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 12px 20px 0 14px;
    padding: 16px 14px;
    border: 1px solid var(--border-color);
    background: #fff;
}

.home-article-sidebar-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 52px;
    height: 52px;
    color: var(--color-accent);
    background: #f7f7f7;
}

.home-article-sidebar-icon .category-icon {
    font-size: 22px;
}

.home-article-sidebar-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    min-width: 0;
    color: #6b6b67;
}

.home-article-sidebar-meta-label {
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: .04em;
    color: #999;
}

.home-article-sidebar-meta time {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    color: #3a3a35;
}

.home-article-sidebar-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 36px;
    border: 1px solid var(--color-accent);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    color: var(--color-accent);
    transition: color .16s ease, background-color .16s ease;
}

.home-article-sidebar-link:hover {
    color: #fff;
    background: var(--color-accent);
}

.home-article-sidebar::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: calc(var(--headline-align-top) + var(--home-article-head-height) + 1px);
    background: var(--color-accent);
    content: "";
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    border: 0;
    border-radius: 0;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    color: var(--color-accent);
    background: transparent;
}

.category-icon {
    font-size: 18px;
    line-height: 1;
}

.article-toc {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 52px;
    margin-right: 0;
    margin-left: 0;
    padding-right: 10px;
    padding-left: 10px;
}

.article-toc-item {
    width: 100%;
    padding: 2px 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
    text-decoration: none;
    color: #a5a5a5;
    transition: color .18s ease;
}

.article-toc-item.level-3 {
    display: none;
    padding-left: 10px;
    font-size: 12px;
    font-weight: 400;
}

.article-toc-item.level-3.is-visible {
    display: block;
}

.article-toc-item.is-active {
    color: var(--color-accent);
}

.article-toc-item:hover {
    color: #333333;
}

.single-top-banner {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
    border-top: 1px solid #d9d9d9;
    border-right: 0;
    border-bottom: 1px solid #d9d9d9;
    border-left: 0;
    border-radius: 0;
    background: transparent;
}

.single-top-banner__image {
    display: block;
    width: 100%;
    aspect-ratio: 1280 / 360;
    object-fit: cover;
    object-position: center;
}

.single-top-banner__meta {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    border-top: 0;
    background: rgba(12, 14, 18, 0.62);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.single-top-banner__meta-inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1280px;
    min-height: 72px;
    margin: 0 auto;
    padding-right: 36px;
    font-size: 14px;
    color: #e7e7e7;
}

.single-top-banner__meta-main {
    display: flex;
    overflow: visible;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.single-top-banner__meta-main .home-article-time {
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    margin-left: 0;
}

.single-content-wrap {
    position: relative;
    --single-meta-row-height: 50px;
    padding-right: 36px;
    padding-left: 36px;
}

.single-side-toc {
    position: fixed;
    top: 90px;
    left: calc(50% + 658px);
    z-index: 20;
    width: 220px;
}

.single-side-toc__nav {
    position: static;
    padding: 10px 12px;
    border: 1px solid #d9d9d9;
    background: #fff;
}

.single-side-toc__item {
    display: block;
    padding: 4px 0;
    font-size: 13px;
    line-height: 1.45;
    text-decoration: none;
    color: #9a9a9a;
    transition: color .18s ease, transform .18s ease;
    transform-origin: left center;
}

.single-side-toc__item.level-3 {
    padding-left: 10px;
    font-size: 12px;
}

.single-side-toc__item:hover {
    color: #333333;
}

.single-side-toc__item.is-active {
    color: var(--color-accent);
    transform: scale(1.05);
}

.single-footer-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px 18px;
    margin-top: 24px;
    margin-right: -36px;
    margin-left: -36px;
    padding-top: 10px;
    padding-right: 36px;
    padding-bottom: 10px;
    padding-left: 36px;
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    min-height: var(--single-meta-row-height);
    font-size: 14px;
    color: #585858;
}

.single-footer-meta__left {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
}

.single-footer-meta__item {
    line-height: 1.45;
    color: #585858;
}

.single-footer-meta__item a {
    text-decoration: none;
}

.single-footer-meta__item strong {
    font-weight: 400;
    color: #585858;
}

.single-footer-meta__author-link {
    margin-right: 4px;
    margin-left: 4px;
    font-weight: 700;
    color: var(--color-accent);
}

.single-footer-meta__author-link:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.single-footer-meta__license-link {
    margin-right: 4px;
    margin-left: 4px;
    font-weight: 700;
    color: var(--color-accent);
}

.single-footer-meta__license-link:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.single-footer-meta__right {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.single-footer-meta__label {
    font-size: 14px;
    line-height: 1.4;
    color: #666666;
}

.single-footer-meta__keywords {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
}

.single-footer-meta__tag {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: auto;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    color: #585858;
    background: transparent;
}

.single-footer-meta__tag:hover {
    text-decoration: none;
    color: #202020;
}

.single-footer-meta__tag:hover .single-footer-meta__tag-text {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.single-footer-meta__tag::before {
    margin-right: 2px;
    font-size: 1em;
    font-weight: 700;
    line-height: 1;
    color: var(--color-accent);
    content: "#";
}

.single-footer-meta__tag.is-empty {
    color: #9a9a9a;
}

.single-footer-meta__tag.is-empty::before {
    content: none;
}

.single-post-nav {
    display: grid;
    gap: 8px 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 8px;
    padding: 0;
    border: 0;
}

.single-post-nav__item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: var(--single-meta-row-height);
}

.single-post-nav__item--next {
    justify-content: flex-end;
}

.single-post-nav__label {
    flex: 0 0 auto;
    font-size: 14px;
    line-height: 1.3;
    color: #5f5f5f;
}

.single-post-nav__link,
.single-post-nav__empty {
    overflow: hidden;
    min-width: 0;
    font-size: 14px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #2f2f2f;
}

.single-post-nav__link {
    text-decoration: none;
}

.single-post-nav__link:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
    color: var(--color-accent);
}

.single-post-nav__empty {
    color: #9b9b9b;
}

.single-top-banner__cat-group {
    display: inline-flex;
    flex: 0 0 58px;
    justify-content: center;
    align-items: center;
}

.single-top-banner__cat-box {
    position: relative;
    display: inline-grid;
    flex: 0 0 auto;
    justify-content: center;
    justify-items: center;
    align-items: center;
    grid-template-rows: 2fr 1fr;
    width: 58px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    aspect-ratio: 1 / 1;
}

.single-top-banner__cat-box-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 18px;
    line-height: 1;
    color: #fff;
}

.single-top-banner__cat-box-name {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 11px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.9);
}

.single-top-banner__title-box {
    display: inline-flex;
    overflow: hidden;
    flex: 1 1 auto;
    align-items: center;
    min-width: 0;
    height: 58px;
    padding: 0 12px;
    border: 0;
    font-size: 17px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    background: transparent;
}

.single-top-banner__meta-side {
    display: flex;
    flex-shrink: 0;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
}

.single-top-banner__meta-side > * {
    flex: 0 0 58px;
    width: 58px;
}

.single-top-banner__stat-box {
    position: relative;
    display: grid;
    justify-items: center;
    align-items: center;
    grid-template-rows: 2fr 1fr;
    width: 58px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    aspect-ratio: 1 / 1;
}

.single-top-banner__stat-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
}

.single-top-banner__stat-label {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 11px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.78);
}

.single-top-banner__tooltip {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    z-index: 3;
    display: inline-flex;
    visibility: hidden;
    justify-content: center;
    align-items: center;
    min-width: 72px;
    height: 28px;
    padding: 0 10px;
    border: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    color: #fff;
    background: var(--color-accent);
    opacity: 0;
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
    transform: translateX(-50%);
    transform: translateX(-50%) translateY(-4px);
}

.single-top-banner__tooltip::after {
    content: none;
}

.single-top-banner__cat-box:hover .single-top-banner__tooltip,
.single-top-banner__cat-box:focus-visible .single-top-banner__tooltip,
.single-top-banner__stat-box:hover .single-top-banner__tooltip,
.single-top-banner__stat-box:focus-visible .single-top-banner__tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.single-page-square {
    width: 1282px !important;
    max-width: 100% !important;
}

.single-page-square,
.single-page-square * {
    border-radius: 0 !important;
}

@media (max-width: 900px) {
    .single-top-banner__image {
        aspect-ratio: 16 / 7;
    }

    .single-top-banner__meta {
        position: static;
    }

    .single-top-banner__meta-inner {
        min-height: 60px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 6px;
        padding-top: 8px;
        padding-right: 30px;
        padding-bottom: 8px;
        margin-left: 24px;
        margin-right: 24px;
        width: auto;
    }

    .single-top-banner__meta-side {
        width: auto;
        align-self: flex-end;
    }

    .single-top-banner__meta-side > * {
        width: 52px;
        flex: 0 0 52px;
    }

    .single-top-banner__cat-box {
        width: 52px;
    }

    .single-top-banner__meta-main .home-article-time {
        width: 52px;
        height: 52px;
        margin-left: 0;
    }

    .single-content-wrap {
        --single-meta-row-height: 46px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .single-side-toc {
        display: none;
    }

    .single-footer-meta {
        margin-top: 20px;
        margin-left: -30px;
        margin-right: -30px;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 30px;
        padding-right: 30px;
        gap: 6px 14px;
        font-size: 13px;
    }

    .single-footer-meta__left,
    .single-footer-meta__right {
        gap: 6px 12px;
    }

    .single-footer-meta__label {
        font-size: 13px;
    }

    .single-footer-meta__tag {
        height: 22px;
        font-size: 11px;
    }

    .single-post-nav {
        margin-top: 6px;
        padding: 0;
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .single-post-nav__item,
    .single-post-nav__item--next {
        justify-content: flex-start;
    }

    .single-post-nav__label,
    .single-post-nav__link,
    .single-post-nav__empty {
        font-size: 13px;
    }

    .single-top-banner__cat-box-icon {
        font-size: 16px;
    }

    .single-top-banner__cat-box-name {
        font-size: 10px;
    }

    .single-top-banner__title-box {
        height: 52px;
        padding: 0 10px;
        max-width: calc(100vw - 140px);
        font-size: 15px;
    }

    .single-top-banner__stat-box {
        width: 52px;
    }

    .single-top-banner__stat-number {
        font-size: 16px;
    }

    .single-top-banner__stat-label {
        font-size: 10px;
    }
}

/* =========================
   Comments - Layout
   ========================= */
.comments-shell {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto 80px;
}

.comments-inner {
    padding: 28px 36px 34px;
    border: 0;
    background: #fff;
}

/* =========================
   Comments - Header
   ========================= */
.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    margin-right: -36px;
    margin-left: -36px;
    padding: 14px 0;
    padding-right: 36px;
    padding-left: 36px;
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
}

.comments-header__left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.comments-header__title {
    overflow: hidden;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #1f1f1f;
}

.comments-header__stats {
    display: inline-flex;
    flex-shrink: 0;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    white-space: nowrap;
    color: #5b5b5b;
}

.comments-header__num {
    font-weight: 700;
    color: var(--color-accent);
}

.comments-header__sep {
    margin: 0 2px;
    color: #8c8c8c;
}

.comments-title,
.comment-reply-title {
    margin: 0 0 18px;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.18;
    color: #1f1f1f;
}

.comments-title {
    margin-bottom: 0;
}

.comments-title-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    line-height: 1;
    color: var(--color-accent);
}

/* =========================
   Comments - List Structure
   ========================= */
.comment-list,
.comment-list .children {
    margin: 0;
    padding: 0;
    list-style: none;
}

.comment-list > .comment {
    margin: 0 0 16px;
    padding: 14px;
    border: 1px solid #d9d9d9;
    background: #fff;
}

.comment-list > .comment:last-child {
    margin-bottom: 0;
}

.comment-list .children {
    margin-top: 12px;
}

.comment-list > .comment > .children {
    margin-top: 12px;
    padding: 12px 0 0 14px;
    border-top: 1px solid #d9d9d9;
}

.comment-list .children .comment {
    margin: 0 0 10px;
}

.comment-list .children .comment:last-child {
    margin-bottom: 0;
}

/* =========================
   Comments - Body
   ========================= */
.comment-list .comment-body {
    position: relative;
    box-sizing: border-box;
    padding: 14px;
    padding-left: 70px;
}

.comment-list > .comment > .children .comment-body {
    border: 1px solid #d9d9d9;
    border-left: 3px solid #f53003;
    background: #fdfdfd;
}

.comment-list .avatar {
    position: absolute;
    top: 14px;
    left: 14px;
    display: block;
    width: 44px;
    height: 44px;
    border: 1px solid #d9d9d9;
    border-radius: 0;
    object-fit: cover;
}

.comment-list .comment-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
}

.comment-list .comment-author {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    color: #202020;
}

.comment-list .fn {
    font-weight: 600;
    font-style: normal;
    color: #202020;
}

.comment-list .says {
    font-style: normal;
    color: #666666;
}

.comment-list .comment-metadata {
    font-size: 13px;
    color: #767676;
}

.comment-list .comment-metadata a,
.comment-list .reply a {
    text-decoration: underline;
    text-decoration-color: #f53003;
    text-underline-offset: 2px;
    color: #f53003;
}

.comment-list .comment-content {
    min-width: 0;
}

.comment-list p {
    margin: 0 0 10px;
    line-height: 1.65;
    color: #4e4e4e;
}

.comment-list .reply {
    margin-top: 2px;
    font-size: 14px;
}

.comment-list .comment-awaiting-moderation {
    font-size: 14px;
    color: #c42602;
}

/* =========================
   Comments - Navigation & Form
   ========================= */
.comment-navigation {
    margin-top: 12px;
    font-size: 14px;
}

.comment-navigation .nav-links {
    display: flex;
    gap: 16px;
}

.comment-form {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
    padding-top: 26px;
    border-top: 1px solid #d9d9d9;
}

.comment-form p {
    margin: 0;
}

.comment-form .logged-in-as,
.comment-form .comment-notes,
.comment-form .comment-form-comment,
.comment-form .comment-form-cookies-consent,
.comment-form .form-submit {
    grid-column: 1 / -1;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    font: inherit;
    color: #5f5f5f;
    background: #f3f3f3;
}

.pan-comment-field {
    position: relative;
}

.pan-comment-field__icon {
    position: absolute;
    top: 50%;
    left: 18px;
    z-index: 1;
    color: #9d9d9d;
    font-size: 16px;
    line-height: 1;
    transform: translateY(-50%);
    pointer-events: none;
}

.pan-comment-field input[type="text"],
.pan-comment-field input[type="email"],
.pan-comment-field input[type="url"] {
    height: 84px;
    padding: 18px 18px 18px 84px;
    font-size: 34px;
    line-height: 1.1;
}

.pan-comment-field--comment .pan-comment-field__icon {
    top: 40px;
    transform: none;
}

.comment-form textarea {
    min-height: 280px;
    padding: 24px 20px 24px 84px;
    font-size: 34px;
    line-height: 1.25;
    resize: vertical;
}

.pan-comment-field input::placeholder,
.comment-form textarea::placeholder {
    color: #7a7a7a;
}

.comment-form .form-submit {
    display: flex;
    justify-content: flex-end;
}

.comment-form .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 13px;
}

.comment-form .comment-form-cookies-consent input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin: 0;
}

.comment-form .comment-form-cookies-consent label {
    margin: 0;
    color: #666;
    font-size: 13px;
}

.comment-form .comment-submit {
    height: 42px;
    padding: 0 20px;
    border: 1px solid var(--color-accent);
    border-radius: 0;
    color: #fff;
    background: var(--color-accent);
}

/* =========================
   Prism - Base Typography
   ========================= */
pre[class*="language-"],
code[class*="language-"] {
    font-family: var(--font-code) !important;
    font-size: 13px;
    line-height: 1.65;
}

/* =========================
   Prism - Container
   ========================= */
.pan-prism-pre {
    position: relative;
    overflow: hidden;
    margin: 1.1rem 0;
    border: 1px solid #d9d9d9;
    border-radius: 0;
}

.pan-prism-pre > code {
    border-radius: 0;
}

.pan-prism-pre:not(.pan-prism-pre--single-line)::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #1f222a;
    content: "";
}

.pan-prism-pre:not(.pan-prism-pre--single-line)::after {
    position: absolute;
    top: 12px;
    left: 10px;
    z-index: 2;
    width: 8px;
    height: 8px;
    border-radius: 0;
    background: #ff5f56;
    box-shadow: 14px 0 0 #ffbd2e, 28px 0 0 #27c93f;
    content: "";
}

.pan-prism-pre:not(.pan-prism-pre--single-line) > code[class*="language-"] {
    display: block;
    padding-top: 40px !important;
}

.pan-prism-pre.line-numbers .line-numbers-rows {
    top: 40px !important;
}

/* =========================
   Prism - States
   ========================= */
.pan-prism-pre--collapsed {
    overflow: hidden !important;
    max-height: calc(40px + (1.65em * 20) + 1.25em);
}

.pan-prism-pre--expanded {
    overflow: hidden !important;
    max-height: none;
}

.pan-prism-pre.pan-prism-pre--single-line {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 44px 0 0;
}

.pan-prism-pre.pan-prism-pre--single-line > code {
    display: block;
    width: 100%;
    margin: 0;
    padding: 10px 12px !important;
    text-align: left;
}

/* =========================
   Prism - Actions
   ========================= */
.pan-code-copy-btn,
.pan-code-fold-btn {
    z-index: 2;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border: 0;
    line-height: 1;
    color: #fff;
    background: transparent;
    cursor: pointer;
}

.pan-code-copy-btn {
    border-radius: 0;
    font-size: 15px;
}

.pan-code-fold-btn {
    position: absolute;
    top: auto;
    right: 8px;
    bottom: 8px;
    font-size: 12px;
}

.pan-prism-pre:not(.pan-prism-pre--single-line) .pan-code-copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
}

.pan-prism-pre.pan-prism-pre--single-line .pan-code-copy-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

body.theme-body .pan-code-copy-btn {
    padding: 0 !important;
    border: 0 !important;
    color: #fff !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.pan-code-copy-btn:hover,
.pan-code-fold-btn:hover {
    color: #f2f2f2;
}

.pan-code-copy-btn.is-copied {
    color: #4ab866 !important;
}

/* =========================
   Prism - Square Mode
   ========================= */
.single-page-square .pan-prism-pre,
.single-page-square .pan-code-copy-btn,
.single-page-square pre[class*="language-"],
.single-page-square code[class*="language-"] {
    border-radius: 0 !important;
}

/* =========================
   Comments & Prism - Responsive
   ========================= */
@media (max-width: 900px) {
    .comments-shell {
        width: auto;
        max-width: none;
        margin: 0 24px 56px;
    }

    .comments-inner {
        padding: 20px 30px 24px;
    }

    .comments-header {
        display: flex;
        align-items: center;
        flex-direction: row;
        gap: 10px;
        margin-bottom: 14px;
        margin-left: -30px;
        margin-right: -30px;
        padding: 12px 0;
        padding-left: 30px;
        padding-right: 30px;
    }

    .comments-header__title,
    .comments-header__stats {
        font-size: 13px;
        line-height: 1.45;
    }

    .comments-header__stats {
        justify-content: flex-end;
    }

    .comments-title,
    .comment-reply-title {
        font-size: 24px;
    }

    .comments-title-icon {
        font-size: 11px;
    }

    .comment-list > .comment {
        padding: 12px;
        margin-bottom: 14px;
    }

    .comment-list > .comment > .children {
        margin-top: 10px;
        padding-top: 10px;
        padding-left: 10px;
    }

    .comment-list .comment-body {
        padding: 12px 12px 12px 56px;
    }

    .comment-list .avatar {
        left: 12px;
        top: 12px;
        width: 36px;
        height: 36px;
    }

    .comment-form {
        gap: 14px;
        grid-template-columns: 1fr;
    }

    .pan-comment-field input[type="text"],
    .pan-comment-field input[type="email"],
    .pan-comment-field input[type="url"] {
        height: 60px;
        padding: 14px 14px 14px 46px;
        font-size: 16px;
    }

    .pan-comment-field--comment .pan-comment-field__icon {
        top: 18px;
    }

    .comment-form textarea {
        min-height: 170px;
        padding: 14px 14px 14px 46px;
        font-size: 16px;
    }
}

@media (max-width: 1500px) {
    .single-side-toc {
        display: none;
    }
}

.home-article-content h2 {
    display: flex;
    overflow: hidden;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    margin: 0;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.22;
    letter-spacing: -0.01em;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #3a3a35;
}

.home-article-content h2 a {
    display: block;
    overflow: hidden;
    min-width: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
    color: inherit;
}

.home-article-content h2 a:hover {
    color: var(--color-accent);
}

.home-article-head {
    position: relative;
    display: grid;
    overflow: visible;
    isolation: isolate;
    align-items: stretch;
    column-gap: 14px;
    grid-template-columns: var(--home-article-head-height) minmax(0, 1fr) auto;
    height: var(--home-article-head-height);
    min-height: var(--home-article-head-height);
    padding-top: 0;
    padding-bottom: 0;
}

.home-article-head::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: var(--color-accent);
    content: "";
}

.home-article-time {
    position: relative;
    z-index: 2147483000;
    display: flex;
    overflow: visible;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: center;
    justify-self: start;
    align-items: center;
    align-self: stretch;
    width: var(--home-article-head-height);
    height: 100%;
    line-height: 1.05;
    text-decoration: none;
    color: #fff;
    background: var(--color-accent);
    cursor: default;
}

.home-article-time-month {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: none;
}

.home-article-time-day {
    margin-top: 2px;
    font-size: 18px;
    font-weight: 800;
}

.home-article-head h2 {
    display: flex;
    align-items: center;
    height: 100%;
    grid-column: 2;
    min-width: 0;
    margin: 0;
    text-align: left;
    color: #3a3a35;
}

.home-article-head-label {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    justify-self: end;
    min-height: 100%;
    padding: 0 14px 0 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    color: var(--color-accent);
    background: transparent;
}

.home-article-head-label .category-icon {
    font-size: 14px;
}

.home-article-time-tooltip {
    position: absolute;
    top: auto;
    bottom: 100%;
    left: 0;
    right: auto;
    z-index: 2147483647;
    display: inline-flex;
    visibility: hidden;
    align-items: center;
    width: max-content;
    min-width: max-content;
    height: 28px;
    padding: 0 10px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    color: #fff;
    background: var(--color-accent);
    opacity: 0;
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
    transform: translateY(4px);
}

.home-article-time:hover .home-article-time-tooltip,
.home-article-time:focus-visible .home-article-time-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.home-article-content {
    display: flex;
    overflow-x: visible;
    overflow-y: visible;
    flex-direction: column;
    width: 100%;
    max-width: none;
    min-height: 0;
    max-height: none;
    margin: 0 auto;
    padding-top: var(--headline-align-top);
    padding-right: 0;
    scroll-behavior: smooth;
}

.home-article-head,
.home-article-meta,
.home-article-body-wrap {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    padding-right: 35px;
    padding-left: 35px;
}

.home-article-head {
    padding-left: 0;
}

.home-article-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px 16px;
    margin-top: 16px;
    font-size: 14px;
    color: #666666;
}

.home-article-meta-left {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
}

.home-article-meta-item {
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
    color: #666666;
}

.home-article-meta-right {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.home-article-meta-label {
    font-size: 14px;
    line-height: 1.4;
    color: #666666;
}

.home-article-keywords {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
}

.home-article-keyword {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 24px;
    padding: 0 8px;
    border-radius: 0;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    color: #fff;
    background: var(--color-accent);
}

.home-article-keyword::before {
    margin-right: 2px;
    font-size: 12px;
    line-height: 1;
    content: "#";
}

.home-article-keyword.is-empty {
    background: #efb2a2;
}

.home-article-featured {
    overflow: hidden;
    margin-top: 0;
    width: 100%;
    border: 0;
    background: #f3f3f3;
}

.home-article-featured-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: cover;
}

.home-article-featured-placeholder {
    width: 100%;
    background: var(--color-accent);
    aspect-ratio: 16 / 6;
}

.home-article-body {
    overflow: visible;
    flex: initial;
    min-height: auto;
    margin-top: 0;
    color: var(--color-body);
    --tw-prose-body: var(--color-body);
    --tw-prose-headings: var(--color-title);
    --tw-prose-bold: var(--color-title);
}

.home-article-body p {
    margin: 0;
}

.home-article-body-wrap {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    min-height: 0;
    margin-top: 0;
    padding-top: 26px;
    border-left: 1px solid var(--border-color);
}

.home-article-body.page-content.prose > *:first-child {
    margin-top: 0 !important;
}

.home-article-scrollbar {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: var(--accent-width);
    pointer-events: none;
}

.home-article-scrollbar-thumb {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    width: var(--accent-width);
    height: 48px;
    background: var(--color-accent);
    transform: translateY(0);
}

.home-article-body h2,
.home-article-body h3 {
    scroll-margin-top: 94px;
}

.page-content {
    min-width: 0;
    color: var(--color-body);
}

.page-content.prose :where(h2) {
    position: relative;
    margin-top: 2.1em;
    margin-bottom: 1em;
    padding-bottom: 12px;
    padding-left: 0;
    border-bottom: 1px solid #d9d9d9;
    font-weight: 500;
}

.page-content.prose :where(h2)::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: var(--color-accent);
    content: "";
}

.single-page-square .single-content-wrap .page-content.prose :where(h2)::after {
    left: -36px;
}

.home-article-body.page-content.prose :where(h2)::after {
    content: none;
}

.page-content.prose :where(h3) {
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    padding-left: 10px;
    border-left: 3px solid var(--color-accent);
}

.page-content a {
    text-decoration-color: var(--color-accent);
    color: var(--color-accent);
}

.page-content.prose :where(:not(pre) > code) {
    display: inline;
    padding: 2px 6px;
    border: 1px solid #e7e7e7;
    border-radius: 0;
    font-size: .92em;
    color: #2a2a2a;
    background: #f7f7f7;
}

.page-content.prose :where(pre):not(.pan-prism-pre) {
    overflow-x: auto;
    margin: 1.15rem 0;
    padding: 14px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 0;
    color: #f2f2f2;
    background: #1f222a;
}

.page-content.prose :where(pre):not(.pan-prism-pre) code {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 13px;
    line-height: 1.65;
    color: inherit;
    background: transparent;
}

.page-content.prose :where(figure.wp-block-table) {
    overflow-x: auto;
    margin: 1.15rem 0;
}

.page-content.prose :where(table) {
    width: 100%;
    margin: 1.15rem 0;
    border: 1px solid #e4c6c6;
    color: #2a2a2a;
    background: #fff7f7;
    border-collapse: separate;
    border-spacing: 0;
}

.page-content.prose :where(table) :where(thead th) {
    padding: 14px 16px;
    border-right: 1px solid #e4c6c6;
    border-bottom: 1px solid #e4c6c6;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    color: #1f1f1f;
    background: #f6e3e3;
}

.page-content.prose :where(table) :where(thead th:last-child) {
    border-right: 0;
}

.page-content.prose :where(table) :where(tbody td) {
    padding: 14px 16px;
    border-right: 1px solid #e8d3d3;
    border-bottom: 1px solid #e8d3d3;
    font-size: 15px;
    line-height: 1.55;
    color: #2d2b2b;
    background: #fffafa;
    vertical-align: top;
}

.page-content.prose :where(table) :where(tbody tr:nth-child(even) td) {
    background: #fff4f4;
}

.page-content.prose :where(table) :where(tbody td:last-child) {
    border-right: 0;
}

.page-content.prose :where(table) :where(tbody tr:last-child td) {
    border-bottom: 0;
}

.page-content.prose :where(blockquote) {
    position: relative;
    margin: 5px 0 15px;
    padding: 8px 48px 8px 12px;
    border: none;
    border-left: 4px solid #4ab866;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 13px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.4em;
    color: #3c434a;
    background: #eff9f1;
    box-shadow: none;
    quotes: none;
}

.page-content.prose :where(blockquote p) {
    margin: 0;
}

.page-content.prose :where(blockquote p:first-of-type)::before,
.page-content.prose :where(blockquote p:last-of-type)::after {
    content: none !important;
}

.page-content a .pan-inline-link-icon {
    margin-left: 4px;
    font-size: .9em;
    line-height: 1;
    vertical-align: baseline;
}

.listing-head-inner {
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 1150px;
    min-height: 108px;
    margin: 0 auto;
    padding: 18px 0 18px 0;
}

.listing-head-accent {
    position: absolute;
    top: 50%;
    left: -66px;
    width: 3px;
    height: 40px;
    background: var(--color-accent);
    transform: translateY(-50%);
}

.listing-head-main {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
}

.listing-head-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 13px;
    color: #777777;
}

.listing-head-breadcrumb a {
    text-decoration: none;
    color: #333333;
}

.listing-head-breadcrumb a:hover {
    color: var(--color-accent);
}

.listing-head-title {
    margin: 8px 0 0;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-title);
}

.listing-head-desc,
.listing-head-result-count {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: #777777;
}

.listing-head-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    width: 100%;
}

.listing-head-title-row .listing-head-title {
    margin: 8px 0 0;
}

.listing-head-side-stat {
    flex-shrink: 0;
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.6;
    text-align: right;
    color: #777777;
}

.listing-head-desc > *:first-child {
    margin-top: 0;
}

.listing-head-desc > *:last-child {
    margin-bottom: 0;
}

.listing-content {
    box-sizing: border-box;
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 28px 0 0;
}

.about-main {
    padding-top: 0;
}

.about-hero {
    width: 100%;
    border-bottom: 1px solid #d9d9d9;
}

.about-hero-image {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center;
}

.about-hero-fallback {
    width: 100%;
    height: 360px;
    background: linear-gradient(135deg, #1f2433, #0c0f17);
}

.about-content {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 20px 0 0;
}

.about-content-inner {
    display: grid;
    gap: 18px;
}

.about-decade-card {
    display: grid;
    gap: 14px;
    padding: 18px 18px 14px;
    border: 1px solid #d9d9d9;
    background: #fff;
}

.about-decade-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.about-decade-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2d3a;
}

.about-decade-title i {
    color: #2ca772;
}

.about-decade-remaining {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #2ca772;
    background: #edf8f2;
}

.about-decade-progress-wrap {
    position: relative;
}

.about-decade-progress-track {
    position: relative;
    overflow: hidden;
    height: 22px;
    border-radius: 0;
    background: #e7eaee;
}

.about-decade-progress-fill {
    display: block;
    height: 100%;
    background: #2ca772;
}

.about-decade-progress-label {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    transform: translate(-50%, -50%);
    text-shadow: 0 1px 2px rgb(0 0 0 / .22);
    pointer-events: none;
}

.about-decade-dates {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #8a8a8a;
}

.about-article {
    padding: 20px 22px;
    border: 1px solid #e9e2de;
    background: linear-gradient(180deg, #fff 0%, #fff9f4 100%);
}

.about-article.prose > *:first-child {
    margin-top: 0;
}

.about-article.prose > *:last-child {
    margin-bottom: 0;
}

.listing-grid {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid #d9d9d9;
    background: #d9d9d9;
}

.listing-card {
    background: #fff;
}

.listing-card-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.listing-card-image-wrap {
    position: relative;
    overflow: hidden;
    background: #10131b;
    aspect-ratio: 16 / 10;
}

.listing-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: transform .45s ease;
    object-fit: cover;
}

.listing-card:hover .listing-card-image {
    transform: scale(1.04);
}

.listing-card-image-fallback {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #202636, #0c111b);
}

.listing-card-body {
    display: grid;
    gap: 10px;
    padding: 14px 14px 16px;
    border-top: 1px solid #d9d9d9;
}

.listing-card-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #909090;
}

.listing-card-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.listing-card-category-icon {
    font-size: 12px;
    line-height: 1;
}

.listing-card-title {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    color: #1f1f1f;
}

.listing-card-excerpt {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
}

.search-result-list {
    border: 1px solid #d9d9d9;
    background: #fff;
}

.search-result-item + .search-result-item {
    border-top: 1px solid #d9d9d9;
}

.search-result-link {
    display: block;
    padding: 18px 20px;
    text-decoration: none;
    color: inherit;
}

.search-result-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #888888;
}

.search-result-type {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 60px;
    height: 22px;
    padding: 0 8px;
    border: 1px solid #f2b2a4;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--color-accent);
    background: #fff4f1;
}

.search-result-title {
    margin: 10px 0 0;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    color: #21201d;
}

.search-result-excerpt {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.7;
    color: #63635e;
}

.friend-links-content {
    display: grid;
    gap: 18px;
}

.friend-links-intro {
    padding: 16px 18px;
    border: 1px solid #d9d9d9;
    background: #fff;
}

.friend-links-grid {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid #d9d9d9;
    background: #d9d9d9;
}

.friend-link-card {
    background: #fff;
}

.friend-link-card-link {
    display: grid;
    gap: 10px;
    min-height: 130px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
}

.friend-link-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.friend-link-card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: #1f1f1f;
}

.friend-link-card-icon {
    font-size: 13px;
    line-height: 1;
    color: var(--color-accent);
}

.friend-link-card-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
}

.friend-link-card-host {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: #969696;
}

.rss-subscribe-content {
    display: grid;
    gap: 18px;
}

.rss-subscribe-hero {
    display: grid;
    gap: 1px;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    border: 1px solid #d9d9d9;
    background: #d9d9d9;
}

.rss-subscribe-hero-main {
    position: relative;
    overflow: hidden;
    min-height: 250px;
    padding: 22px 22px 18px;
    color: #fff;
    background: #10131b;
}

.rss-subscribe-hero-main::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(16, 19, 27, .66);
    background-image: var(--rss-hero-bg, none);
    background-size: cover;
    background-position: center;
    filter: saturate(.95);
}

.rss-subscribe-hero-main > * {
    position: relative;
    z-index: 1;
}

.rss-subscribe-hero-title {
    margin: 0;
    font-size: 35px;
    font-weight: 600;
    line-height: 1.12;
}

.rss-subscribe-hero-text {
    margin-top: 14px;
    max-width: 720px;
    color: rgba(255, 255, 255, .93);
}

.rss-subscribe-hero-text a {
    color: #fff;
    text-decoration-color: #fff;
}

.rss-subscribe-hero-fallback {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.72;
    color: rgba(255, 255, 255, .9);
}

.rss-subscribe-stats {
    padding: 16px;
    background: #fff;
}

.rss-subscribe-stats-title {
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #d9d9d9;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    color: #1f1f1f;
}

.rss-subscribe-stats-list {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.rss-subscribe-stats-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 10px;
    border: 1px solid #d9d9d9;
    border-bottom: 0;
    font-size: 13px;
    color: #666666;
    background: #fff;
}

.rss-subscribe-stats-list li:last-child {
    border-bottom: 1px solid #d9d9d9;
}

.rss-subscribe-stats-list strong {
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    color: #2f2f2f;
}

.rss-feed-grid {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid #d9d9d9;
    background: #d9d9d9;
}

.rss-feed-card {
    background: #fff;
}

.rss-feed-card-link {
    display: grid;
    gap: 12px;
    min-height: 178px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
}

.rss-feed-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.rss-feed-card-title {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;
    color: #21201d;
}

.rss-feed-card-icon {
    font-size: 13px;
    line-height: 1;
    color: var(--color-accent);
}

.rss-feed-card-excerpt {
    margin: 0;
    font-size: 14px;
    line-height: 1.68;
    color: #63635e;
}

.rss-feed-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    font-size: 12px;
    color: #969696;
}

.rss-feed-card-site {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.rss-feed-card-site span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rss-feed-card-site-avatar {
    width: 18px;
    height: 18px;
    border-radius: 0;
    object-fit: cover;
    flex: 0 0 18px;
    background: #f1f1f1;
}

.memos-content {
    display: grid;
    gap: 18px;
}

.memos-error {
    padding: 12px 14px;
    border: 1px solid #f1c0b4;
    color: #b4452f;
    background: #fff5f2;
}

.memos-error p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
}

.memos-error p + p {
    margin-top: 6px;
}

.memos-grid {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid #d9d9d9;
    background: #d9d9d9;
}

.memos-card {
    background: #fff;
}

.memos-card-link {
    position: relative;
    display: grid;
    gap: 10px;
    min-height: 178px;
    padding: 16px 16px 44px;
    text-decoration: none;
    color: inherit;
}

.memos-card-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.memos-card-keyword {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 24px;
    padding: 0 8px;
    border: 1px solid #e6e6e6;
    font-size: 12px;
    line-height: 24px;
    color: #6f6f6f;
    background: #fbfbfb;
}

.memos-card-keyword-empty {
    color: #8d8d8d;
}

.memos-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: calc(1.72em * 3);
    overflow: hidden;
    color: #63635e;
    font-size: 14px;
    line-height: 1.72;
}

.memos-card-body p {
    margin: 0;
    width: 100%;
    text-align: left;
}

.memos-card-body p + p {
    margin-top: 8px;
}

.memos-card-meta {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #969696;
}

.pan-pagination {
    margin-top: 0;
    padding-bottom: 4px;
}

.pan-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.pan-pagination--home .nav-links {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: max-content;
    transform: translate(-50%, -50%);
}

.pan-pagination--home {
    position: relative;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 56px;
    border-left: 1px solid var(--border-color);
}

.pan-pagination .page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #d9d9d9;
    border-radius: 0;
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    color: #333333;
    background: #fff;
    vertical-align: middle;
}

.pan-pagination .page-numbers.current {
    border-color: var(--color-accent);
    color: #fff;
    background: var(--color-accent);
}

.pan-pagination .page-numbers:hover {
    color: var(--color-accent);
}

.listing-empty {
    padding: 42px 24px;
    border: 1px solid #d9d9d9;
    font-size: 14px;
    text-align: center;
    color: #777777;
    background: #fff;
}

.listing-empty p {
    margin: 0;
}

.listing-empty-note {
    margin-top: 8px !important;
    font-size: 13px;
    color: #999999;
}

.archive-timeline {
    display: grid;
    gap: 22px;
}

.archive-year-group {
    padding: 16px 18px;
    border: 1px solid #d9d9d9;
    background: #fff;
}

.archive-year-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d9d9d9;
}

.archive-year-title {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-title);
}

.archive-year-count {
    font-size: 13px;
    color: #777777;
}

.archive-month-group + .archive-month-group {
    margin-top: 14px;
}

.archive-month-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.archive-month-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: #21201d;
}

.archive-month-count {
    font-size: 12px;
    color: #909090;
}

.archive-post-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.archive-post-item {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 12px;
    align-items: baseline;
    padding: 8px 0;
    border-top: 1px dashed #e3e3e3;
}

.archive-post-list .archive-post-item:first-child {
    border-top: 0;
}

.archive-post-date {
    font-size: 12px;
    line-height: 1.4;
    color: #8f8f8f;
}

.archive-post-link {
    overflow: hidden;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #2a2a2a;
}

.archive-post-link:hover {
    color: var(--color-accent);
}

/* =========================
   Category Archive Page
   ========================= */
.category-archive-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.category-archive-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--color-accent);
}

.category-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-archive-card-link {
    display: flex;
    flex-direction: column;
}

.category-archive-image-wrap {
    aspect-ratio: 1 / 1;
}

.category-archive-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-top: 1px solid #d9d9d9;
    font-size: 12px;
    color: #909090;
}

.category-archive-card-body {
    border-top: 0;
}

/* =========================
   Year-Month Archive Page
   ========================= */
.year-month-archive-page .archive-year-group {
    border-left: 1px solid #d9d9d9;
}

.year-month-archive-page .archive-year-group:hover {
    border-left-color: var(--color-accent);
}

.year-month-archive-page .archive-head-stats {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    margin-left: auto;
    margin-top: 0;
}

.year-month-archive-page .archive-head-stat {
    display: flex;
    align-items: baseline;
    gap: 4px;
    min-width: 130px;
    min-height: 32px;
    padding: 6px 8px;
    border: 1px solid #d9d9d9;
    background: #fff;
}

.year-month-archive-page .archive-head-stat b {
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: #2f2f2f;
}

.year-month-archive-page .archive-head-stat em {
    font-size: 12px;
    font-style: normal;
    line-height: 1.2;
    color: #777;
}

.archive-heatmap {
    margin-bottom: 24px;
    padding: 16px;
    border: 1px solid #d9d9d9;
    background: #fff;
}

.archive-heatmap-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 12px;
}

.archive-heatmap-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f1f1f;
}

.archive-heatmap-subtitle {
    margin: 0;
    font-size: 13px;
    color: #7a7a7a;
}

.archive-heatmap-wrap {
    overflow-x: auto;
    padding-bottom: 2px;
}

.archive-heatmap-months {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(14px, 1fr);
    margin-bottom: 6px;
    padding-left: 2px;
    width: 100%;
    min-width: 760px;
    font-size: 11px;
    color: #8a8a8a;
}

.archive-heatmap-months span {
    white-space: nowrap;
    transform: translateX(-2px);
}

.archive-heatmap-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(14px, 1fr);
    grid-template-rows: repeat(7, minmax(14px, 1fr));
    gap: 3px;
    width: 100%;
    min-width: 760px;
}

.archive-heatmap-cell {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 0;
    background: #ebedf0;
}

.archive-heatmap-cell.level--1 {
    background: transparent;
}

.archive-heatmap-cell.level-0 {
    background: #ebedf0;
}

.archive-heatmap-cell.level-1 {
    background: #cfeadf;
}

.archive-heatmap-cell.level-2 {
    background: #8fd5b3;
}

.archive-heatmap-cell.level-3 {
    background: #55bf90;
}

.archive-heatmap-cell.level-4 {
    background: #279d69;
}

.archive-heatmap-legend {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 12px;
    color: #7a7a7a;
}

.archive-heatmap-legend .archive-heatmap-cell {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    aspect-ratio: auto;
}

/* =========================
   Keyword Archive Page
   ========================= */
.keyword-archive-page .search-result-list {
    border: 1px solid #d9d9d9;
}

.keyword-archive-page .search-result-item + .search-result-item {
    border-top: 1px dashed #d9d9d9;
}

.keyword-archive-page .search-result-link:hover .search-result-title {
    color: var(--color-accent);
}

.keyword-archive-page .search-result-excerpt {
    display: -webkit-box;
    line-clamp: 2;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media (max-width: 900px) {
    .main-shell {
        min-height: calc(100vh - 64px);
    }

    .listing-head-inner {
        min-height: 90px;
        padding: 14px 24px;
    }

    .listing-head-accent {
        display: none;
    }

    .listing-head-title {
        font-size: 26px;
    }

    .listing-head-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .listing-head-side-stat {
        margin-top: 0;
        text-align: left;
    }

    .listing-content {
        padding: 18px 24px 0;
        box-sizing: border-box;
    }

    .about-content {
        padding: 16px 24px 0;
        box-sizing: border-box;
    }

    .about-content-inner {
        gap: 14px;
    }

    .about-article {
        padding: 16px;
    }

    .about-hero-image,
    .about-hero-fallback {
        height: 260px;
    }

    .about-decade-card {
        gap: 10px;
        padding: 14px 14px 12px;
    }

    .about-decade-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .about-decade-title {
        font-size: 17px;
    }

    .archive-year-group {
        padding: 14px;
    }

    .archive-year-title {
        font-size: 22px;
    }

    .archive-post-item {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 10px;
    }

    .archive-post-link {
        font-size: 14px;
    }

    .year-month-archive-page .archive-head-stats {
        flex-wrap: wrap;
        justify-content: flex-start;
        width: 100%;
    }

    .archive-heatmap {
        margin-bottom: 18px;
        padding: 12px;
    }

    .archive-heatmap-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .year-month-archive-page .archive-head-stat {
        flex: 1 1 calc(50% - 8px);
    }

    .category-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .listing-grid,
    .friend-links-grid,
    .rss-feed-grid,
    .memos-grid {
        grid-template-columns: 1fr;
    }

    .rss-subscribe-hero {
        grid-template-columns: 1fr;
    }

    .rss-subscribe-hero-main {
        min-height: 200px;
        padding: 16px 14px;
    }

    .rss-subscribe-hero-title {
        font-size: 28px;
    }

    .rss-subscribe-stats {
        padding: 12px;
    }

    .rss-feed-card-link {
        min-height: 150px;
        padding: 14px;
    }

    .rss-feed-card-title {
        font-size: 19px;
    }

    .search-result-link {
        padding: 14px;
    }

    .search-result-title {
        font-size: 19px;
    }

    .page-content.prose :where(figure.wp-block-table table),
    .page-content.prose :where(table) {
        min-width: 640px;
        font-size: 13px;
    }

    .page-content.prose :where(table) :where(thead th),
    .page-content.prose :where(table) :where(tbody td) {
        padding: 10px 12px;
    }

    .nav {
        display: none;
    }

    .home-article {
        padding: 0 24px;
        box-sizing: border-box;
    }

    .home-main-layout {
        grid-template-columns: 1fr;
    }

    .home-main-sidebar {
        border-right: 0;
        border-bottom: 0;
    }

    .home-main-sidebar::before {
        display: none;
    }

    .home-main-sidebar-inner {
        position: static;
        gap: 10px;
        padding: 0 0 14px;
    }

    .home-main-sidebar-block {
        gap: 6px;
    }

    .home-main-sidebar-block-title {
        min-height: 50px;
        padding: 0 10px;
    }

    .home-main-sidebar-block-body {
        padding: 10px;
    }

    .home-main-feed {
        --home-article-head-height: 48px;
    }

    .home-article::after {
        display: none;
    }

    .home-article-grid {
        --headline-align-top: 0px;
        --home-article-head-height: 48px;
        grid-template-columns: 1fr;
        gap: 22px;
        padding-left: 0;
    }

    .home-article-grid::before {
        display: none;
    }

    .home-article-sidebar {
        width: auto;
        max-width: none;
        border-right: 0;
        border-bottom: 1px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 14px;
    }

    .home-article-sidebar-card {
        position: static;
        gap: 10px;
        margin: 8px 0 0;
        padding: 12px;
    }

    .home-article-sidebar::before {
        left: 0;
        top: 10px;
        width: 3px;
        height: 48px;
    }

    .home-article-sidebar-icon {
        width: 42px;
        height: 42px;
    }

    .home-article-sidebar-icon .category-icon {
        font-size: 18px;
    }

    .home-article-sidebar-meta time {
        font-size: 14px;
    }

    .home-article-sidebar-link {
        min-height: 34px;
        font-size: 13px;
    }

    .article-toc {
        margin-top: 20px;
        gap: 8px;
    }

    .article-toc-item {
        font-size: 13px;
    }

    .article-toc-item.level-3 {
        font-size: 11px;
    }

    .home-article-content h2 {
        font-size: 22px;
    }

    .home-article-head {
        grid-template-columns: var(--home-article-head-height) minmax(0, 1fr) auto;
        column-gap: 12px;
    }

    .home-article-head-label {
        min-height: 100%;
        padding: 0 10px 0 0;
        font-size: 12px;
    }

    .home-article-time {
        width: var(--home-article-head-height);
        height: var(--home-article-head-height);
    }

    .home-article-time-month {
        font-size: 12px;
    }

    .home-article-time-day {
        font-size: 16px;
    }

    .home-article-time-tooltip {
        top: auto;
        bottom: 100%;
        left: 0;
        right: auto;
        height: 26px;
        font-size: 11px;
    }

    .home-article-content {
        max-height: none;
        min-height: 0;
        overflow: visible;
        display: block;
        padding-right: 0;
    }

    .home-article-body {
        overflow: visible;
        min-height: 0;
    }

    .home-article-body-wrap {
        margin-top: 0;
        padding-top: 26px;
        min-height: 0;
    }

    .home-article-head,
    .home-article-meta,
    .home-article-body-wrap {
        padding-right: 0;
    }

    .home-article-meta {
        align-items: flex-start;
        justify-content: flex-start;
        gap: 8px;
    }

    .home-article-meta-right,
    .home-article-keywords {
        justify-content: flex-start;
    }

    .home-article-featured-image {
        max-height: none;
    }

    .home-article-scrollbar {
        display: none;
    }

    .page-content.prose :where(h2) {
        padding-bottom: 10px;
    }

    .single-page-square .single-content-wrap .page-content.prose :where(h2)::after {
        left: -30px;
    }

    .page-content.prose :where(h3) {
        padding-left: 8px;
    }

}

/* Hero sidebar — active item indicator (left border, no bg color change) */
[data-hero-item] {
    margin: 0;
    border: 0;
    border-left: 3px solid transparent;
    border-radius: 0;
    outline: 0;
    background-color: #1f1f1f;
    box-shadow: none;
    transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}

.hero-sidebar {
    isolation: isolate;
}

.hero-shell {
    overflow: hidden;
    border-radius: 0;
    --hero-item-count: 5;
    --hero-shell-height: 400px;
    --hero-card-height: calc(var(--hero-shell-height) / var(--hero-item-count));
}

.hero-sidebar,
.hero-sidebar [data-hero-item],
.hero-shell > article {
    border-radius: 0 !important;
}

.hero-title-frost {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: var(--hero-card-height);
    padding: 0 18px;
    border: 0;
    background: rgba(8, 12, 22, 0.72);
    box-shadow: none;
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
}

.hero-main-title-wrap {
    line-height: 1;
    text-align: right;
}

.hero-main-title {
    display: block;
    overflow: hidden;
    font-size: 40px !important;
    line-height: 1.06;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-title-row {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 10px;
}

.hero-title-row .hero-main-title-wrap {
    flex: 1;
    min-width: 0;
}

@media (max-width: 900px) {
    .hero-title-frost {
        height: 64px;
        padding: 0 12px;
    }
}

.hero-type-badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 34px;
    height: var(--hero-card-height);
    padding: 6px 5px;
    border: 0;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 1px;
    color: #fff;
    background: var(--color-accent);
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.hero-type-badge[data-hero-main-badge-key="latest"] {
    background: #f53004;
}

.hero-type-badge[data-hero-main-badge-key="popular"] {
    background: #ff7a00;
}

.hero-type-badge[data-hero-main-badge-key="comment"] {
    background: #2563eb;
}

.hero-type-badge[data-hero-main-badge-key="random"] {
    background: #16a34a;
}

@media (max-width: 900px) {
    .hero-type-badge {
        height: 64px;
        min-width: 30px;
        font-size: 11px;
        padding: 5px 4px;
    }
}

.hero-sidebar [data-hero-item] {
    position: relative;
    min-height: 0;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding-block: 0 !important;
    appearance: none;
    -webkit-appearance: none;
    background-clip: padding-box;
}

.hero-sidebar [data-hero-item]::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.22);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
    content: "";
}

.hero-sidebar [data-hero-item]::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
    content: "";
}

.hero-sidebar [data-hero-item]:hover::before {
    opacity: 1;
}

.hero-sidebar [data-hero-item].is-hero-active::before,
.hero-sidebar [data-hero-item][aria-pressed="true"]::before {
    opacity: 0;
}

.hero-sidebar [data-hero-item]:last-child::after {
    display: none;
}

.hero-item-label {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    color: rgba(255, 255, 255, 0.2);
}

.hero-item-count {
    font-size: 10.8px;
    font-weight: 500;
    line-height: 1;
    color: rgba(255, 255, 255, 0.2);
    opacity: 1;
}

.hero-sidebar [data-hero-item].is-hero-active .hero-item-label,
.hero-sidebar [data-hero-item][aria-pressed="true"] .hero-item-label,
.hero-sidebar [data-hero-item].is-hero-active .hero-item-count,
.hero-sidebar [data-hero-item][aria-pressed="true"] .hero-item-count {
    color: #fff;
}

.hero-item-bg-icon {
    position: absolute;
    top: 0;
    right: 8px;
    bottom: 0;
    display: flex;
    overflow: visible;
    justify-content: center;
    align-items: center;
    width: 84px;
    height: 100%;
    color: rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.is-hero-active .hero-item-bg-icon,
[data-hero-item][aria-pressed="true"] .hero-item-bg-icon {
    color: #fff;
}

.hero-item-bg-icon i {
    display: block;
    font-size: 56px;
    line-height: 1;
}

@media (max-width: 900px) {
    .hero-item-bg-icon {
        width: 68px;
    }

    .hero-item-bg-icon i {
        font-size: 44px;
    }
}

[data-hero-item]:hover {
    background-color: #1f1f1f;
}

.is-hero-active,
[data-hero-item][aria-pressed="true"] {
    background-color: var(--color-accent);
    box-shadow: none;
    border-left-color: transparent;
}

/* Global font-weight normalization: regular 400, bold 500 */
body.theme-body,
body.theme-body p,
body.theme-body li,
body.theme-body span,
body.theme-body a,
body.theme-body small,
body.theme-body input,
body.theme-body textarea,
body.theme-body button,
body.theme-body label,
body.theme-body blockquote,
body.theme-body figcaption,
body.theme-body td,
body.theme-body code,
body.theme-body pre {
    font-weight: 400;
}

body.theme-body strong,
body.theme-body b,
body.theme-body th,
body.theme-body h1,
body.theme-body h2,
body.theme-body h3,
body.theme-body h4,
body.theme-body h5,
body.theme-body h6,
body.theme-body .font-medium,
body.theme-body .font-semibold,
body.theme-body .font-bold,
body.theme-body .font-extrabold,
body.theme-body .font-black {
    font-weight: 500 !important;
}

.site-footer {
    border-top: 1px solid var(--border-color);
    background: #fff;
}

.site-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1280px;
    min-height: 84px;
    margin: 0 auto;
    padding: 16px 24px;
}

.site-footer-copy {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    color: #666666;
}

.site-footer-icons {
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
}

.site-footer-icon-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid #d9d9d9;
    border-radius: 0;
    text-decoration: none;
    color: #777777;
    background: #fff;
    transition: transform 1.5s ease, color .2s ease, border-color .2s ease;
}

.site-footer-icon-link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: scale(1.12);
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 60;
    display: grid;
    visibility: hidden;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--color-accent);
    border-radius: 0;
    color: var(--color-accent);
    background: #fff;
    opacity: 0;
    cursor: pointer;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease, color .2s ease, border-color .2s ease;
    transform: translateY(8px);
}

.back-to-top.is-visible {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    border-color: var(--color-accent);
    color: #fff;
    background: var(--color-accent);
}

.back-to-top i {
    display: block;
    font-size: 14px;
    line-height: 1;
}

#pan-aplayer .aplayer.aplayer-fixed {
    right: auto;
    bottom: 24px;
    left: 16px;
    margin: 0;
}

@media (max-width: 900px) {
    .site-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 14px 24px;
        gap: 12px;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 38px;
        height: 38px;
    }

}
