:root {
    --bg: #f4f9ff;
    --ink: #16324f;
    --muted: #3d5a73;
    --blue: #1484f6;
    --green: #1faa4a;
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    background: #64bffc;
    color: var(--ink);
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
}

.stage {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

body:has(.logo-link) {
    overflow: hidden;
    background: #64bffc;
}

body:has(.logo-link) .stage {
    display: block;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100dvh;
    padding: 0;
}

.logo-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    line-height: 0;
    background: #64bffc;
}

.logo-link::before {
    content: "";
    position: absolute;
    inset: -32px;
    background: url("/poster.jpg") center / cover no-repeat;
    filter: blur(26px);
    transform: scale(1.06);
}

.logo-link .logo {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (min-aspect-ratio: 941 / 1672) {
    .logo-link .logo {
        object-fit: contain;
    }
}

.logo-link:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -6px;
}

.placeholder {
    width: min(100% - 32px, 440px);
    margin: 24px auto;
    text-align: center;
}

.placeholder .logo {
    width: 148px;
    height: 148px;
    object-fit: contain;
}

.placeholder h1 {
    margin: 12px 0 14px;
    font-size: clamp(1.2rem, 4.8vw, 1.7rem);
    line-height: 1.45;
    font-weight: 700;
}

.placeholder p {
    margin: 0 0 8px;
    font-size: clamp(1rem, 3.8vw, 1.16rem);
    line-height: 1.65;
    color: var(--muted);
}

.enter {
    display: inline-block;
    margin-top: 18px;
    padding: 12px 28px;
    border-radius: 999px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: linear-gradient(90deg, var(--green), var(--blue));
    box-shadow: 0 8px 22px rgba(20, 132, 246, 0.28);
}

a.stage {
    text-decoration: none;
    color: inherit;
    background:
        radial-gradient(ellipse at top, #e7f4ff 0%, var(--bg) 46%, #ffffff 100%);
}
