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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #1a1a1a;
    color: #e0e0e0;
}

.header {
    background: #2d2d2d;
    padding: 16px 20px;
    border-bottom: 1px solid #444;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-link {
    text-decoration: none;
    font-size: 16px;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    opacity: 0.6;
}
.search-btn:hover { opacity: 1; }

.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 100;
    padding: 20px;
    overflow-y: auto;
}
.search-overlay.show { display: block; }

.search-box {
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #444;
    border-radius: 8px;
    background: #2d2d2d;
    color: #e0e0e0;
    margin-bottom: 16px;
}

.search-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #888;
    font-size: 24px;
    cursor: pointer;
}

.search-result {
    background: #3a3a3a;
    border: 1px solid #555;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #e0e0e0;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.search-result:hover {
    background: #454545;
    border-color: #6ab0f3;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
