*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background: linear-gradient(to bottom, #0a0a1a 0%, #0d1117 30%, #0d1625 60%, #0a0f1a 100%);
    font-family: "Microsoft Yahei", "PingFang SC", sans-serif ;
    color: #ccc;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    background-attachment: fixed;
}
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
/* 第一层：密集小星 + 淡蓝淡黄星 */
/*body::before {*/
/*  content: "";*/
/*  position: fixed;*/
/*  top: 0; left: 0;*/
/*  width: 100%; height: 100%;*/
/*  pointer-events: none;*/
/*  z-index: -1;*/
/*  background:*/
/*    radial-gradient(1px 1px at 5% 10%, #fff, transparent),*/
/*    radial-gradient(1px 1px at 12% 25%, #fff, transparent),*/
/*    radial-gradient(1px 1px at 20% 8%, #fff, transparent),*/
/*    radial-gradient(1.5px 1.5px at 28% 40%, #fff, transparent),*/
/*    radial-gradient(1px 1px at 35% 15%, #fff, transparent),*/
/*    radial-gradient(1px 1px at 42% 32%, #fff, transparent),*/
/*    radial-gradient(1.5px 1.5px at 50% 5%, #fff, transparent),*/
/*    radial-gradient(1px 1px at 58% 22%, #fff, transparent),*/
/*    radial-gradient(1px 1px at 65% 45%, #fff, transparent),*/
/*    radial-gradient(1.5px 1.5px at 72% 10%, #fff, transparent),*/
/*    radial-gradient(1px 1px at 80% 35%, #fff, transparent),*/
/*    radial-gradient(1px 1px at 88% 16%, #fff, transparent),*/
/*    radial-gradient(1.5px 1.5px at 95% 28%, #fff, transparent),*/
/*    radial-gradient(1px 1px at 8% 55%, #fff, transparent),*/
/*    radial-gradient(1px 1px at 18% 70%, #fff, transparent),*/
/*    radial-gradient(1.5px 1.5px at 30% 62%, #fff, transparent),*/
/*    radial-gradient(1px 1px at 40% 78%, #fff, transparent),*/
/*    radial-gradient(1px 1px at 52% 68%, #fff, transparent),*/
/*    radial-gradient(1.5px 1.5px at 63% 82%, #fff, transparent),*/
/*    radial-gradient(1px 1px at 75% 58%, #fff, transparent),*/
/*    radial-gradient(1px 1px at 85% 72%, #fff, transparent),*/
/*    radial-gradient(1.5px 1.5px at 93% 85%, #fff, transparent),*/
/*    radial-gradient(1px 1px at 3% 88%, #fff, transparent),*/
/*    radial-gradient(1px 1px at 15% 95%, #fff, transparent),*/
/*    radial-gradient(1px 1px at 48% 48%, #fff, transparent),*/
/*    radial-gradient(1.5px 1.5px at 68% 92%, #fff, transparent),*/
/*    radial-gradient(1.5px 1.5px at 22% 50%, #aaccff, transparent),*/
/*    radial-gradient(1px 1px at 55% 38%, #aaccff, transparent),*/
/*    radial-gradient(1px 1px at 78% 62%, #aaccff, transparent),*/
/*    radial-gradient(1.5px 1.5px at 38% 85%, #aaccff, transparent),*/
/*    radial-gradient(1px 1px at 90% 42%, #aaccff, transparent),*/
/*    radial-gradient(1.5px 1.5px at 62% 18%, #ffeebb, transparent),*/
/*    radial-gradient(1px 1px at 10% 42%, #ffeebb, transparent),*/
/*    radial-gradient(1px 1px at 45% 72%, #ffeebb, transparent),*/
/*    radial-gradient(1.5px 1.5px at 82% 78%, #ffeebb, transparent);*/
/*  background-size: 400px 400px;*/
/*  animation: twinkle 4s ease-in-out infinite alternate;*/
/*}*/
/* 第二层：大颗亮星，慢速交替闪烁 */
body::after {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(2px 2px at 15% 18%, #fff, transparent),
    radial-gradient(3px 3px at 33% 28%, #fff, transparent),
    radial-gradient(2px 2px at 58% 12%, #fff, transparent),
    radial-gradient(3px 3px at 77% 32%, #fff, transparent),
    radial-gradient(2px 2px at 88% 8%, #fff, transparent),
    radial-gradient(3px 3px at 22% 65%, #fff, transparent),
    radial-gradient(2px 2px at 42% 52%, #fff, transparent),
    radial-gradient(3px 3px at 68% 75%, #ffeebb, transparent),
    radial-gradient(2px 2px at 8% 78%, #fff, transparent),
    radial-gradient(3px 3px at 52% 88%, #fff, transparent),
    radial-gradient(2px 2px at 82% 55%, #fff, transparent),
    radial-gradient(3px 3px at 95% 48%, #aaccff, transparent),
    radial-gradient(2px 2px at 28% 38%, #fff, transparent),
    radial-gradient(3px 3px at 48% 8%, #fff, transparent),
    radial-gradient(2px 2px at 35% 92%, #ffeebb, transparent),
    radial-gradient(3px 3px at 62% 42%, #aaccff, transparent);
  background-size: 500px 500px;
  animation: twinkle 5s ease-in-out 1s infinite alternate;
}
header {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 1px 1px rgba(0,0,0,0.08);
    padding: 16px 40px;
    position: sticky;
    top: 0;
    z-index: 1;
}
nav{
    display: flex;
    align-items: center;
    gap: 20px;
}
.logo{
    font-size: 20px;
    font-weight: bold;
    margin-right: auto;
}
nav a{
    text-decoration: none;
    color: #bbb;
    position: relative;
}
nav a:focus-visible {
    outline: 2px solid #1a73e8;
    outline-offset: 4px;
    border-radius: 2px;
}
nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1a73e8;
  transition: transform 0.2s ease;
}
nav a.active::after {
  transform: translateX(-50%) scale(1);
}
nav a:hover{
    color: #1a73e8;
}
/*.tag {*/
/*    background: #1a73e8;*/
/*    color: #fff;*/
/*    padding: 6px 18px;*/
/*    border-radius: 20px;*/
/*    font-size: 14px;*/
/*}*/
/* 背景切换 */
body.theme-0 { /* 星空（默认） */ }
body.theme-1 { /* 樱花粉 */
  background: linear-gradient(to bottom, #1a1a2e 0%, #2d1b3d 40%, #1a2a3e 100%);
}
body.theme-2 { /* 深海蓝 */
  background: linear-gradient(to bottom, #020d1a 0%, #061830 40%, #020d1a 100%);
}
body.theme-3 { /* 石墨黑 */
  background: linear-gradient(to bottom, #0a0a0a 0%, #141414 40%, #0a0a0a 100%);
}
body.theme-4 { /* 暗酒红 */
  background: linear-gradient(to bottom, #1a0d10 0%, #2a1520 40%, #1a0d10 100%);
}
body.theme-5 { /* 极光青 */
  background: linear-gradient(to bottom, #061a16 0%, #0d2a24 40%, #061a16 100%);
}
body.theme-6 { /* 靛紫 */
  background: linear-gradient(to bottom, #0d0a1a 0%, #1a1540 40%, #0d0a1a 100%);
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 12px;
    color: #aaa;
    font-size: 12px;
    z-index: 50;
    pointer-events: none;
}
@keyframes twinkle {
  0%   { opacity: 0.3; }
  30%  { opacity: 1; }
  60%  { opacity: 0.5; }
  100% { opacity: 0.3; }
}
/*流星*/
.star {
    position: fixed;
    top: -100px;
    width: 2px;
    height: 120px;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0), #fff);
    border-radius: 50%;
    animation: shoot 4s linear infinite;
}

.star-1 {
    left: 20%;
    animation-delay: 0s;
}
.star-2 {
    left: 60%;
    animation-delay: 2.5s;
}
@keyframes shoot {
    0% {
        transform: translate(0,0) rotate(-30deg);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    15% {
        transform: translate(600px,500px) rotate(-30deg);
        opacity: 0;
    }
    100% {
        transform: translate(600px,500px) rotate(-30deg);
        opacity: 0;
    }
}
/* 卡通星球 */
.cartoon-planet {
  position: fixed;
  top: 15%;
  right: -60px;
  z-index: 5;
  cursor: pointer;
  text-decoration: none;
  animation: planet-float 8s ease-in-out infinite;
}
.planet-body {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 30px rgba(100,180,255,0.3));
}
@keyframes planet-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes planet-float {
  0%, 100% { transform: translateY(0); }
  30%      { transform: translateY(-35px); }
  60%      { transform: translateY(-10px); }
}

#stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}
/*居中容器*/
.main-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  row-gap: 12px;
    max-width: 900px;
    margin: 24px auto;
    padding: 0 20px;
}
/*音乐卡片*/
.music-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    text-align: center;
}
.music-cover {
    width: 64px;
    height: 64px;
    margin: 0 auto 10px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1a73e8, #aaccff);
    overflow: hidden;
}
.music-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.music-card h3 {
    font-size: 15px;
    margin-bottom: 1px;
}
.music-card p {
    color: #888;
    font-size: 12px;
    margin-bottom: 8px;
}
.volume-area {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
}
.volume-area img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.volume-area input[type="range"] {
  width: 60px;
  flex: none;
  height: 4px;
  appearance: none;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.volume-area input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1a73e8;
  cursor: pointer;
}
.music-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    position: relative;
}
.music-controls button {
    background: transparent;
    border: none;
    color: #ccc;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.music-controls button:hover {
    background: rgba(255,255,255,0.1);
}
.music-controls button img {
    width: 22px;
    height: 22px;
}
.progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}
.progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(to right, #667eea, #764ba2, #f093fb);
    border-radius: 2px;
    transition: width 0.1s linear;
}
.hero {
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    padding: 0;
}
.hero-banner {
    width: 100%;
    height: 24px;
    background: linear-gradient(90deg, #334466, #445577, #334466);
}
.hero-body {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
}
.hero-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.hero-info h1 {
    font-size: 24px;
    margin-bottom: 6px;
}
.hero-info p {
    color: #888;
    font-size: 14px;
}
/* 进度条 + 时间 */
.progress-area {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.time {
    font-size: 11px;
    color: #888;
    min-width: 32px;
}

.progress-area .progress-bar {
    flex: 1;
    margin: 0;
}

/* 播放按钮特殊样式 */
.btn-play img {
    width: 28px !important;
    height: 28px !important;
}
.song-list {
    list-style: none;
    margin-top: 8px;
    text-align: left;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.song-list.open {
    max-height: 140px;
    overflow-y: auto;
    scrollbar-width: none;
}
.song-list.open::-webkit-scrollbar { display: none; }
.song-list::-webkit-scrollbar {
    width: 4px;
}
.song-list::-webkit-scrollbar-track {
    background: transparent;
}
.song-list::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
}
.song-list li {
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: #aaa;
    transition: all 0.2s;
}
.song-list li:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
    transform: translateX(4px);
}

.song-list-toggle {
    display: block;
    width: 100%;
    margin-top: 8px;
    background: none;
    border: none;
    color: #888;
    font-size: 11px;
    cursor: pointer;
    padding: 2px;
}
.song-list-toggle:hover {
    color: #fff;
}

/* 歌词显示 */
.lyrics-box {
  grid-column: 1 / -1;
  height: 60px;
  background: linear-gradient(135deg, #1e2a3a, #251e30);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
}
.lyrics-icon {
  width: 36px;
  height: 36px;
  opacity: 0.8;
  flex-shrink: 0;
}

/* 两侧频谱 */
.viz-side {
  position: fixed;
  top: 0;
  height: 100%;
  width: 800px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}
#viz-left { left: 0; top: 0; }
#viz-right { right: 0; top: 0; }
.lyrics-inner {
  text-align: center;
}
.lyrics-box p {
  padding: 0;
  margin: 0;
  color: #ccc;
  font-size: 15px;
  font-weight: bold;
  transition: opacity 0.3s;
}

/* 右下角迷你播放器 */
.mini-player {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 8px 16px;
  overflow: hidden;
}
.mini-cover-wrap {
  display: block;
  width: 28px;
  height: 28px;
  overflow: hidden;
  border-radius: 50%;
  flex-shrink: 0;
}
.mini-cover {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  animation: spin 6s linear infinite;
  animation-play-state: paused;
}
.mini-cover.playing {
  animation-play-state: running;
}

/* 音乐页面 */
.music-page {
  display: none;
  max-width: 600px;
  margin: 24px auto;
  padding: 0 20px;
}
.music-page.show {
  display: block;
}
.music-page-content {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}
.music-page-content h2 {
  font-size: 20px;
  margin-bottom: 24px;
}
.music-page-player {
  margin-bottom: 20px;
}
.music-page-cover {
  width: 160px;
  height: 160px;
  margin: 0 auto 16px;
  border-radius: 12px;
  overflow: hidden;
}
.music-page-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.music-page h3 {
  font-size: 20px;
  margin-bottom: 4px;
}
.music-page > p {
  color: #888;
  font-size: 14px;
  margin-bottom: 16px;
}
.music-page-list {
  list-style: none;
  text-align: left;
  margin-bottom: 16px;
  max-height: 126px;
  overflow-y: auto;
  scrollbar-width: none;
  transition: max-height 0.35s ease;
}
.music-page-list::-webkit-scrollbar { display: none; }
.music-page-list.open2 {
  max-height: 2000px;
}
.music-page-list li {
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #aaa;
  transition: all 0.2s;
}
.music-page-list li:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  transform: translateX(4px);
}
.add-music-card {
  margin-top: 24px;
  padding: 24px 32px;
  text-align: left;
}
.add-music-card h4 {
  font-size: 15px;
  margin-bottom: 12px;
  color: #ccc;
}
.add-music-card input {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: #ccc;
  font-size: 13px;
  outline: none;
  font-family: inherit;
}
.add-music-card input[type="file"] {
  padding: 6px;
  cursor: pointer;
}
.add-music-card button {
  width: 100%;
  padding: 8px;
  background: #1a73e8;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}

.back-link {
  color: #888;
  font-size: 13px;
  text-decoration: none;
}
.back-link:hover { color: #fff; }

/* 联系页面 */
.contact-page {
  display: none;
  max-width: 600px;
  margin: 24px auto;
  padding: 0 20px;
}
.contact-page.show {
  display: block;
}
.contact-page-content {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}
.contact-page-content h2 {
  font-size: 20px;
  margin-bottom: 24px;
}
.contact-links {
  text-align: left;
  margin-bottom: 20px;
}
.contact-item {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  margin-bottom: 8px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  text-decoration: none;
}
.contact-item:hover {
  background: rgba(255,255,255,0.08);
}
.contact-label {
  color: #aaa;
  font-size: 14px;
}
.contact-value {
  color: #fff;
  font-size: 14px;
}

/* 留言板页面 */
.guestbook-page {
  display: none;
  max-width: 900px;
  margin: 24px auto;
  padding: 0 20px;
  min-height: calc(100vh - 150px);
}
.guestbook-page.show {
  display: block;
}
.guestbook-container {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 32px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.guestbook-container .guestbook-list {
  flex: 1;
}
.guestbook-container h2 {
  font-size: 20px;
  margin-bottom: 20px;
  text-align: center;
}
.guestbook-form input,
.guestbook-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #ccc;
  font-size: 14px;
  outline: none;
  resize: none;
  font-family: inherit;
}
.msg-avatar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.avatar-upload-btn {
  padding: 6px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: #aaa;
  font-size: 12px;
  cursor: pointer;
}
.avatar-upload-btn:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

input:focus-visible, textarea:focus-visible, button:focus-visible {
    outline: 2px solid #4488dd;
    outline-offset: 2px;
}
.guestbook-form button {
  width: 100%;
  padding: 10px;
  background: #1a73e8;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}
.guestbook-list {
  margin-top: 24px;
}
.guestbook-list .msg {
  padding: 14px 16px;
  margin-bottom: 10px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.04);
}
.msg-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}
.guestbook-list .msg .name {
  color: #1a73e8;
  font-size: 13px;
}
.guestbook-list .msg .text {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
}
.guestbook-list .msg .time {
  color: #555;
  font-size: 11px;
  margin-top: 8px;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.mini-player button {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-player button img {
  width: 15px;
  height: 15px;
}
/* 展示区 */
.showcase-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  margin-top: 12px;
  align-items: start;
}
.carousel-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: 520px;
}
.carousel-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}
.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  user-select: none;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.carousel-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.3s;
}
.carousel-dots span.active { background: #fff; }

.right-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.placeholder-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #666;
  font-size: 14px;
  min-height: 150px;
}
.placeholder-card p:first-child { font-size: 16px; color: #888; }

/* 图片放大灯箱 */
.lightbox {
  display:none; position:fixed; inset:0; z-index:200;
  background:rgba(0,0,0,0.9); align-items:center; justify-content:center;
  cursor:pointer;
}
.lightbox.show { display:flex; }
.lightbox img {
  max-width:90vw; max-height:90vh; object-fit:contain;
  border-radius:8px; box-shadow:0 0 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position:absolute; top:24px; right:32px; color:#aaa;
  font-size:28px; cursor:pointer; z-index:201;
}
.lightbox-close:hover { color:#fff; }

/* 刮刮乐页面 */
.scratch-page { display:none; }
.scratch-page.show { display:flex; align-items:center; justify-content:center; position:fixed; inset:0; z-index:60; }
.scratch-card {
  width:360px; background:rgba(255,255,255,0.06);
  backdrop-filter:blur(16px); border:1px solid rgba(255,255,255,0.1);
  border-radius:20px; padding:40px 30px; text-align:center;
}
.scratch-card h2 { font-size:22px; margin-bottom:8px; }
.scratch-date { color:#888; font-size:12px; margin-bottom:24px; }
.scratch-area { position:relative; width:280px; height:160px; margin:0 auto; border-radius:12px; overflow:hidden; }
.scratch-area canvas { position:absolute; top:0; left:0; cursor:pointer; }
.scratch-reveal {
  width:100%; height:100%; display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  background:linear-gradient(135deg, #1a1a2e, #2d1b3d);
  border-radius:12px; padding:20px;
}
.scratch-fortune { font-size:28px; margin-bottom:4px; }
.scratch-desc { font-size:16px; margin-bottom:8px; }
.scratch-quote { font-size:14px; color:#aaa; line-height:1.6; max-width:240px; }
.scratch-hint { color:#666; font-size:12px; margin-top:16px; }
.scratch-renew {
  margin-top:10px; padding:6px 20px; background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.12); border-radius:20px;
  color:#aaa; font-size:12px; cursor:pointer;
}
.scratch-renew:hover { background:rgba(255,255,255,0.14); color:#fff; }
.scratch-back { display:inline-block; margin-top:16px; color:#888; text-decoration:none; font-size:12px; }
.scratch-back:hover { color:#fff; }

.theme-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 99;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-fab:hover {
  background: rgba(255,255,255,0.15);
}

.mini-player button:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

/* ===== 天气卡片 ===== */
.weather-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.15) 2px 3px 4px;
}

/* ---------- 天气主体 ---------- */
.weather-info {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 75%;
  color: white;
}

.weather-left {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 100%;
  z-index: 1;
  padding-left: 18px;
}

.weather-condition {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
}

.weather-condition div {
  display: flex;
  align-items: center;
}

.weather-condition div:nth-child(1) {
  width: 40%;
  height: auto;
}

.weather-temp {
  font-size: 34pt;
  font-weight: 500;
  line-height: 50%;
}

.weather-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-around;
  height: 100%;
  padding-right: 18px;
  z-index: 1;
}

.weather-right > div {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.weather-time {
  font-size: 19pt;
  line-height: 1em;
}

.weather-date {
  font-size: 14px;
}

/* ---------- 背景圆圈 ---------- */
.weather-bg {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #ec7263;
  overflow: hidden;
}

.w-circle {
  background-color: #efc745;
}

.w-circle:nth-child(1) {
  position: absolute;
  top: -80%;
  right: -50%;
  width: 300px;
  height: 300px;
  opacity: 0.4;
  border-radius: 50%;
}

.w-circle:nth-child(2) {
  position: absolute;
  top: -70%;
  right: -30%;
  width: 210px;
  height: 210px;
  opacity: 0.4;
  border-radius: 50%;
}

.w-circle:nth-child(3) {
  position: absolute;
  top: -35%;
  right: -8%;
  width: 100px;
  height: 100px;
  opacity: 1;
  border-radius: 50%;
}

/* ---------- 天气预报栏 ---------- */
.weather-days {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 25%;
  background-color: #974859;
  gap: 2px;
  box-shadow: inset 0px 2px 5px #974859;
}

.weather-days button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  background-color: #a75265;
  border: none;
  box-shadow: inset 0px 2px 5px #974859;
  cursor: pointer;
  transition: 100ms ease;
  gap: 5px;
}

.weather-days button:hover {
  scale: 0.9;
  border-radius: 10px;
}

.weather-days .day {
  font-size: 10pt;
  font-weight: 500;
  color: white;
  opacity: 0.7;
}

.day-icon {
  display: flex;
  align-items: center;
  width: 20px;
  height: 100%;
}

