body {
    margin: 0;
    padding: 0;
    font-family: 'Songti SC', 'Times New Roman', serif;
    min-height: 100vh;
    position: relative;
    user-select: none; /* 全局禁用选中 */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: none;
}

.book-page {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    border-radius: 8px;
    position: relative;
    min-height: 80vh;
}

header {
    text-align: center;
    padding-bottom: 20px;
}

h1 {
    font-size: 2.2em;
    margin: 0;
    font-weight: normal;
}

nav {
    position: relative;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    font-size: 1.1em;
}

nav a:hover {
    color: #9c6a3b;
}

main {
    margin-top: 30px;
}

.info-section {
    margin-bottom: 40px;
}

h2 {
    font-size: 1.6em;
    padding-left: 10px;
    margin-bottom: 20px;
}

p, li {
    font-size: 1.1em;
    line-height: 1.8;
}

ul {
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
}

/* 联系表单 */
.contact-form {
    max-width: 500px;
}

.contact-form label {
    display: block;
    margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-radius: 4px;
    font-family: inherit;
    user-select: auto; /* 恢复输入框的默认选中（会被JS动态控制） */
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
}

/* 调整message-container */
.message-container {
    display: flex;
    align-items: flex-end; /* 底部对齐 */
    gap: 10px; /* 间距 */
}

/* 确保留言框和按钮的包裹元素不干扰对齐 */
.message-container p {
    margin: 0; /* 去掉p的默认margin */
    flex: 1; /* 占满剩余空间 */
}

/* 确保label不影响对齐 */
.message-container label {
    display: block;
    margin-bottom: 0; /* 去掉label的margin-bottom */
}

/* 调整textarea样式，确保无额外间距 */
.contact-form textarea {
    height: 100px;
    resize: vertical;
    box-sizing: border-box;
}

/* 调整按钮样式，确保底部对齐 */
.contact-form button {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.2em;
    background-color: #9c6a3b;
    color: white;
    margin: 0;
    box-sizing: border-box;
}

.contact-form button:hover {
    background-color: #b5894e;
}