* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}
:root {
  --c-text-primary: #191919;
  --c-text-secondary: #737374;
  --c-border-primary: #ccc;
  --c-bg-body: #ccc;
  --c-bg-primary: rgba(80, 160, 255, 0.22);
  --c-bg-secondary: #d4d5dd;
  --c-bg-button: #fff;
}
:root.black-theme {
  --c-text-primary: #edeeef;
  --c-text-secondary: #d4d7e1;
  --c-border-primary: #323232;
  --c-bg-body: #000;
  --c-bg-primary: #1b1d23;
  --c-bg-secondary: #000001;
  --c-bg-button: #343844;
}
body {
  display: flex;
  font-family: sans-serif;
  line-height: 1.5;
  justify-content: center;
  background-color: var(--c-bg-primary);
  transform: background-color 1s ease;
  color: var(--c-text-primary);
}
body:hover {
  color: black;
}
.glass-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 999;
  padding: 20px 0;
  transition: all 0.3s ease;
  border-radius: 10px;
}
.nav-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  font-size: 30px;
  font-weight: 600;
  color: black;
  text-align: center;
  width: 150px;
  height: 50px;
}
.nav-logo:hover {
  background-color: rgb(127, 240, 255);
  border-radius: 10px;
}
.nav-menu {
  font-size: 20px;
  font-weight: 600;
  display: flex;
  gap: 35px;
}
.nav-menu li a {
  padding: 0 20px;
  font-weight: 300;
  color: black;
  text-align: center;
}
.nav-menu li a:hover {
  background-color: rgb(127, 240, 255);
  border-radius: 10px;
}
.select-menu {
  width: 100px;
  cursor: pointer;
  position: relative;
  text-align: center;
  align-items: center;
}
.select {
  text-align: center;
  padding: 0px 20px;
  color: black;
  border-radius: 10px;
  display: flex;
  font-weight: 300;
}
.select:hover {
  background-color: rgb(127, 240, 255);
}
.options-list {
  position: absolute;
  width: 100%;
  background-color: #e5faff;
  border-radius: 6px;
  margin-top: 6px;
  padding: 0 20px;
  max-height: 180px;
  overflow-y: auto;
  text-align: center;
  align-items: center;
  transition: 0.2s linear;
  height: 0;
}
.option {
  padding: 8px 0;
  font-weight: 900;
  font-size: 14px;
  transition: 0.2s ease-in-out;
}
.option a {
  color: black;
}
.option:hover,
.option.selected {
  background-color: rgb(127, 240, 255);
  border-radius: 5px;
}
.options-list::-webkit-scrollbar {
  width: 4px;
  background-color: #eee;
}
.options-list::-webkit-scrollbar-thumb {
  background-color: #00a8ff;
}
.options-list.active {
  height: 100px;
}
.images {
  position: relative;
  display: flex;
  overflow: hidden;
}
.images img {
  position: relative;
  display: flex;
  width: 100vw;
  height: 100%;
  background-repeat: no-repeat;
}
body.dark {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

/* ========== 仅使用你提供的HTML结构样式 ========== */
/* 菜单容器 - 固定定位+默认隐藏主题切换区 */
.menus {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 120px;
  background-color: var(--c-bg-button);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  z-index: 9999;
}

body.dark .menus {
  background-color: #2d2d2d;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* 菜单头部（触发区） */
.menu-header {
  padding: 10px;
  border-bottom: 1px solid var(--c-bg-button);
  text-align: center;
  cursor: pointer;
}

body.dark .menu-header {
  border-bottom-color: #444;
}

.menu-header-title {
  font-size: 20px;
  color: var(--c-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.dark .menu-header-title {
  color: var(--c-bg-button);
}

/* 主题切换器 - 默认隐藏 + 上下滑动 */
.theme-switcher {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  background-color: var(--c-bg-button);
  height: 120px;
  /* 默认隐藏 */
  max-height: 0;
  opacity: 0;
  visibility: hidden;
}

body.dark .theme-switcher {
  background-color: var(--c-text-primary);
}

/* 菜单展开时显示主题切换器 */
.menus.show .theme-switcher {
  max-height: 120px;
  opacity: 1;
  visibility: visible;
}
nav .nav-menu li a.actives {
  opacity: 1;
}
canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}
/* 隐藏原生radio按钮 */
.theme-switcher input[type="radio"] {
  display: none;
}

/* 选项标签样式 - 垂直排列 */
.theme-switcher label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 80px;
  height: 40px;
  border-radius: 8px;
  z-index: 2;
  color: var(--c-text-primary);
}

body.dark .theme-switcher label {
  color: var(--c-bg-button);
}

.theme-switcher label .ion-icon {
  font-size: 18px;
  margin-bottom: 3px;
}

.theme-switcher label span {
  font-size: 12px;
}

/* 滑块样式 - 上下滑动 */
.theme-switcher .slider {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 100px;
  height: 40px;
  background-color: rgb(197, 244, 250);
  border-radius: 8px;
  z-index: 1;
  transition: top 0.3s ease;
}

body.dark .theme-switcher .slider {
  background-color: var(--c-text-primary);
}

/* 选中暗色主题时滑块下移 */
#black-theme:checked ~ .slider {
  top: 70px;
}

/* 选中状态高亮 */
#light-theme:checked ~ label[for="light-theme"] {
  color: var(--c-text-primary);
}

#black-theme:checked ~ label[for="black-theme"] {
  color: var(--c-bg-button);
}

/* 页面内容示例 */
.content {
  max-width: 800px;
  margin: 30px 0;
  line-height: 1.8;
}
.hero_content {
  position: absolute;
  text-align: center;
  margin-top: 20%;
}
.hero_content h1 {
  font-size: 50px;
  color: var(--c-text-primary);
}
.hero_content h2 {
  position: relative;
  display: block;
  font-size: 1.5rem;
  margin-block-start: 0.83em;
  padding: 10px;
  color: var(--c-text-primary);
}
.absolute {
  position: absolute;
  display: flex;
  margin-top: 45%;
  justify-content: space-between;
}
.contents {
  position: relative;
  display: flex;
  margin-top: 2rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.flex-col {
  padding: 5px;
  position: relative;
  display: grid;

  grid-template-rows: repeat(3, 330px);
}
.card-base {
  background-color: var(--c-bg-button);
  border-radius: 15px;
}
.mx-auto {
  position: relative;
  padding: 10px 30px;
}
.image {
  border-radius: 10px;
  height: 170px;
  overflow: hidden;
  padding-left: 50px;
}
.px-2 {
  text-align: center;
}
.px-2 .font-bold {
  font-weight: 800;
  color: var(--c-text-primary);
}
.px-2 .h-1 {
  padding: 5px;
  color: var(--c-text-primary);
}
.text-center {
  font-weight: 200;
  color: var(--c-text-primary);
}
.flex-wrap {
  position: relative;
  padding: 15px;
  font-size: 1.2rem;
  letter-spacing: 1.2rem;
}
.flex-wrap a {
  text-align: center;
  position: relative;
  color: rgb(70, 222, 245);
  border: 2px solid;
  border-radius: 5px;
}
.flex-wrap a:hover {
  background-color: rgb(217, 243, 247);
}
.flex-wrap i {
  text-align: center;
  padding-left: 20px;
}
.pb-4 {
  margin-top: 2rem;
  display: flex;
  width: 330px;
  height: 260px;
  background-color: var(--c-bg-button);
  border-radius: 10px;
}
.widget-title {
  display: flex;
  padding: 0 2px;
  font-weight: 500;
}
.widget-title span {
  padding: 6px;
  font-weight: 700;
  color: var(--c-text-primary);
}
.text-neutral {
  padding: 50px;
  text-align: center;
  font-weight: 800;
  color: var(--c-text-primary);
}
.cnetes {
  border: 4px solid transparent;
  text-align: center;
  padding: 10px;
  border-radius: 5px;
}
.cnetes a {
  color: var(--c-text-primary);
}
.cnetes:hover {
  background-color: rgb(217, 243, 247);
}
@keyframes ani {
  0% {
    transform: calc(1);
  }
  50% {
    transform: calc(1.2);
  }
  100% {
    transform: calc(1);
  }
}
#wave {
  position: absolute;
  width: 100vw;
  height: 100%;
  display: grid;
  background: transparent;
}
header {
  position: relative;
  display: block;
  border-radius: 10px;
  padding: 5px 20px;
}
.main {
  position: relative;
  display: flex;
  border-radius: 10px;
  background-color: var(--c-bg-button);
  width: 820px;
  height: 250px;
  margin-top: 20px;
}
.onload-animation {
  position: relative;
  padding: 25px 15px;
  /* border: 1px solid red; */
}
.transition-all {
  position: relative;
}
.post-card-wrapper {
  position: relative;
  padding: 1px;
  /* border: 1px solid; */
}
.post-card-content {
  position: relative;
  display: flex;
}
.post-card-content a {
  color: var(--c-text-primary);
}
.post-card-content a:hover {
  color: rgb(127, 240, 255);
}
.post-card-content h3 {
  font-size: 20px;
}
.flex-wrap1 {
  position: relative;
  padding: 5px;
  display: flex;
  align-items: center;
}
.gap-1 {
  position: relative;
  width: 100px;
  height: 35px;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 5px 10px;
  margin-left: 10px;
  border-radius: 5px;
  background-color: rgb(225, 252, 255);
}
.gap-1:hover {
  background-color: rgb(181, 239, 245);
}
.items-center {
  position: relative;
  display: flex;
  align-items: center;
  padding: 5px 15px;
  margin-left: 10px;
  border-radius: 5px;
}
.meta-icon {
  position: relative;
  display: flex;
  margin-left: 10px;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  background-color: rgb(217, 243, 247);
  border-radius: 5px;
  width: 40px;
  height: 35px;
}
.meta-icon:hover {
  background-color: rgb(181, 239, 245);
}
.sm {
  position: relative;
  display: flex;
  flex-direction: row;
  width: 55px;
  align-items: center;
  margin-left: 3px;
  padding: 5px 10px;
  /* margin-left: 10px; */
}
.sm a {
  color: black;
}
.sm:hover {
  background-color: rgb(225, 252, 255);
  border-radius: 5px;
}
.text-sm {
  line-height: 1.25rem;
  padding: 0 4px;
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.transition {
  position: relative;
  display: flex;
  padding: 5px 20px;
  font-size: 1rem;
  font-weight: 800;
}
.text-sm1 {
  position: relative;
  display: flex;
  padding: 10px 10px;
}
.text-sm1 a {
  position: relative;
  height: 35px;
  display: flex;
  align-items: center;
  padding: 5px 15px;
  margin-left: 10px;
  background-color: rgb(230, 250, 252);
  border-radius: 5px;
  color: black;
}
.text-sm1 a:hover {
  background-color: rgb(181, 239, 245);
}
.w-full {
  position: relative;
  padding: 23px;
  align-items: center;
  justify-content: center;
}
.w-full .amg1 {
  position: relative;
  display: flex;
  padding: 10px;
  width: 100%;
  height: 200px;
  padding: 2px;
  border-radius: 12px;
}
.music-player-wrap {
  /* width: 300px; */
  max-width: 420px;
  max-height: min-content;
  /* background: rgba(255, 255, 255, 0.1); */
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 10px 30px;
  background-color: var(--c-bg-button);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
/* ===== 新增：歌单样式 核心 ===== */
.playlist-box {
  width: 300px;
  margin: 15px 0;
  overflow: hidden;
  transition: all 0.4s ease;
  max-height: 0; /* 默认隐藏歌单 */
}
/* 歌单展开的样式 */
.playlist-box.show {
  max-height: 400px;
  max-width: 240px;
  margin: 15px 0 20px;
}
/* 歌单展开/收起按钮 */
.playlist-toggle {
  width: 100px;
  background: transparent;
  border: none;
  /* color: #fff; */
  color: var(--c-text-primary);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 0;
}
.playlist-toggle:hover {
  color: #ff6b6b;
}
/* 歌单列表 */
.playlist {
  list-style: none;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 10px;
  max-height: 300px;
  overflow-y: auto;
}
/* 歌单滚动条美化 */
.playlist::-webkit-scrollbar {
  width: 4px;
}
.playlist::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}
/* 歌单歌曲项 */
.playlist-item {
  padding: 10px 8px;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 6px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.playlist-item:last-child {
  margin-bottom: 0;
}
.playlist-item:hover {
  background: rgba(255, 255, 255, 0.1);
}
/* 当前播放歌曲高亮样式 */
.playlist-item.active {
  background: #ff6b6b;
  /* color: #fff; */
}
.song-name {
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.song-singer {
  /* color: #e0e0e0; */
  font-size: 12px;
}
/* ===== 原有播放器样式 完整保留 ===== */
.music-player {
  width: 100%;
}
.cover-box {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
  position: relative;
}
.cover {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}
.cover.rotate {
  animation: rotateCD 10s linear infinite;
}
@keyframes rotateCD {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.music-info {
  text-align: center;
  margin-bottom: 25px;
}
.music-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 8px;
}
.music-singer {
  font-size: 16px;
  color: var(--c-text-primary);
}
.progress-box {
  margin-bottom: 20px;
}
.time {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--c-text-secondary);
  margin-bottom: 6px;
}
.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--c-text-secondary);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}
.progress {
  height: 100%;
  width: 0%;
  background: #ff6b6b;
  border-radius: 3px;
  transition: width 0.1s linear;
}
.progress-dot {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 5px #ff6b6b;
  display: none;
}
.progress-bar:hover .progress-dot {
  display: block;
}
.volume-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}
.volume-icon {
  font-size: 18px;
  cursor: pointer;
}
.volume-bar {
  width: 100px;
  height: 4px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}
.volume {
  height: 100%;
  width: 70%;
  /* background-color: var(--c-bg-primary); */
  background-color: var(--c-text-primary);
  border-radius: 2px;
}
.control-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}
.btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.btn:hover {
  transform: scale(1.1);
}
.prev-btn,
.next-btn {
  font-size: 26px;
  color: var(--c-text-primary);
}
.play-btn {
  width: 60px;
  height: 60px;
  background: #ff6b6b;
  border-radius: 50%;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.messages {
  margin-top: 10px;
  width: 330px;
  height: 380px;
  padding: 10px;
  display: flex;
  justify-self: center;
  align-items: center;
  flex-direction: column;
  background-color: var(--c-bg-button);
  border-radius: 10px;
}
.form {
  display: flex;
  justify-content: center;
  position: relative;
  flex-direction: column;
  width: 100%;
  gap: 10px;
  padding-bottom: 30px;
}
input:focus,
textarea:focus {
  outline: none;
}
input,
textarea {
  /* color: var(--c-text-primary); */
  margin-bottom: 10px;
  font: 300 0.875rem "";
  border-radius: 5px;
}
#username {
  height: 25px;
}
#message {
  height: 50px;
}
.messages h4 {
  color: var(--c-text-primary);
  text-align: left;
  -webkit-background-clip: text;
  /* -webkit-text-fill-color: transparent */
}
#submitBtn {
  position: absolute;
  right: 0;
  bottom: 0;
  color: var(--c-text-primary);
  background-image: linear-gradient(90deg, var(--c-bg-primary));
  border: none;
  width: 50px;
  height: 30px;
  border-radius: 5px;
}
#messageBoard {
  width: 100%;
  /* text-align: left; */
}
@keyframes messageFadeIn {
  to {
    opacity: 1;
  }
}
.message {
  width: 310px;
  margin-top: 5px;
  padding: 15px;
  opacity: 1;
  animation: messageFadeIn 0.5s ease forwards;
  background-color: var(--c-bg-primary);
  border-radius: 5px;
}
.message-info {
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.info {
  transform: translateY(-45px);
}
.info img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 6px solid var(--c-bg-primary);
}
strong {
  position: absolute;
  width: 800px;
  top: 70px;
  padding: 0 5px;
  transform: translateY(-15px);
  color: var(--c-text-primary);
}
.message-info span {
  position: absolute;
  top: 1px;
  right: 10px;
  color: var(--c-text-primary);
}
.content {
  margin: 10px;
  transform: translateY(-35px);
  width: 95%;
  color: var(--c-text-primary);
}
footer {
  position: absolute;
  display: flex;
  z-index: 1;
  padding: 30px 0;
  min-width: 1589px;
  text-align: center;
  border-top: 1px solid;
  transform: translateY(1100px);
  overflow: hidden;
  color: var(--c-text-primary);
}
.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 1rem 0;
}
.social-links a {
  color: var(--c-text-primary);
  text-decoration: none;
  font-size: 1.2rem;
  position: relative;
  padding: 10px;
}
.social-links a:hover {
  background-color: var(--c-bg-primary);
  border-radius: 5px;
}

.settings-toggle {
  position: fixed;
  top: 20px;
  right: 200px;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 100;
  background-color: transparent;
}

.settings-toggle:hover {
  background-color: rgb(197, 244, 250);
}

/* 壁纸切换面板 - 默认隐藏 */
.wallpaper-panel {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: 90%;
  max-width: 600px;
  /* 默认隐藏 */
  display: none;
  z-index: 90;
  transform: translateY(140%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* 面板显示状态 */
.wallpaper-panel.show {
  display: block;
}

.panel-title {
  text-align: center;
  margin-bottom: 10px;
  color: var(--c-text-primary);
  font-size: 18px;
}

/* 布局控制按钮区域 */
.layout-controls {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.layout-btn {
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #f8f9fa;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.layout-btn.selected {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

/* 壁纸预览列表 */
.wallpaper-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.wallpaper-item {
  text-align: center;
  align-items: center;
  width: 80px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.1s ease;
}

.wallpaper-item.selected {
  border-color: var(--c-bg-primary);
}

.wallpaper-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 确认按钮样式 */
.confirm-btn {
  display: block;
  width: 80%;
  margin: 0 auto;
  padding: 8px 0;
  background: rgb(197, 244, 250);
  color: black;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.confirm-btn:hover {
  background: #0056b3;
}

.back-to-top {
  /* 固定定位在右下角 */
  position: fixed;
  bottom: 30px;
  right: 30px;
  /* 按钮样式 */
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: var(--c-bg-button);
  color: var(--c-text-primary);
  border: none;
  cursor: pointer;
  /* 图标居中 */
  display: flex;
  align-items: center;
  justify-content: center;
  /* 阴影和过渡 */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  /* 默认隐藏 */
  opacity: 0;
  visibility: hidden;
  z-index: 999; /* 确保在最上层 */
}

/* 鼠标悬浮效果 */
.back-to-top:hover {
  background: rgb(166, 225, 243);
  transform: translateY(-3px); /* 轻微上移，提升交互感 */
}

/* 显示按钮的状态 */
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
/* 留言区css */
.post-card-content h3 {
  color: var(--c-text-primary);
}
.bade {
  position: relative;
  display: flex;
  padding: 15px 30px;
}
.bade h4 {
  color: var(--c-text-primary);
}
.text1 {
  margin-top: 5px;
  padding: 0 60px;
  color: var(--c-text-primary);
}

.container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--c-bg-button);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin-top: 30px;
}

h1 {
  text-align: center;
  color: #e67e22;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #ff9a9e;
  border-radius: 3px;
}

/* 输入区域样式 */
.input-area {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

#nameInput {
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s;
}

#nameInput:focus {
  border-color: #ff9a9e;
}

#messageInput {
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  min-height: 120px;
  resize: vertical;
  outline: none;
  transition: border-color 0.3s;
}

#messageInput:focus {
  border-color: #ff9a9e;
}

.btn-submit {
  padding: 12px;
  background: linear-gradient(to right, #ff9a9e, #fad0c4);
  color: var(--c-text-primary);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 154, 158, 0.3);
}

/* 留言列表样式 */
.message-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.message-item {
  padding: 20px;
  border-radius: 10px;
  background: #fafafa;
  border-left: 4px solid #ff9a9e;
  position: relative;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.message-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.message-author {
  font-weight: bold;
  color: #333;
  font-size: 18px;
}

.message-time {
  font-size: 14px;
  color: #999;
}

.message-content {
  color: #555;
  line-height: 1.6;
  font-size: 16px;
  margin-bottom: 15px;
}

.btn-delete {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  color: #ccc;
  cursor: pointer;
  font-size: 18px;
  transition: color 0.2s;
}

.btn-delete:hover {
  color: #e74c3c;
}

/* 空状态样式 */
.empty-tip {
  text-align: center;
  color: #999;
  padding: 50px 0;
  font-size: 16px;
}
/* 关于我css */
.header1 {
  position: relative;
  display: block;
  border-radius: 10px;
  padding: 5px 20px;
}
.main1 {
  position: relative;
  margin-left: 20px;
  margin-right: 20px;
  display: flex;
  border-radius: 10px;
  background-color: var(--c-bg-button);
  width: 700px;
  height: 550px;
  margin-top: 20px;
}
.post-card-content1 {
  position: relative;
  display: flex;
  padding: 20px 20px;
}
.post-card-content1 a {
  color: var(--c-text-primary);
}
.post-card-content1 a:hover {
  color: rgb(127, 240, 255);
}
.post-card-content1 h2 {
  font-size: 20px;
  font-weight: 900;
}
.txt {
  position: relative;
  display: flex;
  padding: 10px 40px;
  color: var(--c-text-primary);
}
.txt .text2 {
  font-weight: 700;
}
.text3 {
  position: relative;
  padding: 10px 30px;
  font-weight: 700;
  color: var(--c-text-primary);
}
.fetinr {
  position: absolute;
  display: block;
  padding: 30px;
}
.text5 {
  color: var(--c-text-primary);
  padding: 10px;
}
.text5 a {
  color: rgb(62, 127, 247);
}
.text5 a:hover {
  background-color: var(--c-bg-primary);
}
.text6 {
  color: var(--c-text-primary);
  padding: 10px;
}
.cop {
  position: relative;
  display: flex;
  /* padding: 10px; */
}
.cop a {
  padding: 10px;
  border-radius: 10px;
  margin-left: 10px;
  color: var(--c-text-primary);
}
.cop a:hover {
  background-color: var(--c-bg-primary);
}
.post-card-wrapper p {
  padding-top: 20px;

  color: var(--c-text-primary);
  font-size: 1.2rem;
  font-weight: 500;
}
