/* 全域設定 */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: #fefaf3;
}

/* 容器 */
.container {
    width: 90%;
    max-width: 1000px;
    margin: auto;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

/* 讓 loading 效果覆蓋畫面 */
#loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    text-align: center;
    padding-top: 20%;
    color: white;
    font-size: 18px;
}

/* 轉圈圈動畫 */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px auto;
}

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

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

a {
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    text-decoration: underline;
}