/* 登录弹窗与账号按钮（供工具页和内容页共用） */
.site-account-btn { background: transparent; color: #e9e6d8; border: 1px solid #343a30; border-radius: 999px; padding: 7px 14px; cursor: pointer; font: inherit; font-size: 13px; }
.site-account-btn:hover { border-color: #e9b949; }
.site-account-user { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #a8a793; }
.site-account-user > span { max-width: 135px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(4,6,4,.72); backdrop-filter: blur(5px); display: grid; place-items: center; padding: 18px; }
.site-modal { width: min(430px, 100%); max-height: 92vh; overflow: auto; background: #1b1e1a; color: #e9e6d8; border: 1px solid #4b5144; border-radius: 14px; padding: 26px; box-shadow: 0 18px 50px rgba(0,0,0,.35); position: relative; font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif; line-height: 1.75; }
.site-modal h2 { margin: 0 0 4px; font-size: 23px; }
.site-modal-close { position: absolute; right: 13px; top: 10px; border: 0; background: none; color: #a8a793; font-size: 27px; cursor: pointer; }
.site-muted { color: #a8a793; }
.site-tiny { color: #858a7c; font-size: 12px; }
.auth-tabs { display: flex; gap: 8px; margin: 18px 0 14px; }
.auth-tabs button { flex: 1; padding: 9px; border: 1px solid #343a30; background: #232720; color: #a8a793; border-radius: 8px; cursor: pointer; font: inherit; }
.auth-tabs button.active { color: #241c0d; background: #e9b949; border-color: #e9b949; font-weight: 700; }
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.auth-form label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: #a8a793; }
.auth-form input { border: 1px solid #343a30; background: #11130f; color: #e9e6d8; border-radius: 7px; padding: 10px 12px; font: inherit; }
.auth-form input:focus { outline: 2px solid rgba(233,185,73,.35); border-color: #e9b949; }
.auth-submit { margin-top: 4px; border: 0; background: #e9b949; color: #211909; border-radius: 8px; padding: 11px; cursor: pointer; font: inherit; font-weight: 800; }
.auth-submit:disabled { opacity: .6; cursor: wait; }
.auth-error { color: #e2776b; font-size: 13px; min-height: 20px; margin: 0; }
.auth-forgot { border: 0; background: none; color: #7fb2ee; cursor: pointer; padding: 0; margin: 8px 0; font: inherit; font-size: 13px; }
.site-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 120; background: #273126; color: #e9f0e4; border: 1px solid #526447; padding: 10px 18px; border-radius: 8px; font-size: 14px; pointer-events: none; transition: .2s; }
.site-toast.show { opacity: 1; transform: translate(-50%, 0); }
.site-toast.error { border-color: #77453f; background: #32211f; color: #f4d7d2; }
