/* AI菜园 V1.2 · 学员登录。All rules are scoped to the login shell. */
.acy-login-page {
  color-scheme: dark;
  --login-ink: #eef4ff;
  --login-muted: #aebad0;
  --login-line: rgba(183, 210, 255, .15);
  margin: 0;
  background: #070e20;
  color: var(--login-ink);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
.acy-login-page *, .acy-login-page *::before, .acy-login-page *::after { box-sizing: border-box; }
.acy-login-page .v06-site {
  width: 100%; max-width: none; min-height: 100vh; min-height: 100svh;
  background: radial-gradient(ellipse at 25% 45%, #122544 0, transparent 49%),
    radial-gradient(ellipse at 83% 37%, #172039 0, transparent 40%), #070e20;
  overflow: clip; position: relative; display: flex; flex-direction: column;
}
.acy-login-page .v06-site::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .46;
  background: radial-gradient(circle at 8% 28%, #b8e9ff 0 1px, transparent 1.6px),
    radial-gradient(circle at 42% 15%, #96bcd6 0 1px, transparent 1.6px),
    radial-gradient(circle at 67% 26%, #8292b7 0 1px, transparent 1.5px),
    radial-gradient(circle at 19% 77%, #96bcd6 0 1px, transparent 1.6px),
    radial-gradient(circle at 92% 72%, #8292b7 0 1px, transparent 1.5px);
}
.acy-login-page .v06-header {
  width: min(1280px, calc(100% - 96px)); margin: 0 auto; min-height: 100px;
  padding: 22px 0; background: transparent; border: 0; box-shadow: none;
  position: relative; top: auto; display: flex; align-items: center; gap: 32px;
}
.acy-login-page .v06-brand { color: var(--login-ink); gap: 12px; min-width: 0; }
.acy-login-page .v06-brand strong { color: var(--login-ink); font-size: 22px; letter-spacing: .02em; }
.acy-login-page .v06-brand small { color: #8b9bb4; font-size: 10px; letter-spacing: .1em; margin-top: 5px; }
.acy-login-page .v06-brand-mark { width: 44px; height: 44px; border-radius: 13px; background: #fff; box-shadow: 0 0 24px rgba(142, 202, 255, .10); }
.acy-login-page .v06-header .v06-nav { margin-left: auto !important; gap: 28px; }
.acy-login-page .v06-nav a { color: #bac7dc; font-size: 14px; background: none; }
.acy-login-page .v06-nav a:hover { color: #fff; }
.acy-login-page .v06-header-user { margin-left: 0; }
.acy-login-page .v06-header-user .v06-identity,
.acy-login-page .v07-header-login, .acy-login-page .v07-mobile-login { display: none !important; }
.acy-login-page .v06-nav-cta { background: rgba(157, 188, 239, .07); color: #dbe8ff; border: 1px solid var(--login-line); padding: 10px 16px; border-radius: 10px; font-size: 13px; }
.acy-login-page .v06-menu { color: #dce7ff; background: #172239; border-color: var(--login-line); }
.acy-login-page .v06-main {
  width: min(1180px, calc(100% - 96px)); max-width: none; margin: auto;
  padding: 36px 0 32px; position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center;
}
.acy-login-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: 88px; }
.acy-login-welcome { min-width: 0; position: relative; padding: 10px 0; }
.acy-login-kicker { margin: 0 0 20px; display: flex; align-items: center; gap: 10px; color: #b3cfe0; font-size: 12px; letter-spacing: .14em; }
.acy-login-kicker i { width: 6px; height: 6px; border-radius: 50%; background: #9debe5; box-shadow: 0 0 12px #5cd1d4; }
.acy-login-welcome h1 { margin: 0; color: #f0f5ff; font-size: clamp(34px, 3.5vw, 50px); line-height: 1.4; font-weight: 600; letter-spacing: .01em; }
.acy-login-welcome h1 span { color: #abdedf; background: linear-gradient(100deg, #bbece6 10%, #9dbdf1 63%, #c6b6ec); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.acy-login-welcome > p:not(.acy-login-kicker) { color: var(--login-muted); font-size: 15px; line-height: 1.9; margin: 18px 0 0; }
.acy-login-art { position:relative; width:100%; height:304px; margin:8px 0 0; isolation:isolate; pointer-events:none; }
.acy-login-art::before {
  content:""; position:absolute; width:470px; height:310px; max-width:108%; left:-28px; top:0;
  background:radial-gradient(ellipse,rgba(70,156,219,.14),rgba(118,92,205,.05) 45%,transparent 69%);
  animation:acy-login-aura 14s ease-in-out infinite alternate; animation-play-state:paused;
}
.acy-login-scene { position:absolute; width:440px; height:300px; left:0; top:-4px; animation:acy-login-float 5.5s ease-in-out infinite alternate; animation-play-state:paused; }
.acy-login-globe { position:absolute; width:200px; height:200px; left:114px; top:50px; z-index:1; }
.acy-login-globe::before { content:""; position:absolute; inset:9px; border-radius:50%; background:#081a30; box-shadow:0 0 26px rgba(60,170,245,.22),0 20px 48px rgba(0,0,0,.42); }
.acy-login-earth-fallback { position:absolute; inset:6px; border-radius:50%; background-color:#0c355e; background-image:url("/wp-content/themes/aicanyuan-lab/assets/images/nasa-blue-marble-january-5400x2700.jpg"); background-size:auto 100%; background-position:43% center; box-shadow:inset 2px 2px 5px rgba(150,216,255,.5); }
.acy-login-earth-fallback::after { content:""; position:absolute; inset:0; border-radius:inherit; background:radial-gradient(circle at 27% 27%,transparent 28%,rgba(4,12,30,.45) 68%,#050e22 92%); }
.acy-login-earth { display:block; width:200px; height:200px; position:relative; opacity:0; }
.acy-login-earth.is-ready { opacity:1; }
.acy-login-globe:has(.is-ready) .acy-login-earth-fallback { visibility:hidden; }
.acy-login-orbit { position:absolute; inset:0; width:440px; height:300px; overflow:visible; }
.acy-login-orbit--back { z-index:0; opacity:.65; }
.acy-login-orbit--front { z-index:2; }
.acy-login-orbit-line { fill:none; stroke:url(#acy-login-orbit-gradient); stroke-width:1.25; }
.acy-login-orbit--back .acy-login-orbit-line { stroke-width:.85; }
.acy-login-orbit-echo { fill:none; stroke:rgba(157,195,241,.13); stroke-width:.7; }
.acy-login-orbit-trail { fill:none; stroke:#b2e8ff; stroke-width:2; opacity:.7; stroke-linecap:round; filter:drop-shadow(0 0 4px #5aacdf); }
.acy-login-satellite { filter:drop-shadow(0 0 5px #7bccff); }
.acy-login-satellite-aura { fill:#76c5ee; opacity:.16; }
.acy-login-satellite-core { fill:#e7f9ff; }
.acy-login-orbit-note { position:absolute; left:18px; bottom:7px; color:#6f859f; font-size:10px; letter-spacing:.24em; }
.acy-login-page[data-motion-paused="false"] .acy-login-scene,
.acy-login-page[data-motion-paused="false"] .acy-login-art::before { animation-play-state:running; }
@keyframes acy-login-float { from { transform:translateY(4px); } to { transform:translateY(-12px); } }
.acy-login-card {
  position: relative; width: 100%; max-width: 464px; padding: 36px 38px 30px;
  border: 1px solid rgba(192, 213, 255, .2); border-radius: 24px;
  background: linear-gradient(138deg, rgba(39, 54, 82, .78), rgba(17, 26, 48, .9) 62%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .27), inset 0 1px 0 rgba(218, 231, 255, .1);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  animation: acy-login-enter .4s ease-out both;
}
.acy-login-card::before { content: ""; position: absolute; width: 90px; height: 1px; top: -1px; left: 38px; background: linear-gradient(90deg, transparent, #bce5f5, transparent); }
.acy-login-card-tag { margin: 0 0 14px; color: #a1b8d6; font-size: 10px; letter-spacing: .2em; }
.acy-login-card h2 { margin: 0; color: #f4f7ff; font-size: 29px; line-height: 1.5; font-weight: 600; letter-spacing: .04em; }
.acy-login-card-intro { margin: 9px 0 25px; color: #b0bdd1; font-size: 13px; line-height: 1.8; }
.acy-login-page .acy-login-card .v06-form { margin: 0; display: grid; gap: 20px; }
.acy-login-page .acy-login-card .v06-form label { color: #e4ecfb; font-size: 13px; font-weight: 400; display: grid; gap: 8px; }
.acy-login-page .acy-login-card .v06-form label small { color: #a1b0c9; font-size: 11px; font-weight: 400; line-height: 1.7; letter-spacing: 0; }
.acy-login-page .acy-login-card .v06-form input[type="text"],
.acy-login-page .acy-login-card .v06-form input[type="password"] {
  width: 100%; min-width: 0; height: 50px; padding: 0 15px; border: 1px solid rgba(181, 204, 244, .2);
  background: rgba(6, 15, 33, .45); color: #eef5ff; border-radius: 11px; font: inherit; font-size: 15px;
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, .05); outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.acy-login-page .acy-login-card .v06-form input::placeholder { color: #7386a2; opacity: 1; font-size: 13px; }
.acy-login-page .acy-login-card .v06-form input:focus { border-color: #a3d8ef; background: #101e37; box-shadow: 0 0 0 3px rgba(139, 210, 241, .12); }
.acy-login-page .acy-login-card .v06-form input:autofill { color: #eef5ff; }
.acy-login-page .acy-login-card .v06-form input:-webkit-autofill { -webkit-text-fill-color: #eef5ff; -webkit-box-shadow: 0 0 0 80px #142139 inset; caret-color: #eef5ff; }
.acy-login-page .acy-login-card .v06-form .v06-check { display: flex; flex-wrap: nowrap; align-items: center; gap: 9px; color: #b5c2d7; font-size: 12px; margin: -2px 0; line-height: 1.6; min-height: 28px; cursor: pointer; }
.acy-login-page .acy-login-card .v06-check input { width: 16px; height: 16px; margin: 0; flex-shrink: 0; accent-color: #b5dce9; }
.acy-login-page .acy-login-submit {
  width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 14px;
  border: 1px solid rgba(229, 245, 255, .5); border-radius: 11px;
  background: linear-gradient(105deg, #c1e8e8, #bad1f4 67%, #c4c3ec); color: #13233b;
  box-shadow: 0 5px 22px rgba(126, 176, 233, .15); font: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.acy-login-page .acy-login-submit:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 7px 24px rgba(141, 199, 238, .24); }
.acy-login-page .acy-login-submit:active { transform: translateY(0); }
.acy-login-submit svg { width: 16px; height: 16px; }
.acy-login-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 24px; padding-top: 21px; border-top: 1px solid var(--login-line); font-size: 12px; }
.acy-login-links a { color: #c2d0e7; text-decoration: none; line-height: 1.8; }
.acy-login-links a:hover { color: #fff; }
.acy-login-card-note { margin: 22px 0 0; color: #91a2bd; font-size: 11px; display: flex; gap: 7px; align-items: center; line-height: 1.8; }
.acy-login-card-note svg { width: 13px; height: 13px; flex-shrink: 0; }
.acy-login-page .v06-form-errors { border: 1px solid #9b657c; border-radius: 10px; padding: 12px 14px; margin: 0 0 20px; background: #362235; color: #ffcfda; font-size: 13px; line-height: 1.8; }
.acy-login-page .v06-form-errors ul { margin: 0; padding-left: 18px; }
.acy-login-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(173, 199, 234, .1); color: #8a9bb6; font-size: 11px; }
.acy-login-bottom p { margin: 0; line-height: 1.8; }
.acy-login-bottom strong { font-weight: 400; color: #abbad1; margin-right: 16px; }
.acy-login-motion { display: flex; align-items: center; gap: 7px; min-height: 34px; padding: 5px 9px; border: 1px solid transparent; border-radius: 7px; background: none; color: #a6b7ce; font: inherit; font-size: 11px; cursor: pointer; }
.acy-login-motion:hover { color: #e5efff; border-color: var(--login-line); }
.acy-login-motion i { width: 9px; height: 10px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.acy-login-motion[aria-pressed="true"] i { width: 0; height: 0; border: 5px solid transparent; border-left: 7px solid currentColor; border-right: 0; }
.acy-login-motion:disabled { cursor: default; opacity: .7; }
.acy-login-page .v06-footer { display: none; }
.acy-login-page a:focus-visible, .acy-login-page button:focus-visible, .acy-login-page input[type="checkbox"]:focus-visible { outline: 2px solid #c4e7fb; outline-offset: 4px; }
.acy-login-page .v06-skip:focus { color: #14213b; background: #d7f2ff; z-index: 20; }

@keyframes acy-login-aura { from { opacity: .65; transform: translate(-5px, 2px) scale(.98); } to { opacity: 1; transform: translate(8px, -5px) scale(1.04); } }
@keyframes acy-login-enter { from { opacity: .7; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@supports not (backdrop-filter: blur(1px)) { .acy-login-card { background: #18253e; } }
@media (min-width: 1600px) { .acy-login-layout { gap: 120px; } }
@media (max-width: 1100px) {
  .acy-login-page .v06-header, .acy-login-page .v06-main { width: calc(100% - 64px); }
  .acy-login-layout { gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .acy-login-card { padding: 30px; }
  .acy-login-art { transform: scale(.88); transform-origin: left center; margin-left: -9px; }
  .acy-login-page .v06-brand small { font-size: 9px; letter-spacing: .03em; }
}
@media (max-width: 760px) {
  .acy-login-page .v06-header { width: calc(100% - 40px); min-height: 84px; padding: 18px 0; gap: 16px; }
  .acy-login-page .v06-brand strong { font-size: 19px; }
  .acy-login-page .v06-brand small { font-size: 8px; letter-spacing: .01em; }
  .acy-login-page .v06-brand-mark { width: 37px; height: 37px; border-radius: 10px; }
  .acy-login-page .v06-nav, .acy-login-page .v06-header-user, .acy-login-page .v06-menu { display: none !important; }
  .acy-login-page .v06-main { width: calc(100% - 40px); margin: 0 auto; padding: 16px 0 20px; justify-content: flex-start; }
  .acy-login-layout { display: flex; flex-direction: column; gap: 22px; }
  .acy-login-welcome { width: 100%; padding: 0; }
  .acy-login-kicker { font-size: 10px; margin-bottom: 13px; letter-spacing: .1em; }
  .acy-login-welcome h1 { font-size: 29px; line-height: 1.45; position: relative; z-index: 1; }
  .acy-login-welcome > p:not(.acy-login-kicker) { font-size: 12px; margin: 12px 0 0; max-width: 240px; position: relative; z-index: 1; }
  .acy-login-art { position: relative; width: 100%; height: 158px; transform: none; opacity: 1; margin: -8px 0 -16px; }
  .acy-login-art::before { width:100%; max-width:none; height:190px; left:0; top:-15px; }
  .acy-login-scene { left:calc(50% - 220px); top:-72px; scale:.64; }
  .acy-login-orbit-note { display: none; }
  .acy-login-card { max-width: 464px; padding: 26px 24px 23px; border-radius: 20px; }
  .acy-login-card h2 { font-size: 25px; }
  .acy-login-card-intro { margin-bottom: 23px; }
  .acy-login-page .acy-login-card .v06-form { gap: 18px; }
  .acy-login-page .acy-login-card .v06-form input[type="text"], .acy-login-page .acy-login-card .v06-form input[type="password"] { font-size: 16px; }
  .acy-login-links { margin-top: 21px; padding-top: 18px; }
  .acy-login-card-note { margin-top: 18px; }
  .acy-login-bottom { margin-top: 24px; padding-top: 16px; gap: 8px; }
  .acy-login-bottom p > span { display: none; }
}
@media (max-width: 359px) {
  .acy-login-page .v06-header, .acy-login-page .v06-main { width: calc(100% - 32px); }
  .acy-login-card { padding: 24px 20px 21px; }
  .acy-login-welcome h1 { font-size: 26px; }
  .acy-login-page .v06-brand small { font-size: 7px; }
  .acy-login-links { font-size: 11px; }
  .acy-login-scene { scale:.60; }
}
@media (prefers-reduced-motion: reduce) {
  .acy-login-page *, .acy-login-page *::before, .acy-login-page *::after { animation: none !important; transition: none !important; }
}
