body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    width: 90%;
    max-width: 500px;
    margin: 20px auto;
}

.refresh-button {
    display: inline-block;
    padding: 2px 6px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-size: 12px;
    margin-left: 5px;
}

.refresh-button:hover {
    background-color: #0056b3;
}

h1 {
    color: #2c3e50;
    margin: 0 0 25px 0;
    font-size: 2.2em;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    border-radius: 2px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

label {
    display: block;
    width: 80%;
    text-align: left;
    margin: 15px 0 5px;
    color: #2c3e50;
    font-weight: 500;
}

input[type="text"] {
    width: 80%;
    padding: 12px;
    margin: 5px 0 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

input[type="submit"] {
    width: 80%;
    padding: 12px;
    margin: 20px 0;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.2s;
}

input[type="submit"]:hover {
    transform: scale(1.02);
}

.merchant-list {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.result, .error {
    width: 80%;
    margin: 20px auto;
    text-align: center;
    font-size: 1.2em;
    padding: 12px;
    border-radius: 8px;
}

.result {
    background: #e8f5e9;
    color: #2c3e50;
}

.error {
    background: #ffebee;
    color: #c62828;
}

.footer {
    text-align: center;
    margin-top: 30px;
    color: #7f8c8d;
    font-size: 0.9em;
}

/* 分享功能样式 */
.share-section {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: center;
}

.share-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.share-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    min-width: 100px;
    justify-content: center;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.copy-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.weibo-btn {
    background: linear-gradient(135deg, #e6162d, #a50e1f);
}

.qq-btn {
    background: linear-gradient(135deg, #12b7f5, #0a8fc4);
}

.telegram-btn {
    background: linear-gradient(135deg, #0088cc, #006699);
}

.twitter-btn {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.douban-btn {
    background: linear-gradient(135deg, #2e963d, #1e6b29);
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
    }
    
    label, input[type="text"], input[type="submit"] {
        width: 90%;
    }
    
    .merchant-list {
        width: 90%;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .share-btn {
        width: 90%;
        max-width: 200px;
    }
}

@media (max-width: 360px) {
    .share-btn span {
        font-size: 12px;
    }
    
    h1 {
        font-size: 1.8em;
    }
}