* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
}

h1 {
  font-size: 24px;
  color: #1a1a1a;
}

.config-btn {
  padding: 8px 16px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.config-btn:hover {
  background: #45a049;
}

/* 配置面板 */
.config-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.panel-content {
  background: white;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
}

.panel-content h3 {
  margin-bottom: 20px;
  color: #333;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.btn-group {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn-primary,
.btn-secondary {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background: #2196F3;
  color: white;
}

.btn-primary:hover {
  background: #1976D2;
}

.btn-secondary {
  background: #f0f0f0;
  color: #333;
}

.btn-secondary:hover {
  background: #e0e0e0;
}

/* 标签页 */
.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  background: white;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tab-btn {
  flex: 1;
  padding: 12px;
  border: none;
  background: #f0f0f0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.tab-btn.active {
  background: #2196F3;
  color: white;
}

.tab-btn:hover:not(.active) {
  background: #e0e0e0;
}

/* 加载状态 */
.loading {
  text-align: center;
  padding: 40px;
  color: #666;
  font-size: 16px;
}

/* 演出列表 */
.show-list {
  display: grid;
  gap: 15px;
}

.show-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.show-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.show-card-header {
  display: flex;
  padding: 15px;
  gap: 15px;
}

.show-image {
  width: 100px;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  background: #f0f0f0;
}

.show-image.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 12px;
}

.show-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.show-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.show-price {
  font-size: 14px;
  color: #e63946;
  font-weight: bold;
  margin-bottom: 5px;
}
 
.show-venue {
  font-size: 13px;
  color: #666;
  margin-bottom: 5px;
}

.show-date {
  font-size: 12px;
  color: #999;
}

.show-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  align-self: flex-start;
}

.show-tag.a-class {
  background: #FF6B6B;
  color: white;
}

.show-tag.b-class {
  background: #4ECDC4;
  color: white;
}

/* 详情弹窗 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  padding: 20px;
}

.modal-content {
  background: white;
  border-radius: 12px;
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#detailContent {
  padding: 25px;
  padding-top: 45px;
  overflow-y: auto;
  flex: 1;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #999;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  padding: 0 5px;
}

.close-btn:hover {
  color: #333;
}

.detail-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  padding-right: 30px;
}

.detail-image {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.detail-content {
 
  line-height: 1.0;
  color: #444;
  white-space: pre-wrap;
}
.detail-info {
  font-size: 12px;
  
  color: #444;

}
/* 工具类 */
.hidden {
  display: none !important;
}

.error-message {
  background: #ffebee;
  color: #c62828;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}

.empty-message {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}

.empty-message p {
  margin-bottom: 10px;
}

/* 响应式 */
@media (max-width: 600px) {
  .container {
    padding: 15px;
  }
  
  h1 {
    font-size: 20px;
  }
  
  .show-card-header {
    padding: 12px;
  }
  
  .show-image {
    width: 80px;
    height: 110px;
  }
  
  .show-title {
    font-size: 14px;
  }
}
