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

:root {
    color-scheme: light dark;
}

html,
body {
    height: 100%;
    overflow: hidden;
}

body {
    margin: 0;
    background: #fff;
    color: #000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@media (prefers-color-scheme: dark) {
    body {
        background: #000;
        color: #fff;
    }
}

.main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* 居中时间与提示 */
    padding: 88px 24px 24px;
    /* 顶部留出导航高度 */
    box-sizing: border-box;
    gap: 24px;
}

.top {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 64rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.banner {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: rgba(248, 250, 252, 0.75);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

@media (prefers-color-scheme: dark) {
    .banner {
        border-color: rgba(255, 255, 255, .12);
        background: rgba(24, 24, 27, 0.55);
        box-shadow: 0 2px 12px rgba(0, 0, 0, .4);
    }
}

.banner-inner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .6);
    border: 1px solid rgba(0, 0, 0, .06);
}

@media (prefers-color-scheme: dark) {
    .banner-inner {
        background: rgba(0, 0, 0, .2);
        border-color: rgba(255, 255, 255, .12);
    }
}

.banner code {
    font-weight: 700;
}

.banner a {
    color: #becae4;
    text-decoration: none;
}

.banner a:hover {
    color: #becae4;
    text-decoration: underline;
}

.stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stage::before {
    content: "";
    position: absolute;
    height: 300px;
    width: 480px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(40px);
}

.stage::after {
    content: "";
    position: absolute;
    z-index: -20;
    height: 180px;
    width: 240px;
    left: 50%;
    transform: translateX(33%);
    background: conic-gradient(from 0deg, #bae6fd, #bfdbfe);
    filter: blur(40px);
}

@media (prefers-color-scheme: dark) {
    .stage::before {
        background: linear-gradient(to bottom right, rgba(0, 0, 0, 0), rgba(29, 78, 216, .6));
        opacity: .1;
    }

    .stage::after {
        background: conic-gradient(from 0deg, #0c4a6e, #0141ff);
        opacity: .4;
    }
}

#exam-info {
    text-align: center;
    font-size: 3vw;
    line-height: 1.2;
}

#time {
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 18vw;
    line-height: 1;
}

#clip-result {
    max-width: 48rem;
    white-space: pre-wrap;
    text-align: center;
    color: #374151;
}

@media (prefers-color-scheme: dark) {
    #clip-result {
        color: #d1d5db;
    }
}

.sep {
    color: #6b7280;
    margin: 0 .5rem;
}

.spacer {
    color: #9ca3af;
    margin: 0 .5rem;
}