/* 基本樣式重置 */
body {
    margin: 0;
    padding: 0;
    background-color: white;
}

/* 當機畫面 (BSOD) 樣式 - 支援響應式 */
.bsod-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0000ff;
    z-index: 10000;
    overflow: hidden;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: background-image 0.5s ease; /* 平滑過渡背景 */
}

/* 100% 修復後的彩色電視背景 */
.bsod-container.tv-background {
    background-image: url('./assets/images/彩色電視.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bsod-content {
    padding: 0 10%;
    max-width: 90%;
}

.bsod-smiley {
    font-size: 15vmin; /* 隨螢幕較小邊縮放 */
    line-height: 1;
    margin-bottom: 2vmin;
}

.bsod-message {
    font-size: 3.5vmin;
    font-weight: 300;
    margin-bottom: 4vmin;
    line-height: 1.4;
}

.bsod-message a {
    color: white;
    text-decoration: underline;
}

.bsod-progress {
    font-size: 3vmin;
    margin-bottom: 5vmin;
}

.bsod-footer {
    display: flex;
    align-items: flex-start;
}

.bsod-qr {
    width: 15vmin;
    height: 15vmin;
    min-width: 60px;
    min-height: 60px;
    background: white;
    padding: 1vmin;
    box-sizing: border-box;
}

.bsod-details {
    margin-left: 3vmin;
    font-size: 2.2vmin;
}

.bsod-error-code {
    font-weight: bold;
}

/* 手機版額外調整 */
@media (max-width: 600px) {
    .bsod-message {
        font-size: 4.5vmin;
    }
    .bsod-details {
        font-size: 3.5vmin;
    }
}