#night-entry { position: fixed; inset: 0; z-index: 10000; overflow: auto; color: #e7e8e3; background: #040912; text-align: left; font: 400 16px/1.4 "Microsoft YaHei", "PingFang SC", sans-serif; font-feature-settings: "kern" 1; text-rendering: optimizeLegibility; }
#night-entry *, #night-entry *::before, #night-entry *::after { box-sizing: border-box; }
#night-entry [hidden], #night-entry[hidden] { display: none !important; }
#night-entry button, #night-entry input { font: inherit; }
#night-entry button { cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
#night-entry button:focus-visible { outline: 2px solid #a9e5ea; outline-offset: 3px; }
.entry-scene { position: fixed; inset: 0; width: min(100vw, 56.25vh); width: min(100vw, 56.25svh); margin: auto; background: #08141e url("entry-assets-v23/intro-poster.jpg") center / cover no-repeat; filter: saturate(.72) brightness(.7); }
.entry-login { position: relative; min-height: 100%; background: radial-gradient(ellipse at 50% 28%, transparent 0, rgba(3,9,16,.12) 45%, rgba(3,9,16,.5) 100%); }
.entry-layout { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: max(28px, env(safe-area-inset-top)) 14px max(28px, env(safe-area-inset-bottom)); }
.entry-brand { width: min(100%, 376px); position: relative; z-index: 1; margin: 0 0 2px; animation: entry-reveal .55s ease-out both; }
.entry-logo { display: block; width: 100%; height: auto; aspect-ratio: 760 / 370; object-fit: contain; filter: drop-shadow(0 7px 12px rgba(0,0,0,.45)); }
.entry-card { isolation: isolate; position: relative; width: min(100%, 354px); padding: 44px 27px 24px; filter: drop-shadow(0 16px 28px rgba(0,0,0,.32)); animation: entry-reveal .5s .08s ease-out both; }
.entry-frame { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; overflow: hidden; pointer-events: none; }
.entry-card h1 { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0 0 24px; color: #f3dba4; font: 700 28px/1.25 "Noto Serif SC", "Songti SC", SimSun, serif; text-shadow: 0 2px 4px #07121a; }
.entry-card h1::before, .entry-card h1::after { content: ""; height: 1px; width: 44px; background: linear-gradient(90deg, transparent, #9d8555); }
.entry-card h1::after { transform: rotate(180deg); }
.entry-label { display: block; margin: 0 0 7px 2px; color: #d9cfb7; font-size: 13px; line-height: 1.4; text-shadow: 0 1px 2px #09141a; }
.code-label { margin-top: 20px; }
.entry-field { position: relative; display: flex; align-items: center; gap: 3px; min-height: 50px; padding: 3px; border: 1px solid #8c7c5d; border-radius: 6px 2px; background: linear-gradient(105deg, rgba(5,17,25,.94), rgba(10,27,36,.88)); box-shadow: inset 0 0 0 2px rgba(2,8,14,.6), 0 1px 0 rgba(231,210,153,.1); }
.entry-field::before, .entry-field::after { content: ""; position: absolute; width: 10px; height: 10px; pointer-events: none; border-color: #c6aa6e; border-style: solid; opacity: .9; }
.entry-field::before { left: -1px; top: -1px; border-width: 1px 0 0 1px; border-radius: 6px 0 0; }
.entry-field::after { right: -1px; bottom: -1px; border-width: 0 1px 1px 0; border-radius: 0 0 6px; }
.entry-field:focus-within { border-color: #a5d6db; box-shadow: 0 0 0 2px rgba(120,206,220,.16), inset 0 0 16px rgba(90,162,190,.08); }
.entry-field input { display: block; width: 100%; min-width: 0; height: 42px; padding: 0 11px; border: 0; outline: none; background: transparent; color: #f0f3ed; font-size: 16px !important; font-variant-numeric: tabular-nums; }
.entry-field input::placeholder { color: #94a3a7; opacity: 1; font-size: 14px; }
.code-field input { flex: 1; }
#night-entry #entry-send { flex: 0 0 108px; height: 42px; padding: 0 12px; border: 0; background: url("entry-assets-v25/secondary.png") center / 100% 100% no-repeat; color: #edd9aa; font-size: 12px; line-height: 1.35; white-space: nowrap; }
#entry-send:hover { filter: brightness(1.12); }
#entry-send:active { transform: translateY(1px); }
.entry-status { min-height: 36px; margin: 8px 2px 0; color: #bed8d7; font-size: 12px; line-height: 1.4; }
.entry-submit { display: block; width: min(100%, 264px); height: 66px; margin: 0 auto; padding: 0 28px 3px; border: 0; background: url("entry-assets-v23/button.png") center / 100% 100% no-repeat; color: #263442; font-size: 25px !important; font-weight: 700 !important; text-shadow: 0 1px 0 #fae6af; }
.entry-submit:hover { filter: brightness(1.07); }
.entry-submit:active { transform: translateY(1px); }
.entry-submit:disabled { opacity: .65; cursor: wait; }
.entry-note { width: min(100%, 354px); margin: 0; color: #a6b5bd; font-size: 12px; line-height: 1.5; text-align: center; text-shadow: 0 1px 4px #02060b; }
.entry-intro { position: fixed; inset: 0; background: #040912; }
.entry-video { display: block; width: 100%; height: 100%; object-fit: contain; }
.entry-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); min-width: 190px; min-height: 56px; padding: 12px 25px; border: 1px solid #c5a568; border-radius: 4px; background: rgba(5,17,30,.88); color: #ffe2a3; }
.intro-caption { position: absolute; left: 5%; bottom: max(24px, env(safe-area-inset-bottom)); width: 90%; margin: 0; text-align: center; color: #d9e8eb; font-size: 13px; text-shadow: 0 2px 5px #000; pointer-events: none; }
.entry-play { width: 248px; min-height: 72px; border: 0; background: url("entry-assets-v23/button.png") center / 100% 100% no-repeat; color: #172d40; font-weight: 700; text-shadow: 0 1px #fff0b8; }
.entry-skip { position: absolute; top: max(20px, env(safe-area-inset-top)); right: 20px; min-height: 44px; padding: 8px 20px; border: 1px solid #af945a; border-radius: 22px; background: #071321b8; color: #ffe4ac; font: inherit; font-size: 14px; }
.entry-replay { margin: 4px auto 10px; min-height: 40px; padding: 6px 20px; border: 0; background: transparent; color: #a7dce6; font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.opening-retry { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); min-height: 44px; padding: 8px 28px; background: #09172c; border: 1px solid #bca263; color: #ffe4ac; }
@keyframes entry-reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 350px) { .entry-layout { padding-left: 12px; padding-right: 12px; gap: 10px; } .entry-card { padding-left: 22px; padding-right: 22px; } #entry-send { flex-basis: 104px; padding: 0 10px; } .entry-field input { padding-left: 8px; } }
@media (max-height: 650px) { .entry-layout { gap: 8px; padding-top: 12px; padding-bottom: 12px; } .entry-brand { width: min(100%, 248px); margin-bottom: 0; } .entry-card { padding-top: 37px; padding-bottom: 18px; } .entry-card h1 { margin-bottom: 17px; font-size: 26px; } .code-label { margin-top: 14px; } .entry-status { min-height: 32px; margin-top: 6px; } .entry-submit { height: 58px; } .entry-note { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .entry-brand, .entry-card { animation: none; } }
