/* 顶部导航栏 */
.header {
    background: #ffffff;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1f2937;
    border-bottom: 1px solid #e5e7eb;
}

.header-left {
    font-size: 20px;
    cursor: pointer;
    color: #6b7280;
}

.header-center {
    text-align: center;
    flex: 1;
}

.header-title {
    font-size: 17px;
    font-weight: 600;
    color: #1f2937;
}

.header-url {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 2px;
}

.header-right {
    font-size: 20px;
    cursor: pointer;
    color: #6b7280;
}

/* 主要内容区 */
.main-content {
    padding: 16px;
}

/* 日期和课表卡片 */
.schedule-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid #e5e7eb;
}

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

.date {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.collapse-btn {
    font-size: 13px;
    color: #9ca3af;
    cursor: pointer;
}

.schedule-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.schedule-subtitle {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 12px;
}

.course-list {
    background: #f9fafb;
    border-radius: 8px;
    padding: 12px;
}

.course-item {
    margin-bottom: 10px;
}

.course-item:last-child {
    margin-bottom: 0;
}

.course-item.course-hidden {
    display: none;
}

.course-time {
    font-size: 12px;
    color: #374151;
    margin-bottom: 4px;
    font-weight: 500;
}

.course-name {
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 2px;
}

.course-location {
    font-size: 12px;
    color: #9ca3af;
}

.view-more {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    font-weight: 500;
}

/* 功能区标题 */
.section-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
}

/* 功能网格 */
.function-grid {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid #e5e7eb;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 8px;
}

.grid-item {
    text-align: center;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.grid-item:active {
    opacity: 0.7;
}

.icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 24px;
    color: #374151;
}

.grid-item-name {
    font-size: 12px;
    color: #374151;
    line-height: 1.4;
}

/* 品牌标识 */
.brand {
    text-align: center;
    padding: 20px 0;
    color: #d1d5db;
    font-size: 12px;
}

/* 响应式 */
@media (max-width: 375px) {
    .grid-4 {
        gap: 12px 6px;
    }

    .icon-box {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }
}
