/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/.pnpm/next@15.5.15_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/.pnpm/next@15.5.15_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./assets/css/main.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* ====== GitHub Visual Gene System ====== */
:root {
  --gh-bg: #ffffff;
  --gh-bg-subtle: #f6f8fa;
  --gh-fg: #1f2328;
  --gh-fg-muted: #57606a;
  --gh-border: #d0d7de;
  --gh-border-muted: #d8dee4;
  --gh-accent: #0550ae;
  --gh-btn-bg: #f6f8fa;
  --gh-badge-bg: #ddf4ff;
  --gh-success: #1a7f37;
  --gh-progress-bg: #e1e4e8;
  --gh-progress-fill: #2da44e;
  --theme-motion-duration: 500ms;
  --theme-motion-ease: cubic-bezier(0.33, 1, 0.68, 1);
}

[data-theme="dark"] {
  --gh-bg: #0d1117;
  --gh-bg-subtle: #161b22;
  --gh-fg: #e6edf3;
  --gh-fg-muted: #9da7b3;
  --gh-border: #30363d;
  --gh-border-muted: #21262d;
  --gh-accent: #4493f8;
  --gh-btn-bg: #21262d;
  --gh-badge-bg: rgba(56,139,253,0.15);
  --gh-success: #3fb950;
  --gh-progress-bg: #21262d;
  --gh-progress-fill: #238636;
}

body, html {
  background: var(--gh-bg);
  color: var(--gh-fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif;
  font-size: 14px; line-height: 1.5;
  margin: 0; padding: 0;
  /* 备用简单过渡：仅针对基础背景 */
  transition: background-color 0.3s ease;
}
* { box-sizing: border-box; }

/* 极致流畅：圆形波纹扩散方案 (View Transition) */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

/* 扩散动画定义 */
@keyframes theme-reveal {
  from {
    -webkit-clip-path: circle(0% at var(--x) var(--y));
            clip-path: circle(0% at var(--x) var(--y));
  }
  to {
    -webkit-clip-path: circle(125% at var(--x) var(--y));
            clip-path: circle(125% at var(--x) var(--y));
  }
}

::view-transition-new(root) {
  z-index: 999;
  animation: theme-reveal 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

::view-transition-old(root) {
  z-index: 1;
}

/* 移除导致卡顿的大规模子元素过渡 */
html.theme-transition *,
html.theme-transition *:before,
html.theme-transition *:after {
  transition: none !important;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gh-accent);
  outline-offset: 2px;
}
/* ====== MAIN GRID ====== */
.gh-wrapper { min-height: 100vh; }
.gh-main {
  max-width: 1280px; margin: 0 auto; padding: 32px;
  display: grid; grid-template-columns: 260px 1fr; grid-gap: 32px; gap: 32px;
}

/* ====== LEFT: VCARD ====== */
.gh-vcard { position: -webkit-sticky; position: sticky; top: 32px; align-self: start; }
.vcard-avatar-wrap { width: 260px; height: 260px; margin-bottom: 16px; position: relative; }
.vcard-avatar {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--gh-border); transition: transform 0.3s;
}
.vcard-avatar:hover { transform: scale(1.03); }

.user-status-badge {
  position: absolute;
  bottom: 12%;
  left: 100%;
  margin-left: -40px;
  width: 38px;
  height: 38px;
  background-color: var(--gh-bg);
  border: 1px solid var(--gh-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  z-index: 2;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
}
.user-status-badge:hover {
  transform: scale(1.05);
}
.status-emoji {
  font-size: 16px;
  line-height: 1;
}

.vcard-names { margin-bottom: 12px; }
.vcard-fullname { font-size: 24px; font-weight: 600; margin: 0; line-height: 1.25; }
.vcard-username { font-size: 20px; font-weight: 300; color: var(--gh-fg-muted); margin: 0; }

.vcard-bio { font-size: 16px; color: var(--gh-fg); margin: 0 0 16px 0; }

.vcard-details { list-style: none; padding: 0; margin: 0 0 16px 0; }
.vcard-details li { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 14px; color: var(--gh-fg); }
.d-icon { font-size: 16px; color: var(--gh-fg-muted); flex-shrink: 0; }

.gh-link { color: var(--gh-accent); text-decoration: none; }
.gh-link:hover { text-decoration: underline; }

/* ====== RIGHT: CONTENT ====== */
.gh-content { min-width: 0; display: flex; flex-direction: column; }

.gh-nav {
  display: flex; 
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--gh-border);
  margin-bottom: 16px;
}
.nav-tab-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-actions {
  display: none;
  align-items: center;
  padding-bottom: 6px; /* 匹配 .nav-item 的下内边距 */
}

.vcard-theme-wrap {
  display: none;
}

@media (min-width: 769px) {
  .nav-actions {
    display: flex;
  }
}
.nav-item {
  display: flex; align-items: center; gap: 8px; padding: 6px 12px;
  font-size: 14px; color: var(--gh-fg); cursor: pointer; text-decoration: none;
  position: relative; line-height: 20px; white-space: nowrap;
  transition: color 0.15s;
}
.nav-item::after {
  content: "";
  position: absolute;
  bottom: -1px; /* 贴合底部边框 */
  left: 0;
  right: 0;
  height: 2px;
  background-color: transparent;
  transition: background-color 0.2s;
}
.nav-item:hover { color: var(--gh-fg); }
.nav-item:hover::after { background-color: var(--gh-border-muted); }
.nav-item.active { font-weight: 600; }
.nav-item.active::after { background-color: #fd8c73; }
.nav-ic { font-size: 16px; color: var(--gh-fg-muted); }
.nav-item.active .nav-ic { color: var(--gh-fg); }
.badge {
  background: var(--gh-badge-bg); font-size: 12px; padding: 0 6px;
  border-radius: 2em; font-weight: 500; line-height: 18px;
}

/* ====== CARD SYSTEM ====== */
.gh-card {
  border: 1px solid var(--gh-border); border-radius: 6px;
  margin-bottom: 16px; background: var(--gh-bg);
}
.card-header {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-bottom: 1px solid var(--gh-border-muted);
  background: var(--gh-bg-subtle); border-radius: 6px 6px 0 0;
}
.card-h-icon { font-size: 16px; color: var(--gh-fg-muted); }
.card-h-title {
  font-size: 14px; font-weight: 600;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}
.card-body { padding: 16px; }

/* ====== README Markdown ====== */
.readme-card .card-body { padding: 24px 32px; }
.markdown h2 { font-size: 1.5em; font-weight: 600; border-bottom: 1px solid var(--gh-border-muted); padding-bottom: 8px; margin: 0 0 16px; }
.markdown p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; }
.markdown blockquote {
  border-left: 4px solid var(--gh-border-muted); padding: 4px 1em; margin: 0 0 16px;
  color: var(--gh-fg-muted);
}
.flat-tw { background: transparent !important; box-shadow: none !important; border: none !important; padding: 0 !important; margin: 0; }
.flat-tw * { font-size: 16px !important; font-style: italic; }

/* ====== Entropy / Timeline Override ====== */
.flat-timeline.card,
.flat-timeline {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.flat-timeline h3 { display: none; }
.flat-timeline .time-progress { padding: 0; }
.flat-timeline .progress-item { margin-bottom: 14px; }
.flat-timeline .progress-item:last-child { margin-bottom: 0; }
.flat-timeline .progress-item p {
  font-size: 13px; color: var(--gh-fg-muted); margin: 0 0 6px;
  display: flex; align-items: center; justify-content: space-between;
}
.flat-timeline .progress-bar {
  background: var(--gh-progress-bg) !important;
  border-radius: 6px !important;
  height: 8px !important;
  overflow: hidden;
  border: none !important;
  box-shadow: none !important;
}
.flat-timeline .progress-fill {
  background: var(--gh-progress-fill) !important;
  border-radius: 6px !important;
  height: 100% !important;
  transition: width 1s ease;
}

/* ====== Tech Lang Bar (GitHub clone) ====== */
.gh-lang-bar {
  display: flex;
  height: 8px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 12px;
}
.gh-lang-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.gh-lang-list li {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--gh-fg);
}
.lang-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}
.lang-name {
  color: var(--gh-fg);
  text-decoration: none;
  transition: color 0.2s;
}
.lang-name:hover {
  color: var(--gh-accent);
}

.gh-topic {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 24px;
  color: var(--gh-accent);
  background-color: var(--gh-badge-bg);
  border-radius: 2em;
  text-decoration: none;
  cursor: default;
  transition: all 0.2s ease;
}
.gh-topic:hover {
  background-color: var(--gh-accent);
  color: #ffffff;
}

/* ====== Milestones & Tasks ====== */
.milestone-progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.progress-bar-bg {
  height: 8px;
  background-color: var(--gh-progress-bg);
  border-radius: 6px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background-color: var(--gh-success);
  transition: width 0.5s ease;
}
.progress-stats {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--gh-fg-muted);
  font-weight: 500;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.stat-item .done {
  color: #8250df;
}
.align-center {
  align-items: center !important;
}

/* ====== Issue UI (Global use) ====== */
.gh-issue-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gh-border);
  border-radius: 6px;
  overflow: hidden;
}
.gh-issue-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  text-decoration: none;
  border-bottom: 1px solid var(--gh-border-muted);
  background: var(--gh-bg);
  transition: background-color 0.15s;
}
.gh-issue-item:last-child {
  border-bottom: none;
}
.gh-issue-item:hover {
  background-color: var(--gh-bg-subtle);
}
.issue-icon-wrap {
  flex-shrink: 0;
  margin-top: 2px;
}
.issue-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.issue-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--gh-fg);
  line-height: 1.3;
}
.issue-title:hover {
  color: var(--gh-accent);
}

/* ====== Footer ====== */
/* ====== Footer 极致排版优化 ====== */
.gh-footer {
  margin-top: 8px;
  padding: 12px 0 24px;
  text-align: center;
  color: var(--gh-fg-muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif;
  opacity: 0.8;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
}

.footer-copyright {
  font-weight: 600;
  color: var(--gh-fg);
}

.footer-divider {
  color: var(--gh-border);
  font-weight: 200;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.footer-uptime {
  font-size: 12px;
  letter-spacing: 0.02em;
}

.uptime-num {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-weight: 600;
  color: var(--gh-accent);
  margin: 0 1px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 12px;
}

.footer-dot {
  color: var(--gh-border);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.footer-link {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-link:hover {
  color: var(--gh-accent);
  text-decoration: underline;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1012px) {
  .gh-main { grid-template-columns: 256px 1fr; padding: 24px; }
  .vcard-avatar-wrap { width: 256px; height: 256px; }
}

@media (max-width: 768px) {
  .gh-main { grid-template-columns: 1fr; padding: 12px; gap: 16px; }

  /* Vcard: 卡片化容器 */
  .gh-vcard {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 16px 4px; /* 侧边缩减间距 */
    background: transparent;
    border: none;
    border-radius: 0;
  }

  /* 头像行：垂直对齐优化 */
  .vcard-header-mobile { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    width: 100%;
  }
  .vcard-avatar-wrap { 
    width: 72px; height: 72px; 
    margin-bottom: 0; flex-shrink: 0; 
    position: relative; 
    overflow: visible; 
  }
  .user-status-badge {
    position: absolute;
    left: auto; /* 非常重要：重置桌面端的 left: 100% */
    bottom: -2px;
    right: -2px;
    width: 22px;
    height: 22px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.12);
    border: 2px solid var(--gh-bg); 
    border-radius: 50%;
  }
  .status-emoji { font-size: 10px; }
  .vcard-names { flex: 1 1; min-width: 0; margin-bottom: 0; } /* 保护性填充 */
  .vcard-fullname { font-size: 20px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .vcard-username { font-size: 15px; opacity: 0.8; }

  /* 主题切换按钮：移动端布局占位 */
  .vcard-theme-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }

  /* 信息内容区块：结构化垂直对齐 */
  .vcard-info-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
  }

  /* Bio 优化 */
  .vcard-bio { font-size: 13px; margin: 0; line-height: 1.5; color: var(--gh-fg-muted); }

  /* 详情列表优化 */
  .vcard-details { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; }
  .vcard-details li { font-size: 12px; padding: 0; }
  .d-icon { font-size: 14px; }

  /* 社交：移动端仅显示图标 */
  .socials-divider { display: none; }
  .vcard-socials-wrapper { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--gh-border-muted); }
  .vcard-socials-wrapper h3 { display: none; }
  .vcard-socials { flex-direction: row !important; flex-wrap: wrap; gap: 12px 16px !important; }

  /* Nav: 横向滚动 */
  .gh-nav {
    overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; gap: 0;
  }
  .nav-item { padding: 8px 12px; font-size: 13px; gap: 6px; }

  /* Cards */
  .readme-card .card-body { padding: 16px; }
  .card-body { padding: 12px; }
  .card-header { padding: 8px 12px; }

  /* Footer 极致压缩 */
  .gh-footer { 
    margin-top: 4px;
    padding: 8px 12px 16px; 
    font-size: 11px;
    line-height: 1.4;
  }
  .footer-beian { 
    display: flex; 
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 8px; 
    margin-top: 4px;
  }
  .footer-separator { display: none; } /* 移动端靠 gap 区分，隐藏点分隔符 */

  /* 移动端恢复侧边栏主题按钮 */
  .vcard-theme-wrap {
    display: block;
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.theme-transition :where(
    body,
    .gh-wrapper,
    .gh-main,
    .gh-vcard,
    .gh-content,
    .gh-nav,
    .nav-item,
    .gh-card,
    .card-header,
    .badge,
    .gh-topic,
    .gh-issue-list,
    .gh-issue-item,
    .user-status-badge,
    .vcard-avatar,
    .progress-bar-bg,
    .progress-bar-fill,
    .flat-timeline .progress-bar,
    .flat-timeline .progress-fill,
    .gh-link,
    .lang-name,
    .gh-footer
  ),
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ====== Scrollbar ====== */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--gh-border) transparent;
}

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gh-border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gh-fg-muted); }

.gh-nav::-webkit-scrollbar,
.hot-list::-webkit-scrollbar {
  display: none;
}
.gh-nav,
.hot-list {
  scrollbar-width: none;
}

/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/.pnpm/next@15.5.15_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/.pnpm/next@15.5.15_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./assets/css/react-data.css ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.article-feed-header {
  justify-content: space-between;
}

.article-feed-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-refresh-btn {
  background: transparent;
  border: none;
  border-radius: 4px;
  color: var(--gh-fg-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background-color 0.2s;
}

.article-refresh-btn:hover {
  color: var(--gh-fg);
  background-color: var(--gh-bg-subtle);
}

.article-refresh-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.article-feed-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-feed-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.article-feed-intro,
.article-feed-updated {
  margin: 0;
  color: var(--gh-fg-muted);
  font-size: 13px;
}

.article-feed-intro a {
  color: var(--gh-accent);
  text-decoration: none;
}

.article-feed-intro a:hover {
  text-decoration: underline;
}

.article-state {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gh-fg-muted);
  font-size: 14px;
}

.article-state.error {
  color: #cf222e;
}

.spinner {
  animation: spin 1s linear infinite;
  font-size: 18px;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.issue-icon {
  color: var(--gh-success);
  font-size: 16px;
}

.issue-meta {
  font-size: 12px;
  color: var(--gh-fg-muted);
  line-height: 1.4;
}

.anime-refresh-btn {
  background: transparent;
  border: none;
  border-radius: 4px;
  color: var(--gh-fg-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background-color 0.2s;
}

.anime-refresh-btn:hover {
  color: var(--gh-fg);
  background-color: var(--gh-bg-subtle);
}

.anime-refresh-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.anime-body {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.anime-status {
  padding: 40px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gh-fg-muted);
  font-size: 14px;
  min-height: 120px;
}

.anime-status.error {
  color: #cf222e;
}

.anime-list {
  display: flex;
  flex-direction: column;
}

.repo-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--gh-border-muted);
}

.repo-row:last-child {
  border-bottom: none;
}

.repo-main {
  flex: 1 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.repo-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  word-break: break-word;
}

.repo-link {
  color: var(--gh-fg);
  text-decoration: none;
  transition: color 0.15s;
}

.repo-link:hover {
  color: var(--gh-accent);
}

.repo-link-fallback {
  color: var(--gh-fg);
}

.repo-desc {
  margin: 0 0 10px;
  color: var(--gh-fg-muted);
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.repo-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--gh-fg-muted);
}

.repo-language-color {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--gh-border-muted);
  flex-shrink: 0;
}

.repo-language-color.is-completed {
  background-color: #8250df;
}

.repo-language-color.is-updating {
  background-color: #2da44e;
}

.meta-icon {
  font-size: 14px;
}

.repo-side {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.repo-cover-link {
  display: block;
  width: 60px;
  height: 80px;
  border-radius: 6px;
  border: 1px solid var(--gh-border-muted);
  overflow: hidden;
  background: var(--gh-bg-subtle);
}

.repo-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.repo-cover-link:hover .repo-cover {
  transform: scale(1.05);
}

.hot-dashboard {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.platform-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--gh-fg-muted);
  background: var(--gh-bg-subtle);
  border: 1px solid transparent;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
}

.platform-pill:hover {
  background: var(--gh-border-muted);
  color: var(--gh-fg);
}

.platform-pill.active {
  font-weight: 600;
}

.pill-icon {
  font-size: 15px;
}

.hot-main-card {
  padding: 24px;
}

.hot-card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  border-bottom: 1px solid var(--gh-border-muted);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.header-top {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.platform-icon {
  font-size: 32px;
}

.platform-titles {
  display: flex;
  flex-direction: column;
}

.platform-name {
  font-size: 16px;
  font-weight: bold;
  color: var(--gh-fg);
}

.platform-tag {
  font-size: 12px;
  color: var(--gh-fg-muted);
}

.header-right {
  font-size: 12px;
  color: var(--gh-fg-muted);
}

.hot-card-body {
  height: 560px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.hot-list {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-right: 8px;
}

.hot-item-link {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--gh-border-muted);
  text-decoration: none;
  transition: background-color 0.2s;
  color: inherit;
}

.hot-item-link:hover {
  background-color: var(--gh-bg-subtle);
  border-radius: 6px;
  padding: 16px 8px;
  margin: 0 -8px;
}

.hot-item-link:last-child {
  border-bottom: none;
}

.rank-badge {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gh-bg-subtle);
  color: var(--gh-fg-muted);
  font-size: 13px;
  font-weight: bold;
  border-radius: 6px;
  margin-top: 2px;
}

.rank-1 {
  background-color: #ef4444;
  color: #fff;
}

.rank-2 {
  background-color: #f97316;
  color: #fff;
}

.rank-3 {
  background-color: #eab308;
  color: #fff;
}

.item-content {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

.item-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--gh-fg);
  line-height: 1.4;
}

.item-desc {
  font-size: 13px;
  color: var(--gh-fg-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--gh-fg-muted);
}

.status-box {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gh-fg-muted);
}

.error-box {
  color: #cf222e;
}

.retry-btn {
  margin-top: 12px;
  padding: 6px 16px;
  border: 1px solid var(--gh-border);
  border-radius: 4px;
  background: var(--gh-bg);
  color: var(--gh-fg);
  cursor: pointer;
}

@media (max-width: 768px) {
  .article-feed-body {
    gap: 12px;
  }

  .repo-row {
    padding: 12px;
  }

  .repo-title {
    font-size: 16px;
  }

  .repo-cover-link {
    width: 48px;
    height: 64px;
  }

  .header-top {
    flex-wrap: wrap;
    gap: 8px;
  }

  .platform-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .platform-pills::-webkit-scrollbar {
    display: none;
  }

  .platform-pill {
    flex-shrink: 0;
    padding: 5px 12px;
    font-size: 12px;
  }

  .hot-main-card {
    padding: 12px;
  }

  .hot-card-header {
    gap: 14px;
    padding-bottom: 12px;
    margin-bottom: 12px;
  }

  .platform-icon {
    font-size: 24px;
  }

  .platform-name {
    font-size: 14px;
  }

  .hot-card-body {
    height: 65vh;
    min-height: 400px;
  }

  .hot-item-link {
    padding: 12px 0;
    gap: 12px;
  }

  .item-title {
    font-size: 14px;
  }

  .item-desc {
    font-size: 12px;
    -webkit-line-clamp: 1;
    line-clamp: 1;
  }
}

@media (max-width: 720px) {
  .repo-row {
    padding: 12px;
  }
}

/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/.pnpm/next@15.5.15_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/.pnpm/next@15.5.15_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./assets/css/react-ui.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* ====== THEME TOGGLE (Premium Overhaul) ====== */
.theme-btn {
  --btn-size: 38px;
  --icon-size: 20px;
  --transition-main: 450ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-bounce: 550ms cubic-bezier(0.34, 1.56, 0.64, 1);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--btn-size);
  height: var(--btn-size);
  padding: 0;
  border: 1px solid var(--gh-border);
  border-radius: 50%;
  background: var(--gh-bg);
  color: var(--gh-fg-muted);
  cursor: pointer;
  position: relative;
  overflow: visible;
  isolation: isolate;
  transition: 
    background-color var(--transition-main),
    border-color var(--transition-main),
    color var(--transition-main),
    transform 150ms ease,
    box-shadow var(--transition-main);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.theme-btn-bg {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(0,0,0,0.05));
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-main);
}

.theme-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px color-mix(in srgb, var(--gh-accent) 15%, transparent);
}

.theme-btn:active {
  transform: translateY(0) scale(0.92);
}

/* ---- icon stack ---- */
.theme-icon-stack {
  position: relative;
  width: var(--icon-size);
  height: var(--icon-size);
  z-index: 2;
}

.theme-icon {
  position: absolute;
  inset: 0;
  margin: auto;
  font-size: var(--icon-size);
  color: currentColor;
  transition: 
    transform var(--transition-bounce),
    opacity var(--transition-main),
    filter var(--transition-main);
}

.theme-icon-sun {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  filter: drop-shadow(0 0 0px transparent);
}

.theme-icon-moon {
  opacity: 0;
  transform: scale(0.3) rotate(-90deg);
}

/* ---- dark mode state ---- */
[data-theme='dark'] .theme-btn {
  background: rgba(22, 27, 34, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(48, 54, 61, 0.8);
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

[data-theme='dark'] .theme-btn:hover {
  box-shadow: 0 6px 16px rgba(240, 140, 122, 0.2);
}

[data-theme='dark'] .theme-icon-sun {
  opacity: 0;
  transform: scale(0.3) rotate(90deg);
}

[data-theme='dark'] .theme-icon-moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  filter: drop-shadow(0 0 5px rgba(240, 140, 122, 0.3));
}

/* ---- glow effect ---- */
.theme-btn-glow {
  position: absolute;
  inset: -4px;
  background: radial-gradient(circle, var(--gh-accent) 0%, transparent 70%);
  opacity: 0;
  z-index: -2;
  transition: opacity var(--transition-main);
  filter: blur(8px);
}

[data-theme='dark'] .theme-btn-glow {
  background: radial-gradient(circle, #f08c7a 0%, transparent 70%);
}

.theme-btn:hover .theme-btn-glow {
  opacity: 0.15;
}

/* ---- responsive positioning ---- */
@media (min-width: 769px) {
  .vcard-theme-wrap {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 10;
  }
}

@media (max-width: 768px) {
  .vcard-theme-wrap {
    margin-left: auto;
  }
  .theme-btn {
    --btn-size: 36px;
    --icon-size: 18px;
    border-radius: 10px; /* 移动端保持圆角矩形更符合点击习惯 */
  }
}

/* ---- transition optimization ---- */
.theme-transition * {
  transition-duration: 500ms !important;
}

@media (prefers-reduced-motion: reduce) {
  .theme-btn, .theme-icon {
    transition: none !important;
  }
}


.profile-divider {
  height: 1px;
  background: var(--gh-border-muted);
  margin: 16px 0;
}

.social-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--gh-fg);
}

.social-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.social-icon {
  font-size: 18px;
}

.nav-button {
  background: transparent;
  border: none;
  font: inherit;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.nav-button.active {
  border-bottom-color: #fd8c73;
}

.nav-button:hover:not(.active) {
  border-bottom-color: var(--gh-border-muted);
}

.nav-button:focus-visible {
  outline: 2px solid var(--gh-accent);
  outline-offset: -2px;
}

.gh-tab-panels {
  position: relative;
}

.gh-tab-panel {
  width: 100%;
}

.gh-tab-panel.is-active {
  position: relative;
  z-index: 1;
  padding-bottom: 4px;
}

.gh-tab-panel.is-inactive {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-wave {
  font-size: 1em;
}

.section-heading {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gh-fg);
  text-transform: uppercase;
}

.section-block {
  margin-bottom: 24px;
}

.topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-icon {
  font-size: 14px;
}

.focus-summary {
  padding: 24px;
  border-bottom: 1px solid var(--gh-border-muted);
}

.focus-issues {
  border: none;
  border-radius: 0;
}

.focus-status-icon {
  font-size: 18px;
  color: var(--gh-success);
}

.focus-status-icon.is-completed {
  color: #8250df;
}

.focus-task-title {
  font-size: 14px;
  font-weight: 500;
}

.focus-task-title.is-completed {
  color: var(--gh-fg-muted);
  text-decoration: line-through;
  font-weight: 400;
}

.focus-issue-meta {
  margin-top: 6px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--gh-fg-muted);
}

.issue-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.issue-meta-item.is-completed {
  color: #8250df;
}

.issue-meta-item.is-struck {
  text-decoration: line-through;
  opacity: 0.6;
}

.footer-beian {
  margin-top: 6px;
  font-size: 0.9em;
  opacity: 0.8;
}

.footer-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-link:hover {
  color: var(--gh-accent);
  opacity: 1;
  text-decoration: underline;
}

.footer-separator {
  margin: 0 8px;
}

.typew {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 16px;
  color: var(--gh-fg-muted);
}

.typewriter-text {
  display: inline-flex;
  align-items: center;
}

.cursor {
  display: inline-block;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}

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

  51%,
  100% {
    opacity: 0;
  }
}

.moments-card {
  overflow: hidden;
}

.moments-body {
  padding: 18px;
}

.moments-intro {
  margin: 0 0 16px;
  color: var(--gh-fg-muted);
  font-size: 13px;
}

.gh-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gh-timeline-item {
  display: flex;
  gap: 16px;
  position: relative;
}

.gh-timeline-item::before {
  content: "";
  position: absolute;
  top: 44px;
  bottom: -24px;
  left: 19.5px;
  width: 2px;
  background-color: var(--gh-border-muted);
  z-index: 0;
}

.gh-timeline-item:last-child::before {
  display: none;
}

.gh-timeline-avatar {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.gh-timeline-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gh-border-muted);
  background: var(--gh-bg);
}

.gh-comment-bubble {
  flex: 1 1;
  min-width: 0;
  border: 1px solid var(--gh-border);
  border-radius: 6px;
  background-color: var(--gh-bg);
}

.bubble-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 16px;
  background-color: var(--gh-bg-subtle);
  border-bottom: 1px solid var(--gh-border);
  border-radius: 6px 6px 0 0;
  font-size: 13px;
  color: var(--gh-fg-muted);
}

.bubble-nick {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: var(--gh-fg);
  font-size: 14px;
}

.verified {
  color: var(--gh-accent);
  font-size: 15px;
}

.bubble-action {
  color: var(--gh-fg-muted);
}

.bubble-date {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

.talk-serial {
  margin-left: auto;
  color: var(--gh-fg-muted);
  font-size: 11px;
  opacity: 0.7;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

.bubble-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.talk-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--gh-fg);
}

.text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--gh-fg);
  white-space: pre-wrap;
}

.text a[href] {
  margin: -0.1em -0.15em;
  padding: 0.1em 0.15em;
  border-radius: 0.3em;
  background: linear-gradient(
      color-mix(in srgb, var(--gh-accent) 14%, transparent),
      color-mix(in srgb, var(--gh-accent) 14%, transparent)
    )
    no-repeat center bottom / 100% 0.12em;
  color: var(--gh-accent);
  text-decoration: none;
  transition: background-size 0.2s ease;
}

.text a[href]:hover {
  background-size: 100% 100%;
}

.images {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
}

.image {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--gh-border);
  background: var(--gh-bg-subtle);
  aspect-ratio: 1 / 1;
}

.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.image:hover img {
  transform: scale(1.05);
}

.talk-video {
  margin-top: 2px;
}

.talk-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag,
.location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--gh-bg);
  border: 1px solid var(--gh-border);
  color: var(--gh-fg-muted);
  font-size: 12px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.location {
  color: var(--gh-accent);
}

.location:hover,
.tag:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.moments-empty {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gh-fg-muted);
  font-size: 14px;
}

.talk-footer {
  margin-top: 18px;
  text-align: center;
  color: var(--gh-fg-muted);
  font-size: 12px;
}

.video-embed {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--gh-border);
  background: var(--gh-bg-subtle);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--gh-fg) 8%, transparent);
}

.video-element {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .profile-divider {
    display: none;
  }

  .social-title {
    display: none;
  }

  .social-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .social-link span {
    display: none;
  }

  .social-icon {
    font-size: 20px;
  }

  /* 技术标签：更紧凑 */
  .gh-topic {
    font-size: 11px;
    padding: 0 8px;
    line-height: 22px;
  }

  /* 追番/文章：Meta 信息流式布局 */
  .issue-content { gap: 4px; }
  .issue-meta-item { font-size: 11px; gap: 3px; }
  .issue-title { font-size: 14px; }


  .moments-body {
    padding: 12px;
  }

  .gh-timeline-item {
    gap: 12px;
  }

  .gh-timeline-item::before {
    left: 17.5px;
    top: 36px;
  }

  .gh-timeline-avatar img {
    width: 36px;
    height: 36px;
  }

  .bubble-header {
    padding: 8px 12px;
  }

  .bubble-body {
    padding: 12px;
  }

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

  .talk-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

