/* 登记姓名学号（js/reg.js）和排行榜页（js/rank.js） */
.reg-sheet { z-index: 12; }
.reg-tip { font-size: 15px; line-height: 1.55; color: #6A3B2C; margin: -2px 2px 10px; text-align: center; }
.reg-f { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.reg-f span { flex: none; width: 3em; font-size: 17px; font-weight: 700; color: #6A3B2C; }
.reg-f input {
  flex: 1; min-width: 0; height: 50px; padding: 0 14px; border-radius: 14px; border: 1.5px solid rgba(42, 10, 30, .18); background: #fff;
  font: 18px var(--text-font); color: var(--ink); -webkit-user-select: text; user-select: text;
}
.reg-f input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(232, 56, 47, .18); }
.reg-err { margin: 8px 2px 0; font-size: 15px; color: #C02A24; text-align: center; }
.reg-acts { display: flex; gap: 10px; margin-top: 16px; }
.reg-acts .slab { flex: 1; font-size: 21px; }
.reg-acts .slab.cream { flex: .62; }
.deed .reg-st { font-size: 14px; color: #6A3B2C; }

/* 排行榜页：顶栏沿用选城市页，下面三栏切换 */
#rank { background: var(--sky); }
#rk-back { position: absolute; left: 8px; top: 10px; }
.rk-tabs { position: absolute; left: 12px; right: 12px; top: calc(env(safe-area-inset-top) + 88px); }
.rk-tabs button { font-size: 16px; }
.rk-body {
  position: absolute; left: 0; right: 0; bottom: 0; top: calc(env(safe-area-inset-top) + 148px);
  overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 10px 10px calc(env(safe-area-inset-bottom) + 20px);
}
.rk-rule { margin: 0 4px 10px; font-size: 15px; line-height: 1.5; color: #6A3B2C; }
.rk-me { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 12px 14px; border-radius: 16px; background: #FFF0DA; font-size: 16px; line-height: 1.45; }
.rk-me > div { flex: 1; min-width: 0; }
.rk-me b { color: var(--red); }
.rk-me button { flex: none; min-width: 76px; height: 44px; padding: 0 12px; border-radius: 12px; background: #FFE9B8; box-shadow: inset 0 0 0 2px var(--ink); font-size: 16px; font-weight: 800; }
.rk-list { border-radius: 16px; background: #FFF8EE; box-shadow: 0 2px 8px rgba(42, 10, 30, .08); overflow: hidden; }
.rk-row { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 8px 14px; border-top: 1px dashed rgba(42, 10, 30, .15); }
.rk-row:first-child { border-top: 0; }
.rk-row.me { background: #FFF0EC; box-shadow: inset 4px 0 0 var(--red); }
.rk-n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 17px; font-weight: 800; color: #6A3B2C; }
.rk-row:nth-child(1) .rk-n { background: #FFC83D; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.rk-row:nth-child(2) .rk-n { background: #DCE3EC; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.rk-row:nth-child(3) .rk-n { background: #F0B27A; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.rk-who { flex: 1; min-width: 0; }
.rk-who b { display: block; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-who small { display: block; font-size: 14px; color: #6A3B2C; }
.rk-v { flex: none; font-size: 20px; font-weight: 800; }
.rk-empty { padding: 28px 16px; text-align: center; font-size: 16px; line-height: 1.6; color: #6A3B2C; }
.rk-empty button { margin-top: 12px; min-width: 96px; height: 44px; border-radius: 12px; background: #FFE9B8; box-shadow: inset 0 0 0 2px var(--ink); font-size: 16px; font-weight: 800; color: var(--ink); }
