.horizontal-player {
    display: flex;
    position: fixed;
    bottom: 5%;
    z-index: 1000;
    align-items: center;
    width: 100%;
    max-width: 600px;
    height: 80px;
    background-color: black;
    border-radius: 8px;
    padding: 0 15px;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.about-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 40px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}
a {
    color: #555;
    text-decoration: none;
}

a:hover {
    color: #000;
}
.author {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.author img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 20px;
    border: 2px solid #ddd;
}

.footer {
    text-align: center;
    margin-top: 40px;
    font-size: 12px;
    color: #777;
}


.content {
font-size: 1.5rem;
font-weight: bold;
text-align: center;
}

.source {
text-align: right;
font-style: italic;
color: #6c757d;
margin-top: 0;
}

.player-cover {
    margin-right: 15px;
}

.player-cover img {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.player-info {
    flex: 1;
    min-width: 0;
    margin-right: 15px;
}

.song-title {
    font-size: 16px;
    font-weight: 600;
    color: #ecf0f1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-artist {
    font-size: 13px;
    color: #bdc3c7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-controls {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.control-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ecf0f1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: all 0.2s ease;
}

.control-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.control-btn:active {
    transform: scale(0.95);
}

.progress-container {
    display: flex;
    align-items: center;
    width: 200px;
}

.progress-bar {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background-color: #fff;
    margin: 0 10px;
    cursor: pointer;
}

.progress {
    height: 100%;
    background-color: #3498db;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

.time-current,
.time-total {
    font-size: 12px;
    color: #bdc3c7;
    min-width: 40px;
    text-align: center;
}

/* 响应式调整 */
@media (max-width: 600px) {
    .progress-container {
        display: none;
    }

    .player-controls {
        margin-right: 0;
    }
}

#search-suggestions {
    position: absolute;
    background-color: rgba(255, 255, 255);
    /* 半透明背景 */
    border: 1px solid #ccc;
    border-top: none;
    z-index: 1000;
    flex: 1;
    /* 与输入框宽度一致 */
    max-height: 250px;
    /* 限制最大高度 */
    overflow-y: auto;
    /* 超出部分显示滚动条 */
}

#search-suggestions div {
    padding: 5px 10px;
    cursor: pointer;
    color: "black";
}

#search-suggestions div:hover {
    background-color: #f0f0f0;
}

.scrollable-table {
    max-height: 70vh;
    /* 限制最大高度 */
    overflow-y: auto;
    /* 超出部分显示滚动条 */
    width: 100%;
    /* 宽度自适应 */
}

table {
    width: 100%;
    /* 表格宽度自适应 */
    border-collapse: collapse;
    /* 合并边框 */
    text-align: center;
    /* 文本居中 */
    vertical-align: middle;
    /* 垂直居中 */
    border: none;
    /* 边框 */
}

th,
td {
    border: 1px solid #ccc;
    /* 单元格边框 */
    padding: 8px;
    /* 单元格内边距 */
    border: none;
    /* 边框 */
}

th {
    position: sticky;
    top: 0;
    /* 固定表头在顶部 */
    background-color: rgba(255, 255, 255, 0.8);
    /* 半透明背景 */
    backdrop-filter: blur(5px);
    /* 模糊效果 */
    z-index: 800;
    /* 确保表头在最上层 */
}

/* 歌词容器 - 可滚动区域 */
#lyrics-container {
    max-height: 75vh;
    /* 限制最大高度 */
    overflow-y: auto;
    /* 垂直滚动 */
    scroll-behavior: smooth;
    /* 平滑滚动 */
    padding: 20px;
    text-align: center;
}

/* 歌词行样式 */
.lyric-line {
    padding: 10px 0;
    font-size: 20px;
    color: #000;
    transition: all 0.3s ease;
    line-height: 1.4;
}

/* 当前歌词高亮样式 */
.lyric-line.active {
    color: hsl(236, 84%, 66%);
    font-size: 26px;
    font-weight: bold;
}

/* 隐藏滚动条（可选） */
#lyrics-container::-webkit-scrollbar {
    display: none;
}
body {
    display: flex;
    justify-content: center;
    /* 水平居中 */
    transition-duration: 300ms !important;
    height: 100vh;
    /* 高度占满视口 */
    width: 100vw;
    /* 宽度占满视口 */
    margin: 0;
    padding: 20px;
    background: white;
    font-family: 'Arial', sans-serif;
}

.content {
    position: relative;
    z-index: 10;
    color: black;
    padding: 20px;
    text-align: center;
}

#music-container {
    position: fixed;
    /* 脱离文档流 */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    /* 隐藏溢出内容 */
    pointer-events: none;
    /* 允许穿透点击 */
    z-index: 9999;
    /* 确保在最上层 */
}

.music-note {
    position: absolute;
    top: -50px;
    /* 初始位置在视口上方 */
    animation-timing-function: linear;
    will-change: transform;
    /* 性能优化 */
}

@keyframes falling {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(calc(100vh + 50px));
        /* 使用视口单位 */
    }
}

#loading {
    display: none;
    /* 默认隐藏 */
    justify-content: center;
    align-items: center;
    position: absolute;
    /* 使用绝对定位 */
    top: 30%;
    /* 设置为垂直居中 */
    left: 50%;
    /* 设置为水平居中 */
    transform: translate(-50%, -50%);
    /* 移动到屏幕中心 */
}

#loading img {
    width: 40px;
    /* 图片宽度 */
    height: 40px;
    /* 图片高度 */
    border-radius: 50%;
    /* 裁剪图片为圆形 */
    animation: spin 1s linear infinite;
    /* 旋转动画 */
}

#loading span {
    font-size: 16px;
    /* 设置文本大小 */
    color: #555;
    /* 设置文本颜色 */
}

@keyframes falling {
    from {
        transform: translateY(-50px);
        /* 从屏幕外开始 */
    }

    to {
        transform: translateY(calc(100vh + 50px));
        /* 落到屏幕外 */
    }
}



.navbar {
    background-color: var(--pu-navbar-bg-color);
    transition-duration: 300ms !important;
}

.navbar-brand {
    color: var(--pu-text);
    transition-duration: 300ms !important;
}

.navbar-brand:hover {
    color: var(--pu-hover);
    transition-duration: 300ms !important;
}

.nav-link:hover {
    color: var(--pu-hover);
    transition-duration: 300ms !important;
}

.pu-navbar-icon {
    color: var(--pu-text) !important;
    transition-duration: 300ms !important;
}

.pu-navbar-icon:hover {
    color: var(--pu-hover) !important;
    transition-duration: 300ms !important;
}



.card {
    background-color: var(--pu-card-bg-color);
    transition-duration: 300ms !important;
}


.form-label {
    color: var(--pu-text) !important;
    transition-duration: 300ms !important;
}



.table {
    --bs-table-color: var(--pu-text) !important;
    --bs-table-bg: var(--pu-bg-color) !important;
    --bs-table-hover-color: var(--pu-bg-color) !important;
    transition-duration: 300ms !important;
}

.btn-outline-secondary {
    color: var(--pu-btn-bg-color);
    transition-duration: 300ms !important;
}

.btn-outline-secondary:hover {
    color: var(--pu-btn-bg-color-hover);
    transition-duration: 300ms !important;
}

.text-muted {
    color: var(--pu-text-muted) !important;
    transition-duration: 300ms !important;
}

.svg {
    color: var(--pu-svg) !important;
    transition-duration: 300ms !important;
}

/* 增大底部容器的内边距 */
#progress-bar-outer {
    padding-bottom: env(safe-area-inset-bottom);
    /* 适配iPhone底部安全区域 */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}


.progress {
    --bs-progress-bg: var(--pu-card-bg-color) !important;
    transition-duration: 300ms !important;
}

.form-range {
    --bs-tertiary-bg: var(--pu-card-bg-color) !important;
    transition-duration: 300ms !important;
}

.button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none;
}