@charset "utf-8";

:root {
    --ink: #15181f;
    --ink-2: #3b4252;
    --muted: #6d7482;
    --line: #e6e8ef;
    --line-soft: #eef0f6;
    --bg: #fbfbfd;
    --surface: #ffffff;
    --tint: #f4f6fb;
    --accent: #2f5fe0;
    --accent-dark: #2448b8;
    --accent-soft: #eaf0ff;
    --radius-lg: 22px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(20, 25, 40, .04), 0 10px 28px rgba(20, 25, 40, .05);
    --shadow-md: 0 18px 48px rgba(20, 25, 40, .11);
    --wrap: 1120px;
    --header-h: 72px;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink-2);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color .2s ease;
}

a:hover {
    color: var(--accent-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.01em;
}

p {
    margin: 0;
}

ul,
ol,
dl,
dd {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
}

::selection {
    background: var(--accent);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

[id] {
    scroll-margin-top: calc(var(--header-h) + 20px);
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.btn i {
    font-size: 15px;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 24px rgba(47, 95, 224, .24);
}

.btn-primary:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(47, 95, 224, .3);
}

.btn-ghost {
    border-color: var(--line);
    background: #fff;
    color: var(--ink);
}

.btn-ghost:hover {
    border-color: #c9d4ee;
    color: var(--accent);
    transform: translateY(-1px);
}

.btn-small {
    padding: 9px 16px;
    font-size: 13px;
}

.btn-small i {
    font-size: 13px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 251, 253, .82);
    border-bottom: 1px solid transparent;
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, .92);
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px rgba(20, 25, 40, .05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
}

.brand:hover {
    color: var(--ink);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--accent), #6a8dff);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(47, 95, 224, .24);
    overflow: hidden;
}

.brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand-text strong {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--ink);
}

.brand-text small {
    font-size: 11.5px;
    color: var(--muted);
    letter-spacing: .02em;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav ul li a {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 500;
}

.site-nav ul li a:hover {
    background: var(--tint);
    color: var(--ink);
}

.site-nav ul li a.is-active {
    color: var(--accent);
    background: var(--accent-soft);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--ink-2);
    font-size: 16px;
}

.icon-btn:hover {
    background: var(--tint);
    color: var(--accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.nav-toggle-bar {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .25s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    position: relative;
    padding: 88px 0 96px;
    background:
        radial-gradient(760px 420px at 12% -10%, #e7eeff 0%, rgba(231, 238, 255, 0) 68%),
        radial-gradient(680px 420px at 96% 4%, #f4ecff 0%, rgba(244, 236, 255, 0) 62%),
        var(--bg);
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 64px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
}

.eyebrow-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(47, 95, 224, .14);
}

.hero-name {
    font-size: clamp(2.9rem, 6.4vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.05;
}

.hero-job {
    margin-top: 16px;
    color: var(--ink-2);
    font-size: clamp(1.05rem, 1.7vw, 1.3rem);
    font-weight: 600;
    letter-spacing: -.01em;
}

.hero-tagline {
    max-width: 46ch;
    margin-top: 14px;
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.85;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 26px;
}

.hero-meta li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ink-2);
    font-size: 13.5px;
}

.hero-meta i {
    color: var(--accent);
    font-size: 15px;
}

.hero-meta a {
    color: var(--ink-2);
}

.hero-meta a:hover {
    color: var(--accent);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.hero-photo {
    position: relative;
    justify-self: center;
    width: 330px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 28px;
    border: 8px solid #fff;
    background: linear-gradient(150deg, #dfe8ff, #f3ecff 60%, #e6f4ff);
    box-shadow: 0 28px 64px rgba(47, 95, 224, .2);
    outline: 1px dashed rgba(47, 95, 224, .32);
    outline-offset: 12px;
    overflow: hidden;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    display: block;
}

.photo-mono {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 96px;
    font-weight: 700;
    background: linear-gradient(150deg, var(--accent), #7b93ff);
    letter-spacing: -.04em;
}

.photo-mono-sm {
    font-size: 30px;
}

.section {
    padding: 84px 0;
    border-top: 1px solid transparent;
}

.section-alt {
    background: var(--tint);
    border-top-color: #e9edf6;
    border-bottom: 1px solid #e9edf6;
}

.section-head {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 44px;
}

.section-head-row {
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.section-head-main {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.section-index {
    flex: none;
    padding-top: 7px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    opacity: .75;
}

.section-title {
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    font-weight: 700;
    letter-spacing: -.02em;
}

.section-slash {
    margin: 0 12px;
    color: #c3cbdd;
    font-weight: 400;
}

.section-lead {
    max-width: 60ch;
    margin-top: 10px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    gap: 56px;
    align-items: start;
}

.about-text p {
    margin-bottom: 18px;
    color: var(--ink-2);
    font-size: 16.5px;
    line-height: 1.95;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text p:first-child {
    color: var(--ink);
    font-size: 18px;
    line-height: 1.85;
}

.fact-card {
    padding: 26px 26px 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.fact-title {
    margin-bottom: 6px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
}

.fact-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-top: 1px dashed var(--line);
}

.fact-row:first-child {
    border-top: 0;
}

.fact-row dt {
    flex: none;
    color: var(--muted);
    font-size: 13px;
}

.fact-row dd {
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 600;
    text-align: right;
    line-height: 1.6;
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 64px;
}

.skill-item {
    padding: 12px 0;
}

.skill-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.skill-name {
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
}

.skill-num {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
}

.skill-bar {
    display: block;
    height: 6px;
    border-radius: 999px;
    background: #e2e7f3;
    overflow: hidden;
}

.skill-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), #7f9bff);
    transition: width 1.1s cubic-bezier(.22, .68, .24, 1);
}

.skill-item.is-visible .skill-fill {
    width: var(--level, 0%);
}

.skill-item-tag {
    display: flex;
    align-items: center;
}

.skill-tag {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid #d9e1f6;
    border-radius: 999px;
    background: #fff;
    color: var(--ink-2);
    font-size: 13.5px;
    font-weight: 500;
}

.two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 56px;
}

.col-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
}

.col-title i {
    font-size: 16px;
}

.timeline {
    position: relative;
    margin-left: 5px;
    padding-left: 26px;
    border-left: 2px solid var(--line);
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 6px;
    left: -33px;
    width: 11px;
    height: 11px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    background: var(--bg);
}

.section-alt .timeline-item::before {
    background: var(--tint);
}

.timeline-time {
    margin-bottom: 6px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .02em;
}

.timeline-title {
    font-size: 17px;
    font-weight: 700;
}

.timeline-sub {
    margin-top: 4px;
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 500;
}

.timeline-sep {
    margin: 0 8px;
    color: #b9c2d6;
}

.timeline-desc {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.85;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
}

.project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.project-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #8aa4ff);
    opacity: 0;
    transition: opacity .25s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: #d6e0f6;
    box-shadow: var(--shadow-md);
}

.project-card:hover::after {
    opacity: 1;
}

.project-role {
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.project-name {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.project-desc {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.85;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 18px;
    color: var(--accent);
    font-size: 13.5px;
    font-weight: 600;
}

.project-link i {
    transition: transform .2s ease;
}

.project-link:hover i {
    transform: translate(2px, -2px);
}

.honor-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 56px;
}

.honor-item {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--line);
}

.honor-year {
    flex: none;
    min-width: 52px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 600;
}

.honor-title {
    color: var(--ink-2);
    font-size: 15px;
    font-weight: 500;
}

.section-contact {
    background: linear-gradient(180deg, #fbfbfd 0%, #f3f6fd 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.contact-card {
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    border-color: #d6e0f6;
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 17px;
}

.contact-label {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .06em;
}

.contact-value {
    display: block;
    margin-top: 4px;
    color: var(--ink);
    font-size: 14.5px;
    font-weight: 600;
    word-break: break-all;
}

a.contact-value:hover {
    color: var(--accent);
}

.note-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 26px;
}

.note-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.note-card:hover {
    transform: translateY(-4px);
    border-color: #d6e0f6;
    box-shadow: var(--shadow-md);
}

.note-thumb {
    display: block;
    aspect-ratio: 16 / 9;
    background: linear-gradient(140deg, #e8eeff, #f4f0ff 60%, #e9f5ff);
    overflow: hidden;
}

.note-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.note-card:hover .note-thumb img {
    transform: scale(1.04);
}

.note-thumb-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #b8c7ea;
    font-size: 34px;
}

.note-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 24px 20px;
}

.note-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 12.5px;
}

.note-meta time {
    font-family: var(--font-mono);
    letter-spacing: .01em;
}

.note-cate {
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 11.5px;
    font-weight: 600;
}

.note-pin {
    padding: 2px 9px;
    border-radius: 999px;
    background: #fff3e6;
    color: #b4671a;
    font-size: 11.5px;
    font-weight: 600;
}

.note-title {
    margin-top: 10px;
    font-size: 18.5px;
    line-height: 1.5;
}

.note-title a {
    color: var(--ink);
}

.note-title a:hover {
    color: var(--accent);
}

.note-intro {
    display: -webkit-box;
    margin-top: 8px;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.note-foot {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    padding-top: 18px;
    color: var(--muted);
    font-size: 12.5px;
}

.note-foot span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.note-foot i {
    font-size: 13px;
}

.note-more {
    margin-left: auto;
    color: var(--accent) !important;
    font-size: 14px;
    transition: transform .2s ease;
}

.note-card:hover .note-more {
    transform: translateX(3px);
}

.pagebar-wrap {
    margin-top: 42px;
}

.pagebar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.page-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink-2);
    font-size: 13.5px;
    font-weight: 500;
}

.page-item:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.page-item.is-current {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

.page-main {
    padding-block: 60px 100px;
    min-height: 55vh;
}

.page-head {
    margin-bottom: 44px;
}

.page-head .eyebrow {
    margin-bottom: 12px;
}

.page-head h1 {
    font-size: clamp(2rem, 4.2vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -.03em;
}

.page-lead {
    max-width: 62ch;
    margin-top: 12px;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.85;
}

.page-lead:empty {
    display: none;
}

.empty-state {
    padding: 64px 24px;
    border: 1px dashed #d5dced;
    border-radius: var(--radius-lg);
    background: #fff;
    color: var(--muted);
    text-align: center;
    font-size: 15px;
}

.search-form {
    display: flex;
    gap: 10px;
    max-width: 620px;
    margin-bottom: 40px;
}

.search-form input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: 13px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-family: inherit;
    font-size: 15px;
}

.search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(47, 95, 224, .12);
}

.search-key {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 10px;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 600;
}

.single-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 296px;
    gap: 56px;
    align-items: start;
    padding-block: 56px 100px;
}

.single-aside {
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

.entry-head {
    margin-bottom: 36px;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    color: var(--muted);
    font-size: 13px;
}

.entry-cate {
    padding: 3px 11px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
}

.entry-meta time {
    font-family: var(--font-mono);
}

.entry-stat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.entry-stat i {
    font-size: 14px;
}

.entry-title {
    margin-top: 16px;
    font-size: clamp(1.85rem, 3.6vw, 2.55rem);
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -.03em;
}

.entry-intro {
    margin-top: 18px;
    padding: 14px 18px;
    background: var(--tint);
    border-radius: 12px;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.85;
}

.entry-content {
    color: var(--ink-2);
    font-size: 16.5px;
    line-height: 1.95;
}

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content p {
    margin: 0 0 1.35em;
}

.entry-content h2 {
    margin: 2.2em 0 .85em;
    font-size: 1.5rem;
    font-weight: 700;
}

.entry-content h2::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    margin-top: 10px;
    border-radius: 2px;
    background: var(--accent);
}

.entry-content h3 {
    margin: 1.9em 0 .7em;
    font-size: 1.22rem;
    font-weight: 700;
}

.entry-content h4 {
    margin: 1.6em 0 .6em;
    font-size: 1.05rem;
    font-weight: 700;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 1.35em;
    padding-left: 1.4em;
}

.entry-content ul {
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

.entry-content li {
    margin: .4em 0;
}

.entry-content li::marker {
    color: var(--accent);
}

.entry-content a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-decoration-color: #b7c8f3;
}

.entry-content a:hover {
    text-decoration-color: var(--accent);
}

.entry-content blockquote {
    margin: 1.8em 0;
    padding: 20px 24px 18px;
    border-radius: 14px;
    background: var(--tint);
    color: var(--ink-2);
}

.entry-content blockquote::before {
    content: "\201C";
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    line-height: .8;
    margin-bottom: 6px;
    color: var(--accent);
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.entry-content code {
    padding: 2px 6px;
    border-radius: 6px;
    background: #f1f3f9;
    color: #b4344b;
    font-family: var(--font-mono);
    font-size: .88em;
}

.entry-content pre {
    margin: 1.6em 0;
    padding: 20px 22px;
    border-radius: 14px;
    background: #14161d;
    color: #e7eaf2;
    font-family: var(--font-mono);
    font-size: 13.5px;
    line-height: 1.75;
    overflow-x: auto;
}

.entry-content pre code {
    padding: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
}

.entry-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.6em auto;
    border-radius: 12px;
}

.entry-content figure {
    margin: 1.6em 0;
}

.entry-content figcaption,
.entry-content .wp-caption-text {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.entry-content table {
    display: block;
    width: 100%;
    margin: 1.6em 0;
    border-collapse: collapse;
    overflow-x: auto;
    font-size: 14.5px;
}

.entry-content th,
.entry-content td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    white-space: nowrap;
}

.entry-content th {
    background: var(--tint);
    color: var(--ink);
    font-weight: 600;
}

.entry-content hr {
    height: 1px;
    margin: 2.4em 0;
    border: 0;
    background: var(--line);
}

.entry-content iframe,
.entry-content video {
    max-width: 100%;
    border-radius: 12px;
}

.entry-foot {
    margin-top: 46px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-list a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink-2);
    font-size: 12.5px;
}

.tag-list a:hover {
    border-color: #c9d4ee;
    color: var(--accent);
}

.tag-list i {
    color: var(--accent);
    font-size: 13px;
}

.post-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 44px;
}

.post-nav-item {
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    transition: border-color .2s ease, transform .2s ease;
}

.post-nav-item:hover {
    border-color: #c9d4ee;
    transform: translateY(-2px);
}

.post-nav-item a {
    display: block;
    color: var(--ink);
}

.post-nav-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 12px;
}

.post-nav-label i {
    font-size: 12px;
}

.post-nav-item strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.post-nav-next {
    text-align: right;
}

.post-nav-next .post-nav-label {
    justify-content: flex-end;
}

.author-card {
    padding: 26px 22px;
    margin-bottom: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.author-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(150deg, #dfe8ff, #f3ecff);
    overflow: hidden;
}

.author-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-avatar .photo-mono {
    font-size: 30px;
}

.author-name {
    font-size: 17px;
    font-weight: 700;
}

.author-job {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.6;
}

.author-bio {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

.author-card .btn {
    margin-top: 16px;
}

.widget {
    padding: 20px 22px;
    margin-bottom: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.widget-title {
    padding-bottom: 10px;
    margin-bottom: 12px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    border-bottom: 1px solid var(--line-soft);
}

.widget-list > li {
    padding: 6px 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.7;
}

.widget-list > li a {
    color: var(--ink-2);
}

.widget-list > li a:hover {
    color: var(--accent);
}

.widget-content {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.8;
}

.widget-content ul li {
    padding: 4px 0;
}

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 2px;
    color: var(--muted);
    font-size: 13px;
}

.back-home:hover {
    color: var(--accent);
}

#tbCalendar {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-mono);
    font-size: 12px;
    text-align: center;
}

#tbCalendar caption {
    padding-bottom: 10px;
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
}

#tbCalendar caption a {
    padding: 0 5px;
    color: var(--muted);
}

#tbCalendar caption a:hover {
    color: var(--accent);
}

#tbCalendar th {
    padding: 6px 0;
    color: var(--muted);
    font-weight: 500;
}

#tbCalendar th small {
    font-size: 11px;
}

#tbCalendar td {
    padding: 4px 0;
    color: var(--ink-2);
}

#tbCalendar td a {
    display: inline-block;
    min-width: 22px;
    padding: 2px 0;
    border-radius: 7px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 600;
}

#tbCalendar td a:hover {
    background: var(--accent);
    color: #fff;
}

.cp-hello {
    color: var(--ink);
    font-size: 13.5px;
}

.cp-login,
.cp-vrs {
    display: inline-block;
    margin: 8px 14px 0 0;
}

.cp-login a,
.cp-vrs a {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-2);
    font-size: 12.5px;
    transition: border-color .18s ease, color .18s ease;
}

.cp-login a:hover,
.cp-vrs a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.widget-content form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.widget-content form label {
    display: flex;
    flex: 1;
    min-width: 0;
}

.widget-content input[type="text"] {
    flex: 1;
    min-width: 0;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-family: inherit;
    font-size: 13.5px;
}

.widget-content input[type="text"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(47, 95, 224, .1);
}

.widget-content input[type="submit"] {
    padding: 9px 16px;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s ease;
}

.widget-content input[type="submit"]:hover {
    background: var(--accent-dark);
}

.comments {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.comment-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
}

.comment-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
}

.comment-list {
    margin-top: 8px;
}

.comment-empty {
    padding: 28px 0;
    color: var(--muted);
    font-size: 14px;
}

.comment-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 22px 0;
    border-bottom: 1px dashed var(--line);
}

.comment-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--tint);
}

.comment-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.comment-name {
    color: var(--ink);
    font-size: 14.5px;
    font-weight: 600;
}

.comment-meta time {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 11.5px;
}

.comment-reply {
    padding: 0;
    border: 0;
    background: none;
    color: var(--accent);
    font-size: 12px;
}

.comment-reply:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.comment-content {
    margin-top: 6px;
    color: var(--ink-2);
    font-size: 14.5px;
    line-height: 1.85;
    word-break: break-word;
}

.comment-content p {
    margin: 0 0 .7em;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.comment-children {
    margin-top: 18px;
    padding-left: 18px;
    border-left: 2px solid var(--line-soft);
}

.comment-children .comment-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.comment-form {
    margin-top: 36px;
    padding: 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.comment-form-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.comment-form-title {
    font-size: 16px;
    font-weight: 700;
}

.comment-cancel {
    padding: 0;
    border: 0;
    background: none;
    color: var(--accent);
    font-size: 12.5px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.form-field {
    margin-bottom: 16px;
}

.form-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--ink-2);
    font-size: 12.5px;
    font-weight: 600;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--ink);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(47, 95, 224, .11);
}

.verify-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.verify-row input {
    max-width: 160px;
}

.verify-row img {
    width: auto;
    height: 38px;
    border-radius: 6px;
    cursor: pointer;
}

.form-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
}

.form-tip {
    color: var(--muted);
    font-size: 12px;
}

.notfound {
    padding-block: 110px 130px;
    text-align: center;
}

.notfound-code {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: clamp(4.5rem, 14vw, 9rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.06em;
    opacity: .16;
}

.notfound-title {
    margin-top: 8px;
    font-size: clamp(1.6rem, 3.4vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -.02em;
}

.notfound-desc {
    max-width: 46ch;
    margin: 14px auto 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

.notfound-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.site-footer {
    padding-top: 64px;
    background: #101319;
    color: #a7aebd;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 56px;
    padding-bottom: 44px;
}

.brand-mark-lg {
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    border-radius: 15px;
    background: linear-gradient(135deg, #3a6bff, #7f97ff);
    font-size: 19px;
    box-shadow: 0 10px 24px rgba(47, 95, 224, .35);
}

.footer-name {
    color: #fff;
    font-size: 19px;
    font-weight: 700;
}

.footer-tagline {
    max-width: 36ch;
    margin-top: 8px;
    color: #848d9f;
    font-size: 13.5px;
    line-height: 1.85;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.footer-col-title {
    margin-bottom: 14px;
    color: #6e7787;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.footer-col li {
    line-height: 2.1;
}

.footer-col a {
    color: #c2c8d5;
    font-size: 13.5px;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-block: 20px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: #6e7787;
    font-size: 12.5px;
}

.footer-dot {
    margin: 0 8px;
}

.footer-powered a {
    color: #8b94a4;
}

.footer-powered a:hover {
    color: #c2c8d5;
}

.to-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 16px;
    box-shadow: 0 10px 26px rgba(47, 95, 224, .32);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.to-top:hover {
    background: var(--accent-dark);
}

.project-card,
.note-card,
.fact-card,
.contact-card {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .5s ease, transform .5s ease, box-shadow .25s ease, border-color .25s ease;
}

.project-card.is-visible,
.note-card.is-visible,
.fact-card.is-visible,
.contact-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.project-card.is-visible:hover,
.note-card.is-visible:hover,
.contact-card.is-visible:hover {
    transform: translateY(-4px);
}

@media (max-width: 1024px) {
    .hero {
        padding: 64px 0 72px;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .hero-photo {
        width: 260px;
    }

    .photo-mono {
        font-size: 72px;
    }

    .section {
        padding: 64px 0;
    }

    .about-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .single-wrap {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
        padding-block: 40px 80px;
    }

    .single-aside {
        position: static;
    }

    .footer-top {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 64px;
    }

    .wrap {
        padding: 0 20px;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        padding: 12px 20px 18px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 32px rgba(20, 25, 40, .08);
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .site-nav ul li a {
        display: block;
        padding: 11px 14px;
        border-radius: 10px;
        font-size: 15px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .brand-text small {
        display: none;
    }

    .hero {
        padding: 48px 0 56px;
    }

    .hero-name {
        font-size: clamp(2.3rem, 11vw, 3.2rem);
    }

    .hero-tagline {
        font-size: 15.5px;
    }

    .hero-photo {
        width: 220px;
        border-width: 6px;
        outline-offset: 8px;
    }

    .photo-mono {
        font-size: 60px;
    }

    .section {
        padding: 52px 0;
    }

    .section-head {
        gap: 14px;
        margin-bottom: 30px;
    }

    .section-head-main {
        gap: 14px;
    }

    .section-head-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .section-index {
        padding-top: 5px;
    }

    .skill-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }

    .honor-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .note-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .two-col {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .project-card {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .post-nav {
        grid-template-columns: minmax(0, 1fr);
    }

    .post-nav-next {
        text-align: left;
    }

    .post-nav-next .post-nav-label {
        justify-content: flex-start;
    }

    .footer-nav {
        gap: 24px;
    }

    .comment-form {
        padding: 20px;
    }

    .comment-children {
        padding-left: 12px;
    }

    .entry-content {
        font-size: 16px;
    }

    .entry-content table {
        font-size: 13.5px;
    }

    .page-main {
        padding-block: 40px 72px;
    }

    .to-top {
        right: 16px;
        bottom: 16px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-meta {
        gap: 8px 16px;
    }

    .hero-actions .btn {
        flex: 1 1 auto;
    }

    .hero-photo {
        width: 190px;
    }

    .fact-card {
        padding: 20px 20px 12px;
    }

    .fact-row {
        flex-direction: column;
        gap: 2px;
    }

    .fact-row dd {
        text-align: left;
    }

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-nav {
        grid-template-columns: minmax(0, 1fr);
    }

    .search-form {
        flex-direction: column;
    }

    .search-form .btn {
        width: 100%;
    }

    .entry-title {
        font-size: 1.7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }

    .project-card,
    .note-card,
    .fact-card,
    .contact-card {
        opacity: 1;
        transform: none;
    }
}

.note-grid-compact {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    counter-reset: lc;
    border-top: 1px solid var(--line);
}

.note-grid-compact .lc-item {
    counter-increment: lc;
    border-bottom: 1px solid var(--line);
}

.lc-link {
    display: grid;
    grid-template-columns: 34px 96px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px 6px;
    color: inherit;
    text-decoration: none;
    transition: background .18s ease;
}

.lc-link:hover {
    background: rgba(47, 95, 224, .035);
}

.lc-index::before {
    content: counter(lc, decimal-leading-zero);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    opacity: .75;
}

.lc-thumb {
    display: block;
    overflow: hidden;
    width: 96px;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    background: var(--tint);
}

.lc-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.lc-link:hover .lc-thumb img {
    transform: scale(1.06);
}

.lc-thumb i {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #b9c3d9;
    font-size: 22px;
}

.lc-title {
    font-size: 16.5px;
    font-weight: 650;
    line-height: 1.5;
    letter-spacing: -.01em;
    transition: color .18s ease;
}

.lc-link:hover .lc-title {
    color: var(--accent);
}

.lc-intro {
    display: -webkit-box;
    margin-top: 6px;
    overflow: hidden;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.72;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.lc-side {
    display: flex;
    gap: 14px;
    align-items: baseline;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
}

.lc-view::before {
    content: "·";
    margin-right: 10px;
    opacity: .55;
}

.note-grid-simple {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    max-width: 760px;
}

.note-grid-simple .ns-item {
    border-bottom: 1px dashed var(--line);
}

.note-grid-simple .ns-item:last-child {
    border-bottom: 0;
}

.ns-link {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) 18px;
    gap: 18px;
    align-items: baseline;
    padding: 13px 4px;
    color: inherit;
    text-decoration: none;
}

.ns-link:hover {
    background: rgba(47, 95, 224, .03);
}

.ns-date {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--muted);
    white-space: nowrap;
}

.ns-title {
    font-size: 15.5px;
    font-weight: 550;
    line-height: 1.6;
    transition: color .18s ease;
}

.ns-link:hover .ns-title {
    color: var(--accent);
}

.ns-arrow {
    align-self: center;
    color: #b9c3d9;
    font-size: 13px;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .18s ease, transform .18s ease;
}

.ns-link:hover .ns-arrow {
    color: var(--accent);
    opacity: 1;
    transform: translateX(0);
}

.note-grid-feed {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    max-width: 760px;
}

.note-grid-feed .fd-item {
    padding: 26px 4px;
    border-bottom: 1px solid var(--line);
}

.note-grid-feed .fd-item:last-child {
    border-bottom: 0;
}

.fd-title {
    font-size: 19px;
    font-weight: 650;
    line-height: 1.5;
    letter-spacing: -.01em;
}

.fd-title a {
    color: inherit;
    text-decoration: none;
    transition: color .18s ease;
}

.fd-title a:hover {
    color: var(--accent);
}

.fd-intro {
    display: -webkit-box;
    margin-top: 10px;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.fd-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    align-items: baseline;
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--muted);
}

.fd-meta time {
    letter-spacing: .02em;
}

.fd-cate::before {
    content: "·";
    margin-right: 12px;
    opacity: .55;
}

.fd-view {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

.fd-view::before {
    content: "·";
    margin-right: 12px;
    opacity: .55;
}

.fd-view i {
    font-size: 12px;
}

.note-grid-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.ls-card {
    display: flex;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ls-card:hover {
    transform: translateY(-4px);
    border-color: #d3dcf9;
    box-shadow: var(--shadow-md);
}

.ls-link {
    display: flex;
    flex: 1;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.ls-thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: var(--tint);
}

.ls-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.ls-card:hover .ls-thumb img {
    transform: scale(1.05);
}

.ls-thumb i {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #b9c3d9;
    font-size: 40px;
}

.ls-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 24px 26px 22px;
}

.ls-kicker {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .1em;
}

.ls-dot {
    margin: 0 7px;
    opacity: .5;
}

.ls-title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.42;
    letter-spacing: -.015em;
}

.ls-intro {
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.75;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.ls-more {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
}

.ls-more i {
    transition: transform .2s ease;
}

.ls-card:hover .ls-more i {
    transform: translateX(3px);
}

.note-grid-timeline {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

.lt-item {
    position: relative;
    padding: 0 0 28px 118px;
}

.lt-item::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 0;
    left: 88px;
    width: 1px;
    background: var(--line);
}

.lt-item:last-child::before {
    display: none;
}

.lt-item::after {
    content: "";
    position: absolute;
    top: 9px;
    left: 84px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--bg);
}

.lt-when {
    position: absolute;
    top: 0;
    left: 0;
    width: 72px;
    text-align: right;
}

.lt-year {
    display: block;
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}

.lt-date {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 12px;
}

.lt-title {
    font-size: 18px;
    font-weight: 680;
    line-height: 1.45;
    letter-spacing: -.01em;
}

.lt-title a {
    color: inherit;
    text-decoration: none;
    transition: color .18s ease;
}

.lt-title a:hover {
    color: var(--accent);
}

.lt-intro {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.78;
}

.lt-thumb {
    display: block;
    overflow: hidden;
    width: 240px;
    max-width: 100%;
    margin-top: 14px;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    background: var(--tint);
}

.lt-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.lt-thumb:hover img {
    transform: scale(1.05);
}

.lt-thumb i {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #b9c3d9;
    font-size: 28px;
}

.lt-meta {
    margin-top: 10px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: .04em;
}

.lt-sep {
    margin: 0 7px;
    opacity: .55;
}

.note-grid-magazine {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

.lm-item {
    border-bottom: 1px solid var(--line);
}

.lm-item:first-child {
    margin-bottom: 6px;
    padding: 34px 38px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.lm-link {
    display: flex;
    gap: 22px;
    align-items: center;
    padding: 24px 4px;
    color: inherit;
    text-decoration: none;
}

.lm-item:first-child .lm-link {
    display: block;
    padding: 0;
}

.lm-thumb {
    display: block;
    overflow: hidden;
    width: 200px;
    flex: none;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    background: var(--tint);
}

.lm-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.lm-link:hover .lm-thumb img {
    transform: scale(1.05);
}

.lm-thumb i {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #b9c3d9;
    font-size: 26px;
}

.lm-text {
    flex: 1;
    min-width: 0;
}

.lm-item:first-child .lm-thumb {
    width: 100%;
    margin-bottom: 20px;
    aspect-ratio: 21 / 9;
    border-radius: 14px;
}

.lm-item:first-child .lm-thumb i {
    font-size: 52px;
}

.lm-item:first-child .lm-text {
    display: block;
}

.lm-meta {
    display: flex;
    gap: 14px;
    align-items: baseline;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: .06em;
}

.lm-cate {
    color: var(--accent);
}

.lm-title {
    margin-top: 9px;
    font-size: 17px;
    font-weight: 650;
    line-height: 1.5;
    letter-spacing: -.01em;
    transition: color .18s ease;
}

.lm-item:first-child .lm-title {
    margin-top: 12px;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: -.02em;
}

.lm-link:hover .lm-title {
    color: var(--accent);
}

.lm-intro {
    display: -webkit-box;
    margin-top: 8px;
    overflow: hidden;
    max-width: 64ch;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.8;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.lm-item:first-child .lm-intro {
    margin-top: 12px;
    font-size: 14.5px;
    line-height: 1.85;
    -webkit-line-clamp: 3;
}

@media (max-width: 860px) {
    .note-grid-showcase {
        grid-template-columns: minmax(0, 1fr);
    }

    .lc-link {
        grid-template-columns: 30px 76px minmax(0, 1fr);
        gap: 13px;
    }

    .lc-thumb {
        width: 76px;
    }

    .lc-side {
        display: none;
    }

    .ns-link {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 12px;
    }

    .ns-arrow {
        display: none;
    }

    .ns-title {
        font-size: 14.5px;
    }

    .fd-item {
        padding: 20px 2px;
    }

    .fd-title {
        font-size: 17px;
    }

    .fd-intro {
        -webkit-line-clamp: 2;
    }

    .lt-item {
        padding-left: 74px;
    }

    .lt-item::before {
        left: 52px;
    }

    .lt-item::after {
        left: 48px;
    }

    .lt-when {
        width: 42px;
    }

    .lt-year {
        font-size: 13px;
    }

    .lt-thumb {
        width: 100%;
    }

    .lm-link {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .lm-thumb {
        width: 100%;
    }

    .lm-item:first-child {
        padding: 26px 22px;
    }

    .lm-item:first-child .lm-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .note-grid-simple,
    .note-grid-feed {
        max-width: none;
    }

    .ns-link {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 12px;
        padding: 12px 2px;
    }

    .ns-date {
        font-size: 12px;
    }

    .lc-link {
        padding: 14px 4px;
    }

    .ls-body {
        padding: 18px 18px 16px;
    }

    .lt-item {
        padding-left: 66px;
    }

    .lt-item::before {
        left: 46px;
    }

    .lt-item::after {
        left: 42px;
    }

    .lt-when {
        width: 38px;
    }

    .lt-year {
        font-size: 12.5px;
    }

    .lt-date {
        font-size: 11px;
    }
}
