body {
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 500; /* Heavy字重 */
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 20px;
    background-color: #000000;
    background-image: url('4月掉粉月刊.png');
    background-size: cover;
    background-attachment: fixed;
    transition: all 0.3s ease;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.226);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    position: relative;
    backdrop-filter: blur(5px);
}

h1 {
    text-align: center;
    color: #333;
    margin-top: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.timetable {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.timetable th, .timetable td {
    border: 1px solid rgba(0, 0, 0, 0.5);
    padding: 12px;
    text-align: center;
}

.timetable th {
    background-color: rgba(76, 175, 80, 0.8);
    color: rgb(0, 0, 0);
}

.timetable td {
    height: 80px;
    vertical-align: top;
    background-color: rgba(0, 0, 0, 0.5);
}

.course {
    border-radius: 4px;
    padding: 6px;
    color: #000000;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.3);
    margin: 2px;
}

.footer {
    text-align: center;
    margin-top: 20px;
    color: #000000;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.btn-secondary {
    background: #607d8b;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* 设置面板样式 */
.settings-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    font-size: 20px;
    padding: 10px;
    z-index: 10;
}

.settings-panel {
    display: none;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    position: absolute;
    top: 50px;
    right: 20px;
    z-index: 10;
    width: 250px;
}

.setting-group {
    margin-bottom: 10px;
}

.setting-group label {
    display: inline-block;
    width: 80px;
    font-weight: bold;
}

.setting-group select, .setting-group input {
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* 页脚作者信息 */
.footer-author {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    gap: 10px;
}

.footer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #4CAF50;
}

.footer-bilibili-link {
    color: #00A1D6;
    text-decoration: none;
    font-size: 14px;
}

.footer-bilibili-link:hover {
    text-decoration: underline;
}

/* 请假条区域 */
.leave-notes-container {
    position: absolute;
    left: 20px;
    bottom: 20px;
    width: 300px;
    background: rgba(255，255，255，0.8)；
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    z-index: 20;
}

.leave-notes-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
}

.leave-note {
    position: relative;
    width: 100%;
    height: 80px;
    border: 2px solid #4CAF50;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    overflow: hidden;
}

.leave-note img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s;
}

/* 放大状态 */
.leave-note.expanded {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30vw;
    height: 80vh;
    z-index: 100;
    background: white;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.leave-note.expanded img {
    object-fit: contain;
    height: calc(100% - 40px);
}

.note-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(76, 175, 80, 0.8);
    color: white;
    padding: 5px;
    text-align: center;
    font-weight: bold;
}

/* 关闭按钮 */
.close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 101;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    display: block;
    margin: 5% auto;
    max-width: 80%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.prev, .next {
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
    user-select: none;
}

.next {
    right: 0;
}

/* 页脚链接样式 */
.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.footer-link {
    color: #666;
    text-decoration: none;
}

.footer-link:hover {
    color: #4CAF50;
    text-decoration: underline;
}

.footer-links span {
    color: #ccc;
}

.timetable td:first-child {
    font-family: 'Noto Sans SC', sans-serif !important;
    font-weight: 700 !important;  /* 加粗 */
    font-size: 16px !important;   /* 增大字号 */
    color: #000 !important;       /* 纯黑色 */
    background-color: rgba(76, 175, 80, 0.2) !important; /* 浅绿色背景 */
    text-shadow: 0 0 1px rgba(0,0,0,0.3); /* 文字阴影增强可读性 */
}

.footer-avatar {
    position: relative;
    border: 2px solid #0ff !important;
    box-shadow: 0 0 15px #0ff;
}

.footer-avatar:hover::after {
    content: "👇";
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: #0ff;
    font-weight: bold;
    text-shadow: 0 0 5px #0ff;
    animation: glitch 1s linear infinite;
}

@keyframes glitch {
    0% { text-shadow: 5px 0 #0ff, -5px 0 #f0f; }
    25% { text-shadow: -5px 0 #0ff, 5px 0 #f0f; }
    50% { text-shadow: 5px 0 #f0f, -5px 0 #0ff; }
    75% { text-shadow: -5px 0 #f0f, 5px 0 #0ff; }
    100% { text-shadow: 5px 0 #0ff, -5px 0 #f0f; }
}

/* 强制桌面布局 */
body {
    min-width: 1200px !important;
    overflow-x: auto !important;
}

.container {
    min-width: 1000px !important;
    overflow-x: visible !important;
}

.timetable {
    min-width: 900px;
}

