:root {
  --text: #222426;
  --muted: #5b636a;
  --line: rgba(255, 255, 255, 0.7);
  --glass: rgba(255, 255, 255, 0.42);
  --glass-strong: rgba(255, 255, 255, 0.58);
  --shadow: 0 10px 30px rgba(98, 108, 118, 0.18);
  --radius-lg: 20px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Noto Sans SC", sans-serif;
  color: var(--text);
  background-image:
    linear-gradient(135deg, rgba(243, 246, 248, 0.5), rgba(226, 232, 236, 0.58)),
    url("../../bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.bg-blur {
  position: fixed;
  border-radius: 50%;
  filter: blur(64px);
  z-index: -1;
}

.bg-blur-1 {
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.42);
  top: 10vh;
  left: 6vw;
}

.bg-blur-2 {
  width: 340px;
  height: 340px;
  background: rgba(196, 210, 222, 0.4);
  right: 8vw;
  top: 35vh;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
}

.nav-wrap {
  position: sticky;
  top: 12px;
  z-index: 10;
  margin: 14px auto 6px;
  width: min(1120px, 94vw);
  border-radius: 999px;
  background: rgba(229, 236, 243, 0.74);
  border: 1px solid rgba(191, 203, 214, 0.92);
  box-shadow:
    0 14px 28px rgba(42, 51, 59, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 30px;
}

.brand {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

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

.nav-links a {
  color: #2a3138;
  font-weight: 500;
}

.hero {
  margin-top: 24px;
  padding: 30px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 22px;
}

.avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.75);
  object-fit: cover;
}

.hero h1,
.section h2,
.card h3 {
  margin: 0 0 10px;
}

.hero-title {
  margin: 0 0 8px;
}

.hero-tagline {
  margin-top: 12px;
  padding: 8px 12px;
  width: fit-content;
  background: rgba(231, 238, 244, 0.56);
  border: 1px solid rgba(206, 214, 222, 0.8);
  border-radius: 999px;
  font-size: 0.92rem;
  color: #29323b;
}

.muted {
  color: var(--muted);
  line-height: 1.65;
}

.section {
  margin-top: 18px;
  padding: 24px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.card {
  background: rgba(232, 238, 244, 0.62);
  border: 1px solid rgba(206, 214, 222, 0.8);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(38, 43, 49, 0.22);
}

.highlight-card h3 {
  font-size: 1.06rem;
}

.post-meta {
  font-size: 0.9rem;
  color: var(--muted);
}

.pin-badge {
  display: inline-block;
  padding: 2px 8px;
  margin-right: 6px;
  border-radius: 999px;
  border: 1px solid rgba(180, 140, 70, 0.45);
  background: rgba(250, 224, 165, 0.42);
  color: #7f5b19;
  font-size: 0.75rem;
  line-height: 1.2;
  vertical-align: middle;
}

.footer {
  margin: 30px auto;
  padding-bottom: 24px;
  text-align: center;
  color: #3f4850;
}

.page-layout {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.sidebar {
  position: static;
  display: grid;
  gap: 14px;
}

.profile-card {
  padding: 20px;
}

.profile-card .avatar {
  width: 106px;
  height: 106px;
  margin-bottom: 12px;
}

.profile-card h1 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.profile-name {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.profile-name .en-name {
  font-size: 0.62em;
  font-weight: 500;
  color: #4d5863;
}

.social-list {
  display: grid;
  gap: 8px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(188, 199, 210, 0.78);
  background: rgba(236, 242, 247, 0.64);
}

.social-icon {
  width: 16px;
  height: 16px;
}

.posts-column {
  display: grid;
  gap: 14px;
}

.post-card {
  padding: 18px 20px;
}

.post-card h2 {
  margin: 4px 0 10px;
  font-size: 1.22rem;
}

.post-card p {
  margin: 0;
  line-height: 1.72;
}

.post-title-link {
  color: inherit;
}

.post-title-link:hover {
  text-decoration: underline;
}

.post-excerpt {
  color: var(--muted);
  margin-top: 8px;
}

.post-link {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(187, 198, 208, 0.9);
  background: rgba(236, 242, 247, 0.78);
  font-size: 0.92rem;
}

.detail-card p + p {
  margin-top: 10px;
}

.post-card-link {
  display: block;
  color: inherit;
}

.post-card-link:focus-visible {
  outline: 2px solid rgba(125, 156, 184, 0.75);
  outline-offset: 2px;
  border-radius: var(--radius-md);
}

.detail-card .post-link {
  position: static;
  transform: none;
}

.list-toolbar {
  padding: 14px;
}

.toolbar-grid {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 10px;
  margin-bottom: 10px;
}

.search-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(206, 214, 222, 0.8);
  border-radius: var(--radius-md);
  font-family: "Noto Sans SC", sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.6);
}

.search-input::placeholder {
  color: #8a959e;
}

.custom-select {
  position: relative;
}

.custom-select-trigger {
  width: 100%;
  min-height: 42px;
  padding: 10px 36px 10px 14px;
  border: 1px solid rgba(206, 214, 222, 0.8);
  border-radius: var(--radius-md);
  font-family: "Noto Sans SC", sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.6);
  text-align: left;
  cursor: pointer;
  position: relative;
}

.custom-select-trigger::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #4b5661;
  border-bottom: 2px solid #4b5661;
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.2s ease;
}

.custom-select.open .custom-select-trigger::after {
  transform: translateY(-40%) rotate(-135deg);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  display: none;
  z-index: 20;
  border: 1px solid rgba(191, 203, 214, 0.92);
  border-radius: var(--radius-md);
  background: rgba(236, 242, 247, 0.95);
  box-shadow: 0 10px 22px rgba(42, 51, 59, 0.18);
  backdrop-filter: blur(10px);
  padding: 4px;
  overflow: hidden;
  max-height: 220px;
  overflow-y: auto;
}

.custom-select.open .custom-select-menu {
  display: block;
}

.custom-select-option {
  display: block;
  width: 100%;
  padding: 8px 12px;
  margin: 0;
  border: 0;
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  color: #2f3d4b;
  text-align: left;
  cursor: pointer;
  font: inherit;
  line-height: 1.35;
}

.custom-select-option + .custom-select-option {
  margin-top: 2px;
}

.custom-select-menu::-webkit-scrollbar {
  width: 8px;
}

.custom-select-menu::-webkit-scrollbar-thumb {
  background: rgba(122, 138, 153, 0.55);
  border-radius: 999px;
}

.custom-select-menu::-webkit-scrollbar-track {
  background: transparent;
}

.custom-select-option:hover {
  background: rgba(60, 100, 140, 0.12);
}

.custom-select-option.active {
  background: rgba(60, 100, 140, 0.2);
  color: #1a2d3d;
}

.tag-row,
.tag-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row {
  margin-top: 10px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(188, 199, 210, 0.78);
  background: rgba(236, 242, 247, 0.64);
  color: #394550;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  line-height: 1.3;
}

button.tag-pill {
  cursor: pointer;
}

.tag-pill.active {
  background: rgba(60, 100, 140, 0.2);
  border-color: rgba(60, 100, 140, 0.5);
  color: #1a2d3d;
}

@keyframes fadeUpIn {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.nav-wrap {
  animation: fadeUpIn 0.62s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: 0.05s;
}

.sidebar .card {
  animation: fadeUpIn 0.62s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.sidebar .card:nth-child(1) {
  animation-delay: 0.16s;
}

.sidebar .card:nth-child(2) {
  animation-delay: 0.26s;
}

.posts-column .post-card-link {
  animation: fadeUpIn 0.62s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.posts-column .post-card-link:nth-child(1) { animation-delay: 0.22s; }
.posts-column .post-card-link:nth-child(2) { animation-delay: 0.3s; }
.posts-column .post-card-link:nth-child(3) { animation-delay: 0.38s; }
.posts-column .post-card-link:nth-child(4) { animation-delay: 0.46s; }
.posts-column .post-card-link:nth-child(5) { animation-delay: 0.54s; }

.posts-column .detail-card {
  animation: fadeUpIn 0.66s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: 0.2s;
}

.footer {
  animation: fadeUpIn 0.62s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: 0.62s;
}

@media (prefers-reduced-motion: reduce) {
  .nav-wrap,
  .sidebar .card,
  .posts-column .post-card-link,
  .posts-column .detail-card,
  .footer {
    animation: none !important;
  }
}

@media (max-width: 720px) {
  .nav-wrap {
    border-radius: 26px;
    width: min(1120px, 96vw);
  }

  .page-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sidebar {
    position: static;
  }

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

  .avatar {
    margin: 0 auto;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
  }

  .toolbar-grid {
    grid-template-columns: 1fr;
  }
}




#cursor-light-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.62;
  mix-blend-mode: normal;
}

main.container,.footer {
  position: relative;
  z-index: 2;
}

