* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: #f5f5f5;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 750px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
}

/* 顶部导航 */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hall-name {
    font-size: 20px;
    font-weight: 600;
    flex: 1;
}

.voice-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
}

.voice-btn:hover {
    background: rgba(255,255,255,0.3);
}

.voice-btn.playing {
    background: rgba(255,255,255,0.4);
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* 大厅基本信息 */
.hall-info {
    padding: 20px;
}

.info-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hall-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.info-content {
    padding: 15px;
}

.info-item {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
}

.label {
    font-weight: 500;
    min-width: 90px;
    flex-shrink: 0;
}

.value {
    flex: 1;
    color: #666;
}

/* 温馨提示 */
.notice {
    margin: 15px 20px;
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    border-radius: 4px;
    padding: 12px 15px;
}

.notice-content {
    display: flex;
    align-items: center;
}

.notice-icon {
    font-size: 20px;
    margin-right: 10px;
}

.notice-text {
    flex: 1;
    color: #e65100;
    font-size: 14px;
}

/* 区块标题 */
.section {
    margin: 20px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid #667eea;
}

/* 窗口列表 */
.windows-list {
    display: grid;
    gap: 12px;
}

.window-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    border-left: 3px solid #667eea;
}

.window-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.window-name {
    font-weight: 600;
    font-size: 16px;
}

.window-floor {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
}

.window-services {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.service-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
}

.window-desc {
    color: #666;
    font-size: 14px;
}

/* 事项列表 */
.items-filter {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #667eea;
}

.search-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: transform 0.2s;
}

.search-btn:hover {
    transform: scale(1.05);
}

.filter-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-box label {
    font-weight: 500;
    color: #666;
}

.filter-select {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
}

.items-list {
    display: grid;
    gap: 12px;
}

.item-card {
    background: #fff;
    border: 2px solid #667eea;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.item-card::after {
    content: "→";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #667eea;
    font-weight: bold;
}

.item-card:hover {
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
    transform: translateY(-2px);
    background: #f8f9ff;
}

.item-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.item-unit {
    display: inline-block;
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    margin-bottom: 8px;
}

.item-brief {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 事项详情弹窗 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow: hidden;
    animation: slideDown 0.3s;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.modal-close:hover {
    background: rgba(255,255,255,0.2);
}

.modal-body {
    padding: 20px;
    max-height: calc(80vh - 80px);
    overflow-y: auto;
}

.detail-section {
    margin-bottom: 20px;
}

.detail-label {
    font-weight: 600;
    color: #667eea;
    margin-bottom: 8px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-value {
    color: #333;
    line-height: 1.8;
    padding-left: 24px;
}

.materials-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.materials-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.materials-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

.audio-player {
    margin-top: 20px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.audio-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

.audio-btn:hover {
    transform: scale(1.05);
}

.audio-btn.playing {
    animation: pulse 1s infinite;
}

.audio-status {
    color: #666;
    font-size: 14px;
}

/* 底部 */
.footer {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 14px;
    margin-top: 20px;
}
