::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none;
}

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 70px;
}

#music-control {
    position: fixed;
    right: 40px;
    bottom: 100px;
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s ease;
    width: 50px;
    height: 50px;
}

#music-control:hover {
    transform: scale(1.1);
}

#music-control svg {
    width: 100%;
    height: 100%;
}

.play-icon,
.pause-icon {
    fill: #FFF;
}

.pause-icon {
    display: none;
}

.playing .play-icon {
    display: none;
}

.playing .pause-icon {
    display: block;
}

#music-tip {
    position: fixed;
    right: 20px;
    bottom: 150px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    max-width: 250px;
    display: none;
    z-index: 1000;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#music-tip h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #FFD700;
}

#music-tip p {
    margin: 0;
    font-size: 14px;
}

#close-tip {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

#music-player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    backdrop-filter: none;
    color: white;
    padding: 10px 0;
    z-index: 999;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
    pointer-events: none;
}

.song-info,
#song-name,
#song-artist,
#lrc {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.music-info {
    text-align: center;
    padding: 5px 15px;
    max-width: 90%;
}

.song-info {
    font-size: 16px;
    margin: 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#song-name {
    display: inline;
    font-size: 18px;
    color: #FFD700;
    margin: 0 5px;
}

#song-artist {
    display: inline;
    font-size: 16px;
    margin: 0 5px;
}

#lrc {
    font-size: 18px;
    font-weight: bold;
    color: #FFD700;
    margin: 8px 0;
    min-height: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.lrc-scroll {
    display: inline-block;
    padding-left: 100%;
    animation: lrcScroll 15s linear infinite;
}

@keyframes lrcScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

#tp-weather-widget .sw-container {
    left: unset;
    right: 5px;
    top: 5px;
    bottom: unset;
}

span {
    color: #FFD700;
}

.aplayer span {
    color: #000000;
}

.aplayer-lrc-contents .aplayer-lrc-current {
    color: white !important;
}

/* 增强版搜索框样式 */
.footer-search-section {
    margin: 40px auto 0;
    max-width: 720px;
    padding: 20px 0;
}

.search-caption {
    text-align: center;
    color: #FFD700;
    font-family: 'youshe';
    font-size: 26px;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.search-divider {
    border-top: 2px solid rgba(255, 215, 0, 0.3);
    width: 80%;
    margin: 15px auto 25px;
    opacity: 0.6;
}

.inline-search {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    max-width: 600px;
}

.flat-input {
    width: 100%;
    padding: 15px 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 17px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.flat-input:focus {
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    background: rgba(0, 0, 0, 0.6);
}

.icon-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    opacity: 0;
    background: linear-gradient(45deg, #FFD700, #FFB700);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.flat-input:focus+.icon-btn,
.flat-input:not(:placeholder-shown)+.icon-btn {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.icon-btn:hover {
    transform: translateY(-50%) scale(1.1) rotate(15deg);
}

/* 右下角导航系统 */
.fixed-corner {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.fixed-corner:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-3px);
}

.nav-popup {
    position: fixed;
    right: -300px;
    bottom: 90px;
    width: 280px;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 15px;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-popup.show {
    right: 30px;
}

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

.popup-header h5 {
    color: #FFD700;
    font-family: 'youshe';
    margin: 0;
    font-size: 20px;
}

.nav-grid {
    display: grid;
    gap: 12px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-ico {
    width: 24px;
    height: 24px;
    fill: #FFD700;
}

@media (max-width: 768px) {
    .flat-input {
        width: 70%;
    }

    .nav-popup {
        width: 250px;
        bottom: 80px;
        right: -250px;
    }

    .nav-popup.show {
        right: 15px;
    }
}









@font-face {
    font-family: "lazy";
    src: url(font/font.ttf);
}

@font-face {
    font-family: "youshe";
    src: url(font/youshe.ttf);
}

.msg {
    font-size: 48px;
    margin-bottom: 50px;
    /*font-family: "youshe";*/
}

.day {
    font-size: 48px;
    margin-bottom: 50px;
    font-family: "lazy";
}

.countdown {
    font-family: "lazy";
    font-size: 64px;
    display: inline-block;
}

.words {
    font-family: "youshe";
    font-size: 64px;
    display: inline-block;
}

.saying {
    font-family: "youshe";
    font-size: 64px;
    display: inline-block;
}

.saying-text {
    font-family: "youshe";
    font-size: 64px;
    display: inline-block;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'sans-serif';
    -webkit-tap-highlight-color: rgba(0 0 0 / 0);
    -webkit-text-size-adjust: none;
    color: #fff;
    text-shadow: 0 0 5px rgba(0 0 0 / .5);
}

html,
body {
    height: 100%;
}

.bgi {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    user-select: none;
    pointer-events: none;
    filter: brightness(.5);
    background-color: #333;
}

.bgi img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: middle;
}

.container {
    width: 100%;
    min-height: 100%;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.banner {
    height: 50px;
    width: 100%;
}

.banner .logo {
    text-decoration: none;
    display: inline-block;
    width: auto;
    height: 100%;
    background-color: #007bff;
    color: #fff;
    line-height: 50px;
    padding: 0 25px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 0 0 10px 10px;
    text-shadow: 0 0 5px rgba(0 0 0 / .3);
    transition: background-color .2s;
}

.banner .logo:hover {
    background-color: #3094ff;
}

main .msg {
    padding-top: 60px;
}

main .msg,
main .countdown {
    font-size: 64px;
    font-weight: 700;
}

main .countdown span {
    font-size: 42px;
}

main #day {
    font-size: 120px;
}

main .words {
    font-family: "lazy";
    width: 80%;
    padding-top: 80px;
}

main .words span {
    /*font-family: "lazy";*/
    font-size: 28px;
    font-style: italic;
    line-height: 1.6;
}

footer {
    padding-bottom: 60px;
}

footer p {
    line-height: 1.5;
    font-size: 15px;
}

footer a {
    transition: color .2s;
}

footer a:hover {
    color: #3094ff;
    text-shadow: 0 0 5px rgba(0 0 0 / 0);
}



@media screen and (max-width: 1050px) {

    main .msg,
    main .countdown {
        font-size: 50px;
    }

    main .countdown span {
        font-size: 34px;
    }

    main #day {
        font-size: 100px;
    }

    main .words {
        width: 100%;
    }

    main .words span {
        font-size: 24px;
    }
}

@media screen and (max-width: 850px) {

    main .msg,
    main .countdown {
        font-size: 38px;
    }

    main .countdown span {
        font-size: 26px;
    }

    main #day {
        font-size: 80px;
    }

    main .words span {
        font-size: 20px;
    }
}

@media screen and (max-width: 650px) {

    main .msg,
    main .countdown {
        font-size: 28px;
    }

    main .countdown span {
        font-size: 20px;
    }

    main #day {
        font-size: 48px;
    }

    main .words span {
        font-size: 18px;
    }
}

@media screen and (max-width: 450px) {
    .banner {
        height: 40px;
    }

    .banner .logo {
        font-size: 15px;
        line-height: 40px;
        padding: 0 20px;
    }

    main .msg,
    main .countdown {
        font-size: 24px;
    }

    main .countdown span {
        font-size: 18px;
    }

    main #day {
        font-size: 38px;
    }

    main .words span {
        font-size: 16px;
    }

    footer {
        padding-bottom: 30px;
    }
}

.popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;
    padding: 10px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 18px;
    cursor: pointer;
}

/*Lantern*/
/*Lan-END*/


#tp-weather-widget .sw-container {
    left: unset;
    right: 5px;
    top: 5px;
    bottom: unset;
}

/* 弹窗样式 */
.welcome-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.welcome-popup .popup-content {
  background-color: #1e1e1e;
  padding: 30px;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid #333;
}

.welcome-popup h3 {
  font-size: 28px;
  color: #FFD700;
  margin-bottom: 20px;
  font-family: 'youshe';
}

.welcome-popup p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #e0e0e0;
  text-align: left;
}

.welcome-popup .wechat {
  color: #FFD700;
  font-weight: bold;
}

#confirm-btn {
  background-color: #333;
  color: #FFD700;
  border: 1px solid #555;
  padding: 12px 30px;
  font-size: 18px;
  border-radius: 8px;
  margin-top: 20px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s;
}

#confirm-btn:hover {
  background-color: #444;
  transform: translateY(-2px);
}