body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("bg.png") no-repeat center center/cover;
    margin: 0;
}

.glass-container {
    position: relative;
    top: 315px;
    left: 7.5%;
    padding: 50px;
    border-radius: 20px;
    backdrop-filter: blur(15px);

    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0);
}

.glass-container button {

    position: absolute;
    top: 82%;
    right: 40%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, rgb(255, 154, 158, 0.3), rgb(254, 207, 239, 0.4), rgb(253, 252, 251, 0.1));
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(40px);
    transition: all 0.25s ease;
    color: white;
    border: 1px;
    font-size: 22;
}
.glass-container button:hover {
   background: linear-gradient(135deg, rgb(255, 154, 158, 0.3), rgb(254, 207, 239, 0.4), rgb(253, 252, 251, 0.1));
 
    transform: translateY(-3px) scale(1.05);
}
.glass-container button:active {
    transform: translateY(0) scale(0.98);
}

.glass-textarea {
    overflow-y: auto;
    width: 100%;
    height: 140px;

    padding: 16px 18px;
    border-radius: 14px;

    border: 0px solid rgba(255, 255, 255, 0);
    outline: none;

    resize: none;

    font-size: 20px;
    line-height: 1.5; 
    font-family: 'clockfont';
    src: url("/DS-DIGI-1.ttf");
    color: rgba(255, 255, 255, 0.9);

   background: linear-gradient(135deg, rgb(255, 154, 158, 0.3), rgb(254, 207, 239, 0.4), rgb(253, 252, 251, 0.1));
 
    backdrop-filter: blur(10px);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.4) transparent;

}

/* 占位符 */
.glass-textarea::placeholder {
        font-size: 20px;
    line-height: 1.5; 
    font-family: 'clockfont';
    src: url("/DS-DIGI-1.ttf");
    color: rgba(255, 255, 255, 0.5);
}

/* 滚动条整体宽度 */
.glass-textarea::-webkit-scrollbar {
    width: 6px;
    transition: width 0.3s ease;
}

/* 鼠标移入整个 textarea 时，滚动条变宽 */
.glass-textarea:hover::-webkit-scrollbar {
    width: 10px;
}

/* 滑块样式 */
.glass-textarea::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* 鼠标悬浮在滑块上时 */
.glass-textarea::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}