:root { color-scheme: dark; font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif; background: #050a14; color: #f3f8ff; }
* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; min-width: 320px; }
button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.wallpaper, .readability, .scanlines, #neon-particles { position: fixed; inset: 0; pointer-events: none; }
.wallpaper img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.readability { background: linear-gradient(90deg, #050a14dc 0%, #050a1466 43%, transparent 77%), linear-gradient(0deg, #050a14ee, #050a1425 48%, transparent 80%); }
.scanlines { background: repeating-linear-gradient(0deg, transparent 0 3px, #00000017 3px 4px); opacity: .6; }
#neon-particles { overflow: hidden; }
.light-particle { position: absolute; left: var(--x); top: -12%; width: 2px; height: 3px; background: #aaffff; border-radius: 50%; opacity: 0; animation: light-fall var(--duration) var(--delay) linear infinite; }
.light-particle::before { content: ""; position: absolute; bottom: 2px; left: 0; width: 1px; height: var(--length); background: linear-gradient(transparent, #42e7f9b3); }
.light-particle:nth-child(7n) { background: #ff527e; }
.light-particle:nth-child(7n)::before { background: linear-gradient(transparent, #ff527e80); }
@keyframes light-fall { 0% { transform: translate3d(0, 0, 0) rotate(12deg); opacity: 0; } 12% { opacity: .65; } 85% { opacity: .4; } 100% { transform: translate3d(-100px, 120vh, 0) rotate(12deg); opacity: 0; } }
.interface { position: relative; z-index: 2; max-width: 1440px; min-height: 100vh; min-height: 100svh; margin: 0 auto; padding: 26px 56px 20px; display: flex; flex-direction: column; }
header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.identity { display: flex; gap: 14px; align-items: center; padding: 8px 16px; border: 1px solid #1b5868; border-radius: 40px; background: #050a14cd; }
.identity img { object-fit: contain; flex-shrink: 0; }
.identity span { border-left: 1px solid #385264; padding-left: 14px; color: #bdedf0; font-size: 13px; white-space: nowrap; }
.motion-control { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border: 1px solid #385264; border-radius: 50%; color: #cffaff; background: #050a14dd; }
.motion-control:hover { border-color: #00f0ff; background: #123039; }
svg { width: 18px; height: 18px; display: block; }
main { width: 100%; max-width: 768px; margin-top: auto; padding-top: 190px; }
.neon-accent { height: 14px; display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.neon-accent i { width: 8px; height: 8px; transform: rotate(45deg); background: #ff1a4b; box-shadow: 0 0 10px #ff1a4b66; }
.neon-accent span { width: 64px; height: 2px; background: #00e8ef; animation: neon-pulse 4s ease-in-out infinite; }
.neon-accent b { width: 18px; height: 2px; background: #52717f; }
@keyframes neon-pulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
h1 { font-size: 60px; line-height: 1.18; font-weight: 800; margin: 0 0 28px; text-shadow: 0 0 16px #00f0ff69, 0 0 35px #00f0ff33; }
.portal-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.portal-btn { position: relative; min-width: 0; height: 54px; padding: 0 20px; display: flex; align-items: center; gap: 12px; border: 1px solid #236477; border-radius: 0; background: linear-gradient(135deg, #08101df2, #0d1b2edb); color: #f3f8ff; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)); font-size: 16px; font-weight: 700; text-align: left; transition: background .18s, border-color .18s, transform .18s; }
.portal-btn::after { content: ""; position: absolute; top: 5px; right: -3px; height: 1px; width: 21px; background: #388799; transform: rotate(45deg); }
.portal-btn:hover { background: #113443ed; border-color: #00f0ff; transform: translateY(-2px); }
.portal-btn:active { transform: translateY(0); }
button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.portal-btn:focus-visible { outline: none; background: #175363; box-shadow: inset 0 0 0 3px #aaffff; }
.portal-btn:disabled { cursor: progress; opacity: .62; transform: none; }
.portal-wide { grid-column: span 2; border-color: #8a344b; }
.notch { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 7px; background: #ff365f; }
.triple { width: 6px; height: 6px; margin-right: 20px; box-shadow: 10px 0 #ff365f, 20px 0 #00edf0; }
.arrow-icon { margin-left: auto; color: #8fb7c6; }
.portal-btn:hover .arrow-icon { color: #00f0ff; }
#nav-status { min-height: 24px; margin: 14px 0 0; color: #d4eef1; font-size: 13px; line-height: 24px; }
.no-script { font-size: 13px; }
html[data-motion="paused"] .light-particle, html[data-motion="hidden"] .light-particle, html[data-motion="paused"] .neon-accent span, html[data-motion="hidden"] .neon-accent span { animation-play-state: paused; }
@media (min-width: 1600px) { .wallpaper img { object-position: center 35%; } }
@media (max-width: 1023px) { .interface { padding: 24px 32px 16px; } main { max-width: 620px; } h1 { font-size: 48px; } .portal-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .interface { min-height: max(560px, 100svh); padding: 16px 20px 10px; }
  .wallpaper { bottom: 10%; }
  .wallpaper img { object-position: 70% top; }
  .readability { background: linear-gradient(0deg, #050a14 0%, #050a14e8 23%, #050a1455 53%, #050a1400 75%); }
  .identity { padding: 6px 10px; gap: 9px; }
  .identity img { width: 27px; height: 27px; }
  .identity span { font-size: 11px; padding-left: 9px; }
  .motion-control { width: 40px; height: 40px; flex-basis: 40px; }
  main { padding-top: 140px; }
  .neon-accent { margin-bottom: 8px; }
  h1 { font-size: 36px; margin-bottom: 18px; }
  .portal-actions { grid-template-columns: 1fr; gap: 8px; }
  .portal-btn { height: 46px; padding: 0 16px; }
  .portal-wide { grid-column: auto; }
  #nav-status { margin-top: 8px; font-size: 12px; }
  .light-particle:nth-child(n+19) { display: none; }
}
@media (max-width: 359px) { .interface { padding-left: 16px; padding-right: 16px; } h1 { font-size: 34px; } }
