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

:root { color-scheme: dark; --gold: #c9a84c; }

body {
    min-width: 280px;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background: #0a0a0a;
    color: #f5f4ef;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

.placeholder {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(64px, 10vw, 200px);
    padding: 64px 32px;
    background: radial-gradient(ellipse at 72% 50%, rgb(201 168 76 / 5%), transparent 65%);
}

.site-footer {
    padding: 16px 24px;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
}

.site-footer a { color: #96938c; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }

h1 {
    font-family: "Songti SC", "Noto Serif CJK SC", "SimSun", serif;
    font-size: clamp(34px, 3.5vw, 64px);
    font-weight: 700;
    line-height: 1.65;
    letter-spacing: 0.04em;
}

.clock {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: clamp(300px, 28vw, 440px);
    aspect-ratio: 1;
    border: 1px solid rgb(201 168 76 / 12%);
    border-radius: 50%;
}

.clock-face {
    position: relative;
    width: 74%;
    aspect-ratio: 1;
    border: 2px solid rgb(201 168 76 / 30%);
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a2e, #0d0d0d);
    box-shadow: 0 0 60px rgb(201 168 76 / 7%), inset 0 0 40px rgb(0 0 0 / 50%);
}

.clock-brand,
.clock-status { position: absolute; left: 0; width: 100%; text-align: center; }

.clock-brand {
    top: 27%;
    color: var(--gold);
    font-size: clamp(11px, 1vw, 14px);
    font-weight: 600;
    letter-spacing: 0.18em;
}

.clock-status { top: 35%; color: #96938c; font-size: 9px; letter-spacing: 0.3em; }
.clock-number { position: absolute; color: #c0c0c0; font-size: 16px; font-weight: 600; }
.number-12 { top: 8%; left: 50%; transform: translateX(-50%); }
.number-3 { right: 7%; top: 50%; transform: translateY(-50%); }
.number-6 { bottom: 7%; left: 50%; transform: translateX(-50%); }
.number-9 { left: 7%; top: 50%; transform: translateY(-50%); }

.hand {
    position: absolute;
    left: 50%;
    bottom: 50%;
    transform-origin: bottom center;
    border-radius: 2px;
}

.hour-hand { width: 3px; height: 24%; margin-left: -1.5px; background: #c0c0c0; }
.minute-hand { width: 2px; height: 33%; margin-left: -1px; background: #d4d4d4; }
.second-hand { width: 1px; height: 37%; margin-left: -0.5px; background: var(--gold); }

.hand-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--gold);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (max-width: 760px) {
    .placeholder {
        flex-direction: column;
        gap: 48px;
        padding: 56px 24px;
        text-align: center;
    }

    h1 { font-size: clamp(28px, 6.5vw, 44px); }
    .clock { width: min(300px, 78vw); }
}
