:root {
    --primary-color: #0f766e;
    --primary-dark: #115e59;
    --primary-soft: rgba(15, 118, 110, 0.12);
    --accent-color: #f59e0b;
    --accent-soft: rgba(245, 158, 11, 0.16);
    --dark-bg: #0f172a;
    --body-bg: #f5f7f2;
    --card-bg: rgba(255, 255, 255, 0.88);
    --text-main: #172033;
    --text-muted: #667085;
    --border-color: rgba(15, 23, 42, 0.08);
    --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.08);
    --shadow-card: 0 14px 34px rgba(15, 23, 42, 0.08);
    --radius-lg: 24px;
    --radius-md: 18px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 12% 10%, rgba(245, 158, 11, 0.16), transparent 18%),
        radial-gradient(circle at 88% 14%, rgba(15, 118, 110, 0.18), transparent 22%),
        radial-gradient(circle at 50% 100%, rgba(14, 165, 233, 0.12), transparent 26%),
        linear-gradient(180deg, #f7f5ef 0%, #eef4ee 46%, #edf3f8 100%);
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.26) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.24) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(circle at center, black 24%, transparent 92%);
    opacity: 0.22;
    z-index: 0;
}

.page-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

header {
    background: rgba(248, 250, 247, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.header-container {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 0 24px;
}

.logo-block {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.28);
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo span {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.logo small {
    color: var(--text-muted);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
}

nav {
    display: flex;
    position: relative;
    background: rgba(255, 255, 255, 0.72);
    padding: 4px;
    border-radius: 50px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.nav-indicator {
    position: absolute;
    height: calc(100% - 8px);
    top: 4px;
    left: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 18px rgba(15, 118, 110, 0.24);
    z-index: 0;
}

.nav-btn {
    position: relative;
    z-index: 1;
    background: transparent !important;
    border: none;
    color: #5b6473;
    font-size: 0.95rem;
    padding: 8px 22px;
    cursor: pointer;
    font-weight: 700;
    transition: color 0.3s ease;
    outline: none;
}

.nav-btn.active {
    color: white !important;
}

.nav-btn:hover:not(.active) {
    color: var(--text-main);
}

.hero-section {
    max-width: 1180px;
    margin: 34px auto 0;
    padding: 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    gap: 24px;
    width: 100%;
}

.hero-copy,
.hero-panel {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.hero-copy {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.96), rgba(15, 23, 42, 0.96));
    color: #f8fafc;
    padding: 42px;
}

.hero-copy::after {
    content: "";
    position: absolute;
    inset: auto -80px -90px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.18);
    filter: blur(6px);
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
}

.hero-copy h1 {
    max-width: 14ch;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 1.08;
    margin-bottom: 18px;
}

.hero-copy p {
    max-width: 58ch;
    font-size: 1.04rem;
    color: rgba(248, 250, 252, 0.82);
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    padding: 12px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

.hero-btn.primary {
    background: #fff;
    color: var(--primary-dark);
}

.hero-hint {
    color: rgba(248, 250, 252, 0.74);
}

.hero-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 24px;
    display: grid;
    gap: 16px;
    align-content: center;
}

.hero-stat {
    padding: 18px 20px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.hero-stat strong {
    display: block;
    font-size: 2rem;
    color: var(--primary-dark);
}

.hero-stat span {
    color: var(--text-muted);
}

.main-wrapper {
    flex: 1;
    max-width: 1180px;
    margin: 28px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    padding: 0 24px 48px;
    width: 100%;
}

.content-column {
    min-width: 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 20px;
    padding: 0 4px;
}

.form {
    position: relative;
    max-width: 320px;
    width: 100%;
}

.input {
    width: 100%;
    border: 2px solid transparent;
    border-radius: 50px;
    padding: 12px 48px 12px 40px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.input::placeholder {
    color: var(--text-muted);
}

.form button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form button:first-child {
    left: 8px;
}

.form button[type="reset"] {
    right: 8px;
}

.form button svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.form button:hover svg {
    color: var(--primary-color);
}

.section-label {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    color: var(--primary-color);
    font-weight: 700;
}

.section-heading h2 {
    font-size: 1.8rem;
}

.section-heading p {
    color: var(--text-muted);
    max-width: 28ch;
    text-align: right;
}

#content-area {
    display: grid;
    gap: 18px;
}

.article-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.article-card.preview:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 40px rgba(15, 118, 110, 0.12);
}

.article-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-card.preview:hover::before {
    opacity: 1;
}

.article-title {
    font-size: 1.45rem;
    margin-bottom: 12px;
    transition: color 0.3s;
    line-height: 1.35;
}

.article-card.preview:hover .article-title {
    color: var(--primary-dark);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-weight: 700;
}

.date-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article-excerpt {
    color: #475467;
    font-size: 0.98rem;
}

.read-more {
    margin-top: 18px;
    color: var(--primary-color);
    font-weight: 800;
}

.sidebar {
    display: grid;
    gap: 18px;
    align-content: start;
}

.widget {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.82);
}

.widget h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.widget-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.widget-heading h4 {
    margin-bottom: 0;
}

.profile-card {
    text-align: center;
}

.avatar {
    width: 82px;
    height: 82px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    margin: 0 auto 15px;
    line-height: 82px;
    font-size: 2.2rem;
    font-weight: bold;
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.2);
}

.profile-card p {
    color: var(--text-muted);
}

.social-links {
    margin-top: 16px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0 6px;
    border-radius: 50%;
    background: rgba(15, 118, 110, 0.08);
    text-decoration: none;
}

.social-links i {
    font-size: 1.2rem;
    color: var(--primary-dark);
    transition: all 0.3s;
    cursor: pointer;
}

.social-links a:hover {
    transform: translateY(-2px);
    background: rgba(15, 118, 110, 0.16);
}

.quote-widget p {
    font-size: 1.05rem;
    color: #344054;
}

.daily-fortune-widget {
    background:
        radial-gradient(circle at top, rgba(239, 68, 68, 0.1), transparent 30%),
        linear-gradient(180deg, rgba(255, 252, 251, 0.96), rgba(255, 255, 255, 0.9));
}

.fortune-date {
    color: #475467;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
}

.fortune-banner {
    text-align: center;
    font-size: clamp(2rem, 4.6vw, 3.8rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.14em;
    color: #e84f3c;
    margin: 8px 0 20px;
}

.fortune-columns.compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.fortune-panel {
    min-width: 0;
}

.fortune-panel h5 {
    margin-bottom: 12px;
    font-size: 1.7rem;
    line-height: 1;
}

.fortune-good h5 {
    color: #ef5a43;
}

.fortune-bad h5 {
    color: #2f3a53;
}

.fortune-list.compact {
    display: grid;
    gap: 16px;
}

.fortune-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.05rem;
    line-height: 1.2;
}

.fortune-good .fortune-item strong {
    color: #ef5a43;
}

.fortune-bad .fortune-item strong {
    color: #2f3a53;
}

.fortune-item p {
    color: #475467;
    font-size: 0.95rem;
    line-height: 1.45;
}

.article-detail {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 250, 252, 0.84));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.85);
    overflow: hidden;
}

.main-wrapper.reading-mode {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

.main-wrapper.reading-mode .content-column {
    max-width: 900px;
}

.main-wrapper.reading-mode .sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* 文章页面样式 */
.main-wrapper.article-page {
    grid-template-columns: 1fr;
    gap: 0;
}

.main-wrapper.article-page .content-column {
    max-width: 100%;
}

.article-detail.full-width {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.back-btn {
    display: inline-block;
    margin-bottom: 25px;
    padding: 10px 18px;
    background: #f7faf9;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    color: #344054;
    cursor: pointer;
    transition: 0.2s;
    font-weight: 700;
}

.back-btn:hover {
    background: rgba(15, 118, 110, 0.08);
    transform: translateX(-4px);
}

.detail-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.18;
    margin-bottom: 12px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.detail-tag {
    color: var(--primary-color);
    font-weight: 700;
}

.markdown-body {
    font-size: 1.05rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.markdown-body h2 {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
    margin: 30px 0 15px;
}

.markdown-body h3,
.markdown-body h4 {
    margin: 24px 0 12px;
}

.markdown-body p,
.markdown-body ul,
.markdown-body ol,
.markdown-body blockquote {
    margin-bottom: 16px;
}

.markdown-body pre {
    background: #ffffff;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    position: relative;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.markdown-body pre code {
    font-family: "Consolas", "Monaco", "Courier New", monospace;
    font-size: 0.8rem;
    line-height: 1.3 !important;
    background: transparent;
    padding: 0;
}

.markdown-body code {
    font-family: "Consolas", monospace;
    background: rgba(175, 184, 193, 0.2);
    padding: 0.2em 0.4em;
    border-radius: 4px;
}

/* 语法高亮样式 */
.markdown-body pre code .keyword {
    color: #7c3aed;
    font-weight: 600;
}

.markdown-body pre code .string {
    color: #16a34a;
}

.markdown-body pre code .number {
    color: #ea580c;
}

.markdown-body pre code .comment {
    color: #64748b;
    font-style: italic;
}

.markdown-body pre code .function {
    color: #2563eb;
    font-weight: 600;
}

.markdown-body pre code .operator {
    color: #d97706;
}

/* 代码块复制按钮 */
/* tooltip settings 👇 */
.copy {
  /* button */
  --button-bg: #f8fafc;
  --button-hover-bg: #f1f5f9;
  --button-text-color: #475569;
  --button-hover-text-color: #2563eb;
  --button-border-radius: 10px;
  --button-diameter: 36px;
  --button-outline-width: 1px;
  --button-outline-color: rgb(141, 141, 141);
  /* tooltip */
  --tooltip-bg: #353434;
  --toolptip-border-radius: 4px;
  --tooltip-font-family: Menlo, Roboto Mono, monospace;
  /* 👆 this field should not be empty */
  --tooltip-font-size: 12px;
  /* 👆 this field should not be empty */
  --tootip-text-color: #CCCCCC;
  --tooltip-padding-x: 7px;
  --tooltip-padding-y: 7px;
  --tooltip-offset: 8px;
  /* --tooltip-transition-duration: 0.3s; */
  /* 👆 if you need a transition, 
  just remove the comment, 
  but I didn't like the transition :| */
}

.copy {
  position: absolute;
  top: 8px;
  right: 8px;
  box-sizing: border-box;
  width: var(--button-diameter);
  height: var(--button-diameter);
  border-radius: var(--button-border-radius);
  background-color: var(--button-bg);
  color: var(--button-text-color);
  border: none;
  cursor: pointer;
  outline: none;
}

.tooltip {
  position: absolute;
  opacity: 0;
  visibility: 0;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font: var(--tooltip-font-size) var(--tooltip-font-family);
  color: var(--tootip-text-color);
  background: var(--tooltip-bg);
  padding: var(--tooltip-padding-y) var(--tooltip-padding-x);
  border-radius: var(--toolptip-border-radius);
  pointer-events: none;
  transition: all var(--tooltip-transition-duration) cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.tooltip::before {
  content: attr(data-text-initial);
}

.tooltip::after {
  content: "";
  position: absolute;
  bottom: calc(var(--tooltip-padding-y) / 2 * -1);
  width: var(--tooltip-padding-y);
  height: var(--tooltip-padding-y);
  background: inherit;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  z-index: -999;
  pointer-events: none;
}

.copy svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.checkmark {
  display: none;
}

/* actions */

.copy:hover .tooltip,
.copy:focus:not(:focus-visible) .tooltip {
  opacity: 1;
  visibility: visible;
  top: calc((100% + var(--tooltip-offset)) * -1);
}

.copy:focus:not(:focus-visible) .tooltip::before {
  content: attr(data-text-end);
}

.copy:focus:not(:focus-visible) .clipboard {
  display: none;
}

.copy:focus:not(:focus-visible) .checkmark {
  display: block;
}

.copy:hover,
.copy:focus {
  background-color: var(--button-hover-bg);
}

.copy:active {
  outline: var(--button-outline-width) solid var(--button-outline-color);
}

.copy:hover svg {
  color: var(--button-hover-text-color);
}

.loading {
    display: grid;
    place-items: center;
    min-height: 220px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.72);
    border-radius: var(--radius-lg);
    color: var(--text-muted);
    box-shadow: var(--shadow-card);
}

.article-detail .markdown-body > :first-child {
    margin-top: 0;
}

footer {
    padding: 46px 24px 52px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
    color: #bdc3c7;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

footer strong {
    color: #fff;
}

.beian a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
}

.beian a:hover {
    color: var(--primary-color);
}

#back-to-top {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    place-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    z-index: 9999;
}

#back-to-top:hover {
    transform: translateY(-5px);
}

.jquery-ripples {
    z-index: 0 !important;
}

.ripples-toggle {
    position: fixed;
    right: 22px;
    bottom: 84px;
    z-index: 1100;
    border: 1px solid rgba(15, 23, 42, 0.14);
    background: rgba(255, 255, 255, 0.9);
    color: #1f2937;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.86rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.ripples-toggle:hover {
    background: #ffffff;
}

.ripples-error {
    display: none;
    position: fixed;
    left: 12px;
    bottom: 12px;
    z-index: 1200;
    max-width: min(420px, 78vw);
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(127, 29, 29, 0.92);
    color: #fff;
    font-size: 0.84rem;
}

@media (max-width: 980px) {
    .hero-section,
    .main-wrapper {
        grid-template-columns: 1fr;
    }

    .main-wrapper.reading-mode .sidebar {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .section-heading p {
        text-align: left;
    }
}

@media (max-width: 720px) {
    .header-container {
        flex-direction: column;
        align-items: stretch;
    }

    nav {
        width: 100%;
        justify-content: space-between;
    }

    .nav-btn {
        flex: 1;
        padding: 10px 12px;
    }

    .hero-copy,
    .article-card,
    .article-detail,
    .widget {
        padding: 22px;
    }

    .hero-copy h1 {
        max-width: none;
    }

    .main-wrapper,
    .hero-section,
    .header-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .fortune-columns.compact {
        grid-template-columns: 1fr;
    }

    #back-to-top {
        right: 20px;
        bottom: 20px;
    }

    .ripples-toggle {
        right: 16px;
        bottom: 78px;
    }

    .section-heading {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .section-heading > div {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .form {
        max-width: 100%;
    }

    .section-heading > div:nth-child(2) {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    #list-subtitle {
        text-align: left;
        max-width: none;
    }
}

/* 复制按钮 */
.code-copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 0.75rem;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.code-copy-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.code-copy-btn.copied {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.code-copy-btn svg {
    width: 12px;
    height: 12px;
}

/* 调整highlight.js的代码块样式 */
.markdown-body pre {
    position: relative;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
}

.markdown-body pre code {
    font-family: "Consolas", "Monaco", "Courier New", monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 文章内图片样式 */
.post-content img {
    max-width: 100%;    /* 防止图片超出屏幕 */
    height: auto;
    display: block;
    margin: 20px auto;  /* 居中并留白 */
    border-radius: 12px; /* 圆角，配合你项目的 UI 风格 */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* 轻轻的阴影 */
}

/* 图片下方的描述文字（如果有） */
.post-image-wrapper {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 24px 0;
}

.post-image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}
