/* 游客页只剩两块：顶栏右上角的「登录」入口，和点入口后才打开的登录弹窗。
   游客首页本身用的是登录后同一套外壳和 `.hello` 落地屏（样式在 index.html）。 */
.guest-login-button { background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--ink); border-radius: 12px; padding: 7px 22px; font: inherit; font-size: 14px; cursor: pointer; }
.guest-login-button:hover { border-color: var(--accent); }
.guest-brand { display: flex; align-items: center; gap: 10px; color: #f5f5f5; font: 650 23px/1.3 "Segoe UI", "PingFang SC", sans-serif; letter-spacing: -.7px; }
.guest-brand > img { width: 36px; height: 36px; object-fit: contain; }
.guest-brand .auth-brand { display: flex; align-items: center; gap: 10px; margin: 0; }
.guest-brand .auth-brand-logo { max-width: 44px; max-height: 40px; margin: 0; }
.guest-brand .auth-brand-name { font-size: 23px; margin: 0; }
.guest-overlay button { font: inherit; cursor: pointer; }
.guest-rail-login { all: unset; cursor: pointer; display: block; padding: 6px 16px; font-size: 13px; color: var(--ink-3); }
body.guest #new-project { display: none; }
.guest-rail-login:hover { color: var(--ink); }
.guest-overlay { z-index: 100; display: grid; place-items: center; background: #000b; backdrop-filter: blur(7px); }
.guest-overlay .guest-auth-modal { position: relative; display: grid; grid-template-columns: 1.18fr 1fr; width: min(1040px,100%); max-width: 1040px; padding: 0; gap: 0; background: #1b1c1e; border: 1px solid #343537; border-radius: 22px; overflow: auto; box-shadow: 0 30px 100px #0008; }
.guest-auth-art { position: relative; min-height: 590px; overflow: hidden; }
.guest-auth-art > img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.guest-auth-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, #061216d9); }
.guest-art-caption { position: absolute; z-index: 1; bottom: 35px; left: 32px; right: 25px; }
.guest-eyebrow { font-size: 10px; color: #bee5e5; letter-spacing: 3px; }
.guest-art-caption h2 { margin: 10px 0; font-size: 29px; font-weight: 500; letter-spacing: -1px; }
.guest-art-caption p { font-size: 12px; line-height: 1.8; margin: 0; color: #c9d6d6; }
.guest-art-dots { display: flex; gap: 6px; margin-top: 22px; }
.guest-art-dots i { width: 6px; height: 6px; border-radius: 5px; background: #ffffff4d; }
.guest-art-dots i:first-child { width: 20px; background: #c9f1ef; }
.guest-auth-form { padding: 38px 35px 27px; min-width: 0; }
.guest-auth-form .guest-brand { font-size: 20px; margin-bottom: 36px; }
.guest-auth-form .guest-brand > img { width: 28px; height: 28px; }
.guest-auth-form h3 { margin: 0; font-size: 24px; font-weight: 500; letter-spacing: -.7px; }
.guest-auth-sub { color: #858b90; font-size: 13px; margin: 8px 0 25px; }
.guest-auth-form label { display: block; font-size: 12px; color: #b1b6b9; margin: 15px 0 7px; }
.guest-auth-form input { display: block; width: 100%; height: 48px; border: 1px solid #36393c; border-radius: 10px; background: #2a2c2f; padding: 0 15px; color: #f3f5f6; font-size: 14px; }
.guest-auth-form input:focus { border-color: #98dade; outline: 2px solid #98dade33; }
.guest-auth-feedback { min-height: 32px; padding-top: 5px; }
.guest-auth-feedback .msg { margin: 0; padding: 6px 8px; font-size: 12px; }
.guest-auth-form button.guest-auth-submit { display: block; width: 100%; height: 48px; margin: 9px 0 0; background: linear-gradient(100deg,#e8f6ee,#a7e5ec); color: #183439; border: 0; border-radius: 10px; font-weight: 600; }
.guest-auth-form button:disabled { opacity: .5; cursor: wait; }
.guest-auth-divider { display: flex; align-items: center; gap: 15px; color: #747a7e; font-size: 12px; margin: 24px 0 15px; }
.guest-auth-divider::before,.guest-auth-divider::after { content: ""; flex: 1; height: 1px; background: #333639; }
.guest-auth-form .guest-auth-register { display: block; width: 100%; height: 43px; border: 1px solid #42494c; background: transparent; color: #cbd5d7; border-radius: 10px; font-size: 13px; }
.guest-auth-register:hover { background: #2b3235; }
.guest-auth-note { margin: 20px 0 0; text-align: center; color: #787f84; font-size: 11px; }
.guest-auth-modal button.guest-auth-close { position: absolute; top: 15px; right: 15px; z-index: 2; padding: 0; width: 32px; height: 32px; background: #16181980; color: #d0d6d8; border: 0; border-radius: 50%; font-size: 25px; }
@media(max-width:760px) {
  .guest-overlay .guest-auth-modal { display: block; width: min(430px,100%); border-radius: 18px; }
  .guest-auth-art { display: none; } .guest-auth-form { padding: 30px 24px; }
  .guest-auth-form .guest-brand { margin-bottom: 30px; } .guest-auth-form h3 { font-size: 23px; }
  .guest-auth-form input { font-size: 16px; }
}
