/* 登录页和账号页。和入町预订台同一套：藏青 #191B35、奶油底 #F8F3E6、米白 #FFFCF5，logo 的红蓝绿只做点缀。
   只用系统字体，固定浅色，颜色都明确写出来；手机优先，输入框 16px 以上（防 iOS 缩放），点按区域 48px 以上。 */
:root { color-scheme: light; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: #F8F3E6; color: #191B35;
  font: 16px/1.6 -apple-system, "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  -webkit-tap-highlight-color: rgba(25, 27, 53, .08);
}
h1, h2, p { margin: 0; }
a { color: #2A4A8B; }
button { font: inherit; color: #191B35; cursor: pointer; -webkit-appearance: none; appearance: none; }
[hidden] { display: none !important; }

/* 顶上一道三色线：和预订台页头是同一道 */
.stripe { display: flex; height: 4px; }
.stripe i { flex: 1 1 0; }
.stripe .r { background: #DA3C3C; }
.stripe .b { background: #3278C4; }
.stripe .g { background: #49B56D; }

/* ---------- 登录页 ---------- */
.brand { padding: 30px 24px 76px; background: #191B35; color: #FFFFFF; }
.marks { display: flex; align-items: flex-end; height: 16px; }
.marks i { display: block; margin-right: 8px; }
.m-tri { width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 16px solid #DA3C3C; }
.m-dot { width: 16px; height: 16px; border-radius: 50%; background: #3278C4; }
.m-sq { width: 15px; height: 15px; border-radius: 3px; background: #49B56D; }
.brand-name { margin-top: 14px; font-size: 26px; line-height: 1.3; font-weight: 600; letter-spacing: .02em; }
.brand-line { margin-top: 6px; font-size: 15px; color: #C9CADB; }
.brand-line span { display: inline-block; }
.brand-foot { display: none; }

.panel { margin-top: -48px; padding: 0 16px 28px; }
.card { max-width: 420px; margin: 0 auto; padding: 26px 22px 22px; background: #FFFCF5; border: 1px solid #E2E1EA; border-radius: 16px; box-shadow: 0 10px 32px rgba(25, 27, 53, .12); }
.card h1 { font-size: 22px; line-height: 1.35; font-weight: 600; }

.field { display: block; margin-top: 18px; }
.card h1 + form .field:first-child { margin-top: 14px; }
.field-name { display: block; font-size: 14px; font-weight: 600; color: #4E5068; }
.field-top { display: flex; align-items: center; justify-content: space-between; min-height: 22px; }
.box { display: block; margin-top: 6px; }
.input {
  display: block; width: 100%; height: 52px; padding: 0 14px;
  font: inherit; font-size: 17px; color: #191B35; background: #FFFFFF; border: 1px solid #8A8CA0; border-radius: 10px; outline: none;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: #6E7085; opacity: 1; }
.input:focus { border-color: #191B35; box-shadow: 0 0 0 3px rgba(25, 27, 53, .14); }
.input.bad { border-color: #A82F29; }
/* 浏览器和密码管理器自动填上的：照样白底藏青字，不要浏览器自带的那层浅蓝或浅黄 */
.input:-webkit-autofill, .input:-webkit-autofill:hover { -webkit-text-fill-color: #191B35; caret-color: #191B35; -webkit-box-shadow: 0 0 0 100px #FFFFFF inset; box-shadow: 0 0 0 100px #FFFFFF inset; }
.input:-webkit-autofill:focus { -webkit-text-fill-color: #191B35; caret-color: #191B35; -webkit-box-shadow: 0 0 0 100px #FFFFFF inset, 0 0 0 3px rgba(25, 27, 53, .14); box-shadow: 0 0 0 100px #FFFFFF inset, 0 0 0 3px rgba(25, 27, 53, .14); }
/* “显示”在标题那一行的右边，不在框里：框的右端留给密码管理器的图标。点按区 44px 高，靠负边距不把这一行撑高 */
.eye { flex: none; height: 44px; min-width: 56px; margin: -11px -8px -11px 0; padding: 0 8px; background: transparent; border: 0; border-radius: 8px; font-size: 14px; font-weight: 600; color: #2A4A8B; text-align: right; }
.eye:focus-visible, .btn:focus-visible, .ghost:focus-visible, .top a:focus-visible { outline: 2px solid #191B35; outline-offset: 2px; }

.msg { margin-top: 16px; padding: 10px 12px; font-size: 15px; border-radius: 10px; }
.msg:empty { display: none; }
.msg.err { color: #7E201B; background: #FBE4E2; }
.msg.wait { color: #6B4507; background: #FDF1DC; }
.msg.ok { color: #1F5E38; background: #EAF6EE; }

.btn {
  display: block; width: 100%; min-height: 52px; margin-top: 20px; padding: 10px 16px;
  background: #191B35; color: #FFFFFF; border: 0; border-radius: 10px; font-size: 17px; font-weight: 600; text-align: center; text-decoration: none;
}
.btn:hover { background: #2E3157; }
.btn:disabled { background: #6E7085; cursor: default; }
a.btn { display: flex; align-items: center; justify-content: center; }
.help { margin-top: 16px; font-size: 14px; color: #4E5068; text-align: center; }
.aside { max-width: 420px; margin: 20px auto 0; padding: 0 6px; font-size: 14px; color: #4E5068; text-align: center; }
.logo { margin-top: 28px; text-align: center; }
.logo img { display: inline-block; height: 28px; width: auto; mix-blend-mode: multiply; }

/* 比手机宽、又没到左右分栏的窗口：品牌带里的字和下面的卡片对齐成一列，不贴在最左边 */
@media (min-width: 460px) and (max-width: 759px) {
  .brand { padding-left: calc(50% - 204px); padding-right: calc(50% - 204px); }
}
/* 平板竖屏、电脑上的半屏窗口起就左右分栏（原来 900 才分，中间那一段是把手机版拉宽了看） */
@media (min-width: 760px) {
  .split { display: flex; min-height: calc(100vh - 4px); }
  .brand { position: relative; flex: 0 0 42%; display: flex; flex-direction: column; justify-content: center; padding: 48px 36px; }
  .marks { height: 22px; }
  .marks i { margin-right: 10px; }
  .m-tri { border-left-width: 13px; border-right-width: 13px; border-bottom-width: 22px; }
  .m-dot { width: 22px; height: 22px; }
  .m-sq { width: 20px; height: 20px; border-radius: 4px; }
  .brand-name { margin-top: 22px; font-size: 32px; }
  .brand-line { margin-top: 10px; max-width: 320px; font-size: 16px; }
  .brand-foot { display: block; position: absolute; left: 36px; bottom: 32px; font-size: 13px; letter-spacing: .08em; color: #8E90AE; }
  .panel { flex: 1 1 0; display: flex; flex-direction: column; justify-content: center; margin-top: 0; padding: 40px 28px; }
  .card { width: 100%; padding: 30px 28px 26px; }
  .card h1 { font-size: 24px; }
  .aside { margin-left: auto; margin-right: auto; }
}
@media (min-width: 1000px) {
  .brand { padding: 64px 56px; }
  .marks { height: 26px; }
  .marks i { margin-right: 12px; }
  .m-tri { border-left-width: 15px; border-right-width: 15px; border-bottom-width: 26px; }
  .m-dot { width: 26px; height: 26px; }
  .m-sq { width: 24px; height: 24px; }
  .brand-name { margin-top: 26px; font-size: 40px; }
  .brand-line { margin-top: 12px; font-size: 17px; }
  .brand-foot { left: 56px; bottom: 40px; }
  .panel { padding: 48px 32px; }
  .card { padding: 34px 32px 28px; }
}

/* ---------- 账号页 ---------- */
.top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 16px; background: #FFFCF5; border-bottom: 1px solid #E2E1EA; }
.top img { display: block; height: 26px; width: auto; mix-blend-mode: multiply; }
.top a { display: flex; align-items: center; min-height: 48px; font-size: 15px; font-weight: 600; text-decoration: none; }
.acct { max-width: 480px; margin: 0 auto; padding: 22px 16px 36px; }
.acct > h1 { font-size: 24px; line-height: 1.35; font-weight: 600; }
.acct .card { max-width: none; margin-top: 16px; box-shadow: 0 1px 2px rgba(25, 27, 53, .05); }
.acct .card h2 { font-size: 19px; line-height: 1.4; font-weight: 600; }
.who { display: flex; align-items: center; }
.acct .card.who { padding: 18px 18px 18px 20px; }
.avatar { flex: none; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: 14px; border-radius: 50%; background: #191B35; color: #FFFFFF; font-size: 20px; font-weight: 600; }
.who-text { flex: 1 1 auto; min-width: 0; }
.who-name { font-size: 18px; font-weight: 600; line-height: 1.35; }
.who-sub { font-size: 14px; color: #4E5068; word-break: break-all; }
.ghost { flex: none; min-height: 48px; margin-left: 10px; padding: 0 14px; background: #FFFFFF; border: 1px solid #8A8CA0; border-radius: 10px; font-size: 15px; font-weight: 600; }
.ghost:hover { background: #F4F4F8; }
.notice { margin-top: 16px; padding: 14px 16px; color: #6B4507; background: #FDF1DC; border-radius: 12px; box-shadow: inset 4px 0 0 #E8A13A; }
.notice strong { display: block; font-size: 17px; }
.rules { margin: 12px 0 0; padding: 0; list-style: none; font-size: 14px; color: #4E5068; }
.rules li { position: relative; padding-left: 22px; }
.rules li + li { margin-top: 2px; }
.rules li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 8px; height: 8px; border: 1.5px solid #8A8CA0; border-radius: 50%; }
.rules li.yes { color: #287E48; }
.rules li.yes::before { background: #49B56D; border-color: #49B56D; }
.done-tick { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #EAF6EE; }
.done-tick i { display: block; width: 12px; height: 22px; margin-top: -4px; border-right: 3px solid #287E48; border-bottom: 3px solid #287E48; transform: rotate(45deg); }
.done h2 { margin-top: 14px; }
.done p { margin-top: 4px; color: #4E5068; }
.lone { max-width: 480px; margin: 0 auto; padding: 72px 24px; text-align: center; color: #4E5068; }
@media (min-width: 900px) {
  .top { padding: 0 32px; }
  .acct { padding-top: 40px; }
  .acct .card { padding: 28px 28px 26px; }
  .acct .card.who { padding: 20px 24px; }
}
