* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, #4A90E2 0%, #7BB3F0 100%);
    min-height: 100vh;
    padding: 15px;
}

.container {
    max-width: 500px;
    margin: 0 auto;
}

header {
    text-align: center;
    color: white;
    padding: 20px 0;
}

header h1 {
    font-size: 24px;
    margin-bottom: 8px;
}

header .subtitle {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.type-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.type-btn {
    padding: 10px 16px;
    border-radius: 20px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.type-btn[data-type="single"] {
    background: white;
    color: #4A90E2;
}

.type-btn[data-type="team"] {
    background: #FF6B6B;
    color: white;
}

.type-btn.active {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* 引流区域 */
.promo-section {
    background: linear-gradient(135deg, #FFB347 0%, #FF6B6B 100%);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 15px;
    text-align: center;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s;
}

.promo-section:active {
    transform: scale(0.98);
}

.promo-section strong {
    font-size: 16px;
}

/* 发布区域 */
.publish-section {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    font-size: 16px;
    background: #F8F9FA;
}

.form-group input:focus {
    outline: none;
    border-color: #4A90E2;
    background: white;
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-primary:active {
    transform: scale(0.98);
}

/* 大厅区域 */
.hall-section {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.hall-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.hall-header h2 {
    font-size: 16px;
    color: #333;
}

.search-input {
    width: 140px;
    padding: 8px 12px;
    border: 1px solid #E0E0E0;
    border-radius: 20px;
    font-size: 13px;
    background: #F8F9FA;
}

.search-input:focus {
    outline: none;
    border-color: #4A90E2;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.tab {
    flex: 1;
    padding: 10px;
    border: 1px solid #E0E0E0;
    background: white;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
}

.tab.active {
    border-color: #4A90E2;
    background: #4A90E2;
    color: white;
}

.hall-list {
    min-height: 150px;
}

.loading, .empty-state {
    text-align: center;
    color: #999;
    padding: 40px;
    font-size: 14px;
}

/* 卡片样式 */
.hall-item {
    background: #F8F9FA;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hall-item .info {
    flex: 1;
}

.hall-item .type-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 5px;
}

.hall-item .type-tag.need {
    background: #FFE5E5;
    color: #FF6B6B;
}

.hall-item .type-tag.single {
    background: #E5F0FF;
    color: #4A90E2;
}

.hall-item .score {
    font-size: 28px;
    font-weight: 700;
    color: #4A90E2;
}

.hall-item .contact {
    font-size: 13px;
    color: #999;
    margin-top: 2px;
}

.hall-item .right {
    text-align: right;
}

.hall-item .time {
    font-size: 12px;
    color: #BBB;
    margin-bottom: 8px;
}

.btn-copy {
    padding: 8px 20px;
    background: #4A90E2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
}

.btn-copy:active {
    background: #357ABD;
}

/* Toast提示 */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 1000;
    animation: toastIn 0.3s ease;
}

@keyframes toastIn {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}
