/* RSS APP 嵌入樣式 */

.rss-app-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: #fff;
    margin: 20px auto;
    max-width: 100%;
}

#rss-audio-root {
    width: 100%;
    height: 100%;
}

.rss-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    z-index: 999;
}

.rss-loading .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1DB954;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.rss-loading p {
    margin-top: 20px;
    color: #666;
    font-size: 16px;
}

.rss-app-error {
    padding: 40px;
    text-align: center;
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 600px;
}

.rss-app-error p {
    margin: 10px 0;
    color: #856404;
    font-size: 16px;
}

.rss-app-error a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #ffc107;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.rss-app-error a:hover {
    background: #e0a800;
}

@media (max-width: 768px) {
    .rss-app-container {
        border-radius: 8px;
        margin: 15px auto;
    }
}