.isn-search-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.isn-search-field {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

#isn-search-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

#isn-search-button {
    padding: 12px 20px;
    background: #2271b1;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

#isn-search-button:hover {
    background: #135e96;
}

#isn-search-loading {
    text-align: center;
    padding: 10px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.isn-spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: isn-spin 1s linear infinite;
}

@keyframes isn-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.isn-posts-outer {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.isn-post-card {
    display: block;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: white;
    color: #333;
}

.isn-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.isn-post-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.isn-post-card h3 {
    margin: 0 0 5px 0;
    font-size: 1.1em;
    line-height: 1.4;
}

.isn-post-card small {
    color: #666;
    font-size: 0.8em;
}

#isn-debug {
    font-family: monospace;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#isn-debug div {
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}