:root {
    --theme-color: #2A82EE;
}

html {
    overflow-x: hidden;
    overflow-y: scroll;
    background:#f4f4f4;
    color: #333;
    max-width: 800px;
    margin: auto;
}

* {
    box-sizing: border-box;
    transition: all 0.3s;
}

a {
    text-decoration: none;
}

body,
dl,
dt,
dd,
ul,
ol,
li,
pre,
form,
fieldset,
input,
p,
blockquote,
th,
td {
    font-weight: 400;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h4,
h5 {
    margin: 0;
    padding: 0;
}

p {
    word-wrap: break-word
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

ol,
ul {
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
}

.wl-container {
    width: 92%;
    max-width: 1440px;
    margin: auto;
}

.padd {
    padding: 80px 0;
}

.cursor_pointer {
    cursor: pointer;
}
.bg-white{
    background:#fff;
}
/* 导航栏容器 */

.ellipsis1 {
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.ellipsis2 {
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/*flex*/
.flex1 {
    flex: 1;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex {
    display: -webkit-box;
    /* Chrome 4+, Safari 3.1, iOS Safari 3.2+ */
    display: -moz-box;
    /* Firefox 17- */
    display: -webkit-flex;
    /* Chrome 21+, Safari 6.1+, iOS Safari 7+, Opera 15/16 */
    display: -moz-flex;
    /* Firefox 18+ */
    display: -ms-flexbox;
    /* IE 10 */
    display: flex;
    /* Chrome 29+, Firefox 22+, IE 11+, Opera 12.1/17/18, Android 4.4+ */
}

.flex-center {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
}

.flex-end {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
}

.space-between {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.flex-start {
    -webkit-box-align: start;
    -ms-flex-align: start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
}

.align-items_flex-end {
    -webkit-box-align: end;
    -ms-flex-align: end;
    -webkit-align-items: flex-end;
    align-items: flex-end;
}

.align-items_center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.align-items_baseline {
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    -webkit-align-items: baseline;
    align-items: baseline;
}

.flex-direction_column {
    flex-direction: column;
}


.swiper-button-next,
.swiper-button-prev {
    color: var(--button-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.3s;
}

.swiper-button-next:after,
.swiper-button-prev::after {
    font-size: 20px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: .8;
}

.swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    border: 1px solid var(--button-color);
    opacity: 1;
    background: transparent;
    margin: 0 6px !important;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #F5BF67;
    border-color: #F5BF67;
}

.img-container {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
}

.img-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s;
    transform: translate(-50%, -50%);
}

.app {
    height: 100vh;
    overflow: hidden;  
}
.top-image {
    flex-shrink: 0;     
    width: 100%;
}
.top-image img {
    display: block;     
    width: 100%;
    height: auto;      
}
.wenan-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.swiper-container {
    width: 100%;
    height: 90%;
}
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    transition: transform 0.2s ease;
}


.card {
    background-color: rgba(255, 255, 255, 0.5);
    width: 92%;
    margin: 0 auto;
    border-radius: 12px;
    padding: 20px 18px;
    transition: all 0.2s ease;
    cursor: pointer;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    backdrop-filter: blur(10px);
}
.card .preview {
    font-size: 1rem;
    line-height: 1.45;
    color: #333;
    font-weight: 500;
    text-align: center;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    letter-spacing: 0.3px;
}
.card::before {
    content: '“';
    font-size: 2rem;
    color: #2A82EE;
    opacity: 0.2;
    position: absolute;
    top: 8px;
    left: 18px;
    font-family: serif;
    pointer-events: none;
}

.modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    z-index: 1000;
    display: none;              
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, backdrop-filter 0.2s ease;
}

.modal-mask.active {
    display: flex;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}


.full-text {
    font-size: 15px;
    line-height: 1.55;
    color: #000;
    margin-bottom: 24px;
    text-align: left;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 280px;
    overflow-y: auto;
    letter-spacing: 0.2px; 
}

.modal-wrapper .btn {
    display: block;
    width: 70%;
    border: none;
    background-color: #2A82EE;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 0;
    border-radius: 60px;
    margin: 24px auto 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    text-align: center;
    font-family: inherit;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(42,130,238,0.3);
}

.modal-wrapper .btn:active {
    transform: scale(0.97);
    background-color: #1a6bc9;
}

.copy-btn {
    margin-top: 4px;
}

/* 滚动条美化 */
.full-lyric::-webkit-scrollbar {
    width: 4px;
}
.full-lyric::-webkit-scrollbar-track {
    background: #e9eef3;
    border-radius: 4px;
}
.full-lyric::-webkit-scrollbar-thumb {
    background: #b9c4d1;
    border-radius: 4px;
}

/* 复制提示toast */
.toast-tip {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    color: white;
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 0.8rem;
    z-index: 1200;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    white-space: nowrap;
}
.toast-tip.show {
    opacity: 1;
}


.modal-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 360px;
    margin: 0 20px;
    position: relative;
}

.circle-close-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 20px;
    font-weight: 300;
    color: #333;
    cursor: pointer;
    margin-top: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    font-family: system-ui, -apple-system;
    line-height: 1;
    padding: 0;
}

.circle-close-btn:active {
    transform: scale(0.92);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* 白色弹窗卡片 (原modal-container，移除内部关闭按钮) */
.modal-container {
    background-color: rgba(255,255,255,.9);
    width: 100%;
    border-radius: 20px;
    padding: 28px 24px 32px 24px;
    box-shadow: 0 30px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: modalPop 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    backdrop-filter: blur(10px);
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}


/* 弹窗开启时锁定body滚动 */
body.modal-open {
    overflow: hidden;
}


