:root {
  --black-main: #000000;
  --white-main: #f2f6f8;
  /* You can customize the theme color here */
  --primary-color: #3c7fb1;
  --highlight-color: #aaddfa;
  --secondary-color: #d8e1e7;
  --aero-grad: linear-gradient(to bottom,
  color-mix(in srgb, var(--secondary-color), white 60%) 0%,
  var(--secondary-color) 50%,
  color-mix(in srgb, var(--secondary-color), black 10%) 51%,
  var(--secondary-color) 100%);
  /* You can customize the background image here */
  --bg-image: url(/image/bg.jpg);
}

body {
  font-family: "Segoe UI", sans-serif;
  color: var(--black-main);
  margin: 0 auto;
  background-image: var(--bg-image);
  background-size: cover;
  background-attachment: fixed;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 960px;
  margin: auto;
  padding: 0 20px;
}

.card {
  background: rgba(from var(--primary-color) r g b/0.3);
  box-sizing: border-box;
  box-shadow: inset 0 0 20px rgba(from var(--primary-color) r g b/0.8), 0 0 0 1px var(--white-main), 0 0 0 1.5px var(--black-main), 3px 3px 10px rgba(from var(--black-main) r g b/0.6);
  backdrop-filter: blur(2px);
}

.button-bar {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.16) 46%, rgba(85, 154, 205, 0.26) 47%), var(--aero-grad);
  box-shadow: inset 0 0 0 1px var(--white-main), 0 0 0 0.5px var(--black-main), 3px 3px 10px rgba(from var(--black-main) r g b/0.6);
  box-sizing: border-box;
  overflow: hidden;
}

.button,
.page-number::before,
.extend::before {
  display: block;
  position: relative;
  border: none;
  outline: none;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.28) 45%, rgba(85, 154, 205, 0.18) 46%), var(--aero-grad);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -8px 16px rgba(0, 78, 128, 0.12), 0 0 0 0.5px rgba(12, 44, 78, 0.8), 2px 3px 8px rgba(from var(--black-main) r g b/0.36);
  box-sizing: border-box;
}

.button::after,
.page-number::after,
.extend::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, var(--highlight-color) 0%, var(--highlight-color) 50%, color-mix(in srgb, var(--highlight-color), black 10%) 51%, var(--highlight-color) 80%);
  box-shadow: inset 0 0 0 2px var(--highlight-color), 0 0 3px var(--highlight-color);
  transition: all 0.2s;
  opacity: 0;
}

.button:hover::after,
.page-number:not(.current):hover::after,
.extend:hover::after {
  opacity: 1;
}

.button:active::after,
.button.active,
.page-number:not(.current):active:after,
.extend:active::after {
  opacity: 1;
  box-shadow: inset 0 5px 5px rgba(0, 0, 0, 0.4);
}

.main-layout {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr);
  gap: 20px;
}

.mobile-menu-btn, .sidebar-mask {
  display: none;
}

.widget {
  width: 100%;
  margin-top: 20px;
  border-radius: 3px;
}

.page-nav {
  margin-top: 30px;
  justify-content: right;
}

.page-number,
.extend {
  position: relative;
  z-index: 1;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  text-decoration: none;
  color: var(--black-main);
  margin: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-shadow: 0 1px 0 var(--white-main);
}

.page-number::before,
.extend::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.page-number::after,
.extend::after {
  position: absolute;
  z-index: -1;
  border-radius: inherit;
}

.current {
  top: 1px;
}

.current::before {
  box-shadow: inset 0 5px 5px rgba(0, 0, 0, 0.4), 0 0 0 0.5px var(--black-main);
  /* 3px 3px 10px rgba(from var(--black-main) r g b / 0.6); */
}

.page-nav .space {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: 0 5px;
  color: var(--black-main);
}

.tag-none-link {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 0.55rem;
  border: 1px solid rgba(42, 112, 164, 0.45);
  border-radius: 999px;
  color: #164f7a;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.34) 48%, rgba(113, 191, 234, 0.28) 49%), linear-gradient(135deg, rgba(205, 243, 255, 0.9), rgba(155, 222, 180, 0.42));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 3px rgba(0, 53, 92, 0.18);
  transition: all 0.2s ease;
}

.tag-none-link:hover {
  border-color: rgba(42, 112, 164, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 0 0 2px rgba(174, 225, 255, 0.35), 0 2px 6px rgba(0, 53, 92, 0.24);
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  margin-bottom: 8px;
}

header {
  width: 100%;
  min-height: 76px;
  padding: 18px 28px;
  border-radius: 0 0 0 15px;
  overflow: hidden;
  position: relative;
  top: 0;
}

.blog-title {
  position: relative;
  text-align: right;
  font-size: 20px;
  line-height: 1.4;
  margin: 0;
  text-shadow: 0 0 10px var(--white-main), 0 0 10px var(--white-main), 0 0 10px var(--white-main), 0 0 10px var(--white-main), 0 0 10px var(--white-main), 0 0 10px var(--white-main);
}

nav {
  position: relative;
  border-top: none;
  border-radius: 18px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin: -16px 12px 0 auto;
  max-width: min(100%, 820px);
  top: 0;
  left: 0;
  overflow: visible;
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
  width: 100%;
  min-height: 100%;
}

.nav-links li {
  display: flex;
  box-sizing: border-box;
  min-height: 32px;
}

.nav-links li a {
  position: relative;
  box-sizing: border-box;
  min-height: 32px;
  gap: 6px;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  text-decoration: none;
  padding: 0 13px 0 10px;
  color: var(--black-main);
  border-radius: 999px;
  border: 1px solid rgba(26, 66, 104, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -8px 16px rgba(70, 125, 166, 0.2), 0 1px 0 rgba(255, 255, 255, 0.85), 0 3px 8px rgba(0, 39, 76, 0.22);
  text-shadow: 0 1px 0 var(--white-main);
  overflow: hidden;
  white-space: nowrap;
}

.nav-text {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
}

.link-home {
  border-left: 1px solid rgba(26, 66, 104, 0.48);
}

.aero-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 7px;
  background: radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.96) 0 12%, transparent 13%), linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.18) 38%, rgba(40, 126, 191, 0.22) 39%), linear-gradient(160deg, var(--icon-a, #4aa3df), var(--icon-b, #7edc98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -6px 9px rgba(0, 39, 76, 0.25), 0 0 0 1px rgba(20, 70, 110, 0.45), 0 1px 3px rgba(0, 0, 0, 0.22);
}

.aero-icon::before,
.aero-icon::after {
  content: "";
  position: absolute;
  z-index: 1;
}

.icon-home {
  --icon-a: #41a9f2;
  --icon-b: #78de8f;
}

.icon-home::before {
  width: 12px;
  height: 10px;
  bottom: 4px;
  background: linear-gradient(#ffffff, #dff7ff);
  clip-path: polygon(50% 0, 100% 42%, 100% 100%, 62% 100%, 62% 65%, 38% 65%, 38% 100%, 0 100%, 0 42%);
  box-shadow: 0 0 0 1px rgba(12, 84, 128, 0.35);
}

.icon-archives {
  --icon-a: #5ca7ef;
  --icon-b: #8d6df0;
}

.icon-archives::before {
  width: 13px;
  height: 14px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent 0 28%, rgba(40, 79, 120, 0.42) 29% 33%, transparent 34%), linear-gradient(#ffffff, #dcecff);
}

.icon-tags {
  --icon-a: #f4b64a;
  --icon-b: #74d1ff;
}

.icon-tags::before {
  width: 13px;
  height: 13px;
  border-radius: 3px 3px 3px 8px;
  transform: rotate(-45deg);
  background: linear-gradient(#fff8c9, #ffb84a);
}

.icon-tags::after {
  width: 3px;
  height: 3px;
  top: 6px;
  right: 7px;
  border-radius: 50%;
  background: rgba(42, 93, 128, 0.55);
}

.icon-diary {
  --icon-a: #6dcdf6;
  --icon-b: #ffffff;
}

.icon-diary::before {
  width: 13px;
  height: 15px;
  border-radius: 2px 5px 5px 2px;
  background: repeating-linear-gradient(0deg, transparent 0 4px, rgba(79, 128, 160, 0.26) 5px 6px), linear-gradient(90deg, #7ec4ff 0 22%, #ffffff 23%);
}

.icon-garden {
  --icon-a: #33c47b;
  --icon-b: #b6f29f;
}

.icon-garden::before {
  width: 15px;
  height: 15px;
  background: radial-gradient(ellipse at 35% 60%, #ffffff 0 18%, #7ddd6e 19% 55%, transparent 56%);
  clip-path: polygon(50% 0, 70% 35%, 100% 50%, 68% 62%, 50% 100%, 32% 62%, 0 50%, 30% 35%);
}

.icon-friends {
  --icon-a: #4aa3ff;
  --icon-b: #72e5d4;
}

.icon-friends::before {
  width: 8px;
  height: 8px;
  top: 5px;
  left: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 7px 2px 0 -1px #e6f9ff, 3px 8px 0 3px rgba(255, 255, 255, 0.9);
}

.icon-cv {
  --icon-a: #88b7ff;
  --icon-b: #c9f0ff;
}

.icon-cv::before {
  width: 14px;
  height: 10px;
  top: 5px;
  border-radius: 2px;
  background: linear-gradient(#eefaff, #80bdf4);
  box-shadow: 0 4px 0 -2px rgba(21, 73, 110, 0.65);
}

.icon-about {
  --icon-a: #88d4ff;
  --icon-b: #f7fbff;
}

.icon-about::before {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 32%, #2d79b8 0 9%, transparent 10%), linear-gradient(#ffffff, #dff5ff);
}

.icon-about::after {
  width: 3px;
  height: 7px;
  bottom: 5px;
  border-radius: 2px;
  background: #2d79b8;
}

.post-list {
  margin-top: 20px;
}

.post-item {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 12px;
  border-radius: 10px;
  position: relative;
  margin-bottom: 20px;
}

.post-cover {
  width: 40%;
  flex-shrink: 0;
  padding: 10px 0;
}

.post-cover img {
  width: 100%;
  box-shadow: 0 0 0 0.5px var(--black-main), 0 0 0 1.5px var(--white-main);
}

.post-info {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.post-full {
  margin-top: 20px;
  padding: 12px;
  border-radius: 10px;
  position: relative;
  margin-bottom: 20px;
}

.post-title {
  position: relative;
  font-size: 24px;
  text-shadow: 0 0 10px var(--white-main), 0 0 10px var(--white-main), 0 0 10px var(--white-main), 0 0 10px var(--white-main), 0 0 10px var(--white-main), 0 0 10px var(--white-main);
}

.post-meta {
  position: relative;
  text-shadow: 0 0 10px var(--white-main), 0 0 10px var(--white-main), 0 0 10px var(--white-main), 0 0 10px var(--white-main), 0 0 10px var(--white-main), 0 0 10px var(--white-main);
  padding: 5px 0;
}

.post-excerpt {
  position: relative;
  padding: 10px;
  background-color: var(--white-main);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 0 0 0.5px var(--black-main), 0 0 0 1.5px var(--white-main);
}

.post-content {
  position: relative;
  padding: 14px;
  background-color: var(--white-main);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 0 0 0.5px var(--black-main), 0 0 0 1.5px var(--white-main);
}

.rm-link {
  position: relative;
  width: 128px;
  height: 30px;
  display: flex;
  align-self: flex-end;
  margin-top: auto;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  margin-bottom: -15px;
  text-decoration: none;
  color: var(--black-main);
  text-shadow: 0 1px 0 var(--white-main);
  transition: all 0.2s;
  overflow: hidden;
}

.rm-link .read-more::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  vertical-align: -2px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 16%, transparent 17%), linear-gradient(135deg, #68c7ff, #79df8e);
  box-shadow: inset 0 -3px 5px rgba(0, 64, 110, 0.25), 0 0 0 1px rgba(32, 96, 130, 0.42);
}

.rm-link::after {
  border-radius: inherit;
}

.rm-link:active {
  top: 1px;
}

.read-more {
  position: relative;
  z-index: 2;
}

.article-title {
  display: block;
  padding: 20px 0;
  font-size: 30px;
}

.avatar-widget {
  position: sticky;
  z-index: 4;
  top: -5px;
  background: none;
  border: none;
  box-shadow: none;
  width: 20%;
}

.avatar-bg {
  background: var(--aero-grad);
  backdrop-filter: blur(3px);
  margin-top: -30px;
  margin-left: -10px;
  box-sizing: border-box;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--white-main), 0 0 0 1.5px var(--black-main), 3px 3px 10px rgba(from var(--black-main) r g b/0.6);
}

.profile-img {
  width: 110px;
  box-sizing: border-box;
  position: relative;
  top: 5px;
  left: 5px;
  border-radius: 50%;
  border: 1px solid var(--white-main);
}

.profile-link {
  position: relative;
  display: inline-flex;
  height: 40px;
  width: 40px;
  padding: 8px;
  margin: 6px;
  border-radius: 20px;
}

.profile-icon {
  position: relative;
  width: 100%;
  z-index: 2;
}

.profile-link::after {
  border-radius: 20px;
}

.profile-link:active {
  top: 1px;
}

.profile {
  padding-top: 10px;
  padding-left: 100px;
  height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  font-size: larger;
}

.about {
  margin-top: 10px;
  padding: 10px;
}

.profile-widget {
  position: relative;
  margin-top: -90px;
  text-shadow: 0 0 10px var(--white-main), 0 0 10px var(--white-main), 0 0 10px var(--white-main), 0 0 10px var(--white-main), 0 0 10px var(--white-main), 0 0 10px var(--white-main);
  text-align: center;
}

.music-widget {
  position: sticky;
  top: 140px;
  background: var(--white-main);
  box-sizing: border-box;
  box-shadow: inset 0 0 30px color-mix(in srgb, var(--primary-color), white 50%), 0 0 0 0.5px var(--black-main), 3px 3px 10px rgba(from var(--black-main) r g b/0.6);
  border-radius: 20% 80% 20% 80%/50% 30% 50% 40%;
  padding: 15px;
}

.music-widget::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(from var(--white-main) r g b/0.8) 0%, rgba(from var(--black-main) r g b/0.1) 100%);
  border-radius: 20% 80% 20% 80%/50% 30% 50% 30%;
  pointer-events: none;
}

.player-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.album-art {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  margin-left: 20px;
  margin-bottom: 10px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.song-info {
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  min-width: 0;
}

.info-bg {
  background-color: var(--primary-color);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.5), 0 0 0 0.5px var(--black-main), 0 0 0 1.5px var(--white-main);
  border-radius: 3px;
}

.title-bar {
  flex: 1;
  width: 0;
  min-width: 0;
  overflow: hidden;
  margin-left: 10px;
  border-radius: 10px;
}

.song-title {
  font-size: 14px;
  color: var(--white-main);
  text-shadow: 0 3px 3px var(--black-main);
  display: inline-block;
  white-space: nowrap;
  animation: marquee 8s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  20% {
    transform: translateX(0%);
  }
  80% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
.progress-container {
  width: 90%;
  height: 6px;
  border-radius: 3px;
  margin-bottom: 12px;
  margin-left: 16px;
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.5), 0 0 0 0.5px var(--black-main), 0 0 0 1.5px var(--white-main);
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(to bottom, var(--secondary-color) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
  border-radius: 3px;
  transition: width 0.1s linear;
}

.controls {
  position: relative;
  margin-left: -60px;
  margin-bottom: -20px;
  display: flex;
  gap: 15px;
  align-items: center;
}

.ctrl-btn {
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.1s;
  overflow: hidden;
}

.ctrl-btn span {
  position: relative;
  z-index: 2;
}

.play-btn {
  width: 50px;
  height: 50px;
  border-radius: 70% 30% 70% 30%/70% 30% 70% 30%;
  font-size: 18px;
  overflow: hidden;
}

.play-btn span {
  position: relative;
  z-index: 2;
}

.ctrl-btn:active {
  top: 1px;
}

.play-btn:active {
  top: 1px;
}

.ctrl-btn::after {
  border-radius: inherit;
}

.play-btn::after {
  border-radius: inherit;
}

.year-group {
  padding: 10px;
  border-radius: 10px;
  margin: 20px 0;
}

.year-header {
  font-size: 24px;
  text-shadow: 0 0 10px var(--white-main), 0 0 10px var(--white-main), 0 0 10px var(--white-main), 0 0 10px var(--white-main), 0 0 10px var(--white-main), 0 0 10px var(--white-main);
  padding: 10px 0;
}

.archive-list {
  padding: 10px;
  background-color: var(--white-main);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 0 0 0.5px var(--black-main), 0 0 0 1.5px var(--white-main);
}

.archive-item {
  padding: 7px 8px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 6px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.archive-item:hover {
  background: linear-gradient(90deg, rgba(184, 230, 255, 0.38), rgba(215, 250, 229, 0.2));
  box-shadow: inset 0 0 0 1px rgba(94, 164, 210, 0.25);
}

.archive-title {
  margin-left: 5px;
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
}

.archive-title:hover {
  border-bottom-color: var(--primary-color);
}

footer {
  border-radius: 15px 15px 0 0;
  margin-bottom: 0;
  height: 80px;
  display: flex;
}

.copyright {
  width: 100%;
  align-items: center;
  text-align: center;
  text-shadow: 0 0 10px var(--white-main), 0 0 10px var(--white-main), 0 0 10px var(--white-main), 0 0 10px var(--white-main), 0 0 10px var(--white-main), 0 0 10px var(--white-main);
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  margin-top: 1.5em;
  margin-bottom: 0.8em;
  font-weight: 700;
  line-height: 1.3;
}

.post-content p {
  margin-bottom: 1.5em;
  text-align: justify;
}

.post-content a {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.post-content a:hover {
  border-bottom-color: var(--primary-color);
}

.post-content strong {
  font-weight: 700;
  color: #000;
}

.post-content em {
  font-style: italic;
}

.post-content del {
  color: #999;
  text-decoration: line-through;
}

.post-content ul,
.post-content ol {
  margin-bottom: 1.5em;
  padding-left: 2em;
}

.post-content li {
  margin-bottom: 0.5em;
  line-height: 1.8;
}

.post-content li ul,
.post-content li ol {
  margin-top: 0.5em;
  margin-bottom: 0;
}

.post-content blockquote {
  margin: 0 0 1.5em 0;
  padding: 10px 20px;
  border-left: 4px solid #dfe2e5;
  background-color: #f8f9fa;
  color: #6a737d;
}

.post-content blockquote p {
  margin: 0;
}

.post-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5em auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
  display: block;
  overflow-x: auto;
}

.post-content th,
.post-content td {
  border: 1px solid #dfe2e5;
  padding: 6px 13px;
}

.post-content th {
  background-color: #f6f8fa;
  font-weight: 700;
}

.post-content tr:nth-child(2n) {
  background-color: #f8f9fa;
}

.post-content :not(pre) > code {
  background-color: rgba(27, 31, 35, 0.05);
  color: var(--primary-color);
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
  font-size: 85%;
}

.post-content pre,
.post-content .highlight {
  background-color: #fafafa;
  padding: 5px;
  margin: 0;
  border-radius: 3px;
  overflow-x: auto;
  line-height: 1.45;
  font-family: Consolas, monospace;
  font-size: 14px;
}

.post-content .highlight table {
  margin: 0;
  border: none;
  display: table;
}

.post-content .highlight td,
.post-content .highlight th {
  border: none;
  padding: 0;
}

.post-content .highlight .gutter {
  color: #999;
  text-align: right;
  border-right: 1px solid #eee;
}

.markdown-body .mjx-chtml {
  outline: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.section-post-list {
  margin-top: 2rem;
  border-top: 1px solid rgba(54, 114, 156, 0.28);
}

.section-post-item {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid rgba(54, 114, 156, 0.16);
  border-radius: 8px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.section-post-item:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.22) 52%, rgba(123, 194, 232, 0.16) 53%), linear-gradient(90deg, rgba(205, 239, 255, 0.42), rgba(215, 250, 229, 0.22));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), inset 0 0 0 1px rgba(72, 139, 182, 0.22);
}

.section-post-date {
  color: #777;
  font-size: 0.9rem;
}

.section-post-title {
  color: inherit;
  text-decoration: none;
}

.section-post-title:hover {
  color: var(--primary-color);
}

.steam-achievement-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(50, 104, 145, 0.35);
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.5)), #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 2px 8px rgba(0, 48, 90, 0.12);
}

.steam-achievement-card.hidden-achievement {
  background: #f8f9fa;
}

.achievement-icon {
  flex: 0 0 auto;
}

.achievement-icon img {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  margin: 0;
  box-shadow: none;
}

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

.achievement-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.achievement-desc {
  margin: 0 0 0.65rem;
  color: #666;
  font-size: 0.92rem;
  line-height: 1.5;
}

.hidden-badge {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  background: #e85959;
  color: #fff;
  font-size: 0.75rem;
}

.steam-button {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(42, 112, 164, 0.55);
  border-radius: 999px;
  color: #164f7a;
  font-size: 0.85rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.32) 48%, rgba(105, 190, 238, 0.24) 49%), var(--aero-grad);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 4px rgba(0, 53, 92, 0.2);
}

.steam-button::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-right: 5px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #fff 0 16%, transparent 17%), linear-gradient(135deg, #5fb2ff, #8fe7ff);
  box-shadow: inset 0 -2px 4px rgba(0, 52, 92, 0.25);
}

.friends-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.friend-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(54, 114, 156, 0.3);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.38)), #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 8px rgba(0, 48, 90, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.friend-card:hover {
  transform: translateY(-2px);
  border-color: rgba(42, 112, 164, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 7px 16px rgba(0, 48, 90, 0.18);
}

.friend-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: #f3f3f3;
  flex: 0 0 auto;
}

.friend-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  box-shadow: none;
}

.friend-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.friend-desc,
.friends-exchange-lead {
  color: #666;
}

.friends-exchange {
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px dashed #d6d9dc;
  border-radius: 8px;
}

.friends-exchange-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.post-comments {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e5e5;
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.term-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem 0.8rem 0.75rem;
  border: 1px solid rgba(42, 112, 164, 0.38);
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.32) 47%, rgba(116, 198, 238, 0.2) 48%), linear-gradient(135deg, rgba(214, 245, 255, 0.95), rgba(202, 244, 218, 0.62));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -8px 15px rgba(67, 139, 180, 0.13), 0 2px 7px rgba(0, 53, 92, 0.15);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.term-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), inset 0 -8px 15px rgba(67, 139, 180, 0.16), 0 7px 14px rgba(0, 53, 92, 0.2);
}

.term-card::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 6px 6px 6px 10px;
  transform: rotate(-45deg);
  background: radial-gradient(circle at 68% 32%, rgba(50, 106, 145, 0.46) 0 10%, transparent 11%), linear-gradient(135deg, #fff7ba, #74c9ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 0 1px rgba(42, 112, 164, 0.36);
}

.term-name {
  font-weight: 700;
  flex: 1;
}

.term-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.6rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 0 0 1px rgba(42, 112, 164, 0.2);
  color: #777;
}

@media (max-width: 640px) {
  .section-post-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .steam-achievement-card {
    align-items: flex-start;
  }
}
@media screen and (max-width: 768px) {
  * {
    -webkit-tap-highlight-color: transparent;
  }
  .main-layout {
    display: block;
  }
  header {
    border-radius: 0;
    min-height: auto;
    padding: 14px 16px 24px;
  }
  nav {
    margin-left: 0;
    margin-right: 0;
    margin-top: -12px;
    max-width: 100%;
    left: 0;
    padding: 7px;
  }
  .nav-links li a {
    padding: 0 10px 0 8px;
    font-size: 13px;
    min-height: 30px;
  }
  .aero-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }
  .mobile-menu-btn {
    position: fixed;
    top: 128px;
    left: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 0 15px 15px 0;
    overflow: hidden;
    margin: 10px 0;
  }
  .mobile-menu-btn::after {
    border-radius: inherit;
  }
  .menu-icon {
    z-index: 12;
  }
  aside {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background-image: var(--bg-image);
    background-size: cover;
    z-index: 100;
    padding: 20px;
    overflow-y: auto;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
  }
  aside.open {
    transform: translateX(0);
  }
  .sidebar-mask {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
  }
  .sidebar-mask.open {
    opacity: 1;
    visibility: visible;
  }
  .post-item {
    flex-direction: column;
    gap: 0;
  }
  .post-cover {
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  .blog-title {
    text-align: center;
    font-size: 16px;
  }
  nav {
    border-radius: 14px;
  }
  .nav-links {
    justify-content: flex-start;
  }
  .nav-links li {
    flex: 1 1 calc(50% - 6px);
  }
  .nav-links li a {
    width: 100%;
    justify-content: center;
  }
  .mobile-menu-btn {
    top: 176px;
  }
}