/* ===================== 随机点名 ===================== */
@property --p { syntax: '<number>'; inherits: false; initial-value: 0; }

:root {
  --bg: #F2F5FB;
  --surface: #FFFFFF;
  --surface-2: #FAFBFD;
  --ink: #141A26;
  --ink-2: #55606F;
  --ink-3: #8B95A6;
  --line: #E5EAF2;
  --line-soft: #F0F3F8;
  --brand: #2B5CE6;
  --brand-2: #4C7BFF;
  --brand-soft: #EDF2FF;
  --gold: #C8952F;
  --pos: #17A34A;
  --neg: #E0443E;
  --violet: #7A5AF8;
  --amber: #D98324;
  --shadow-1: 0 1px 2px rgba(20, 28, 45, .05);
  --shadow-2: 0 20px 44px -20px rgba(20, 28, 45, .3);
  --shadow-3: 0 34px 80px -28px rgba(20, 28, 45, .38);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink); font-size: 14px; line-height: 1.6;
  background:
    radial-gradient(1100px 620px at 12% -10%, #E7EEFF 0%, rgba(231, 238, 255, 0) 62%),
    radial-gradient(900px 560px at 92% 4%, #FFF3E2 0%, rgba(255, 243, 226, 0) 58%),
    radial-gradient(900px 700px at 60% 110%, #EDE9FF 0%, rgba(237, 233, 255, 0) 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: #C9D8FF; }
.class-mark { font-variant-numeric: tabular-nums; user-select: none; }

.rc-app {
  min-height: 100vh; display: flex; flex-direction: column;
  padding: 18px 22px 0; gap: 14px; max-width: 1920px; margin: 0 auto;
}

/* ---------- 顶栏 ---------- */
.rc-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.rc-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rc-brand-text b { display: block; font-size: 16px; letter-spacing: -.01em; }
.rc-brand-text span { font-size: 11px; color: var(--ink-3); letter-spacing: .1em; }
.rc-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rc-tool {
  height: 32px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .78); color: var(--ink-2); font-size: 12.5px; font-weight: 550;
  display: inline-flex; align-items: center; transition: .15s; backdrop-filter: blur(6px);
}
.rc-tool:hover { border-color: #C9D3E4; color: var(--ink); background: #fff; }
.rc-tool.off { color: var(--ink-3); background: rgba(255, 255, 255, .5); }

/* ---------- 主体 ---------- */
.rc-main {
  flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 292px;
  gap: 16px; min-height: 0; padding-bottom: 8px;
}

/* 舞台 */
.rc-stage {
  position: relative; overflow: hidden; border-radius: 24px;
  background: linear-gradient(168deg, #FFFFFF 0%, #FBFCFE 58%, #F5F8FF 100%);
  border: 1px solid #E7EDF8; box-shadow: var(--shadow-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(14px, 2.2vh, 30px);
  padding: clamp(26px, 4vh, 52px) clamp(20px, 3vw, 56px);
  min-height: 420px;
  transition: box-shadow .5s, border-color .5s;
}
.rc-stage.rolling { border-color: #CCD9F8; box-shadow: 0 26px 60px -26px rgba(43, 92, 230, .38); }
.rc-stage.hit { border-color: #F3DCB4; box-shadow: 0 30px 70px -28px rgba(200, 149, 47, .42); }

.rc-stage-glow {
  position: absolute; inset: -30% -10% auto -10%; height: 78%;
  background: radial-gradient(50% 60% at 50% 0%, rgba(76, 123, 255, .16), rgba(76, 123, 255, 0) 70%);
  pointer-events: none; opacity: .9; transition: opacity .4s;
}
.rc-stage.rolling .rc-stage-glow {
  background: radial-gradient(50% 65% at 50% 0%, rgba(76, 123, 255, .3), rgba(76, 123, 255, 0) 72%);
  animation: rc-breathe 1.4s ease-in-out infinite;
}
.rc-stage.hit .rc-stage-glow {
  background: radial-gradient(52% 68% at 50% 0%, rgba(224, 168, 46, .34), rgba(224, 168, 46, 0) 72%);
  opacity: 1;
}
@keyframes rc-breathe { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }

#rc-confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }

.rc-status {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  height: 28px; padding: 0 14px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
  font-size: 12px; font-weight: 650; letter-spacing: .02em;
  transition: .25s;
}
.rc-status::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 3px rgba(43, 92, 230, .14);
}
.rc-stage.rolling .rc-status { background: #E8F0FF; }
.rc-stage.rolling .rc-status::before { animation: rc-blink .7s steps(2) infinite; }
.rc-stage.hit .rc-status { background: #FCF3DF; color: #9A6E14; }
.rc-stage.hit .rc-status::before { box-shadow: 0 0 0 3px rgba(200, 149, 47, .18); }
@keyframes rc-blink { 50% { opacity: .25; } }

.rc-name-wrap { position: relative; z-index: 2; text-align: center; max-width: 100%; }
.rc-name {
  font-size: clamp(64px, 11.4vw, 208px);
  line-height: 1.02; font-weight: 800; letter-spacing: -.04em;
  background: linear-gradient(150deg, #1F3C8F 0%, #2B5CE6 46%, #6E8BFF 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding: 0 .06em;
  transition: filter .2s;
  max-width: 100%; overflow-wrap: anywhere;
}
.rc-stage.rolling .rc-name { filter: blur(.6px) saturate(1.05); }
.rc-stage.hit .rc-name {
  background: linear-gradient(150deg, #8A5A12 0%, #D9A21B 48%, #F0C25A 100%);
  -webkit-background-clip: text; background-clip: text;
  animation: rc-pop .62s cubic-bezier(.2, 1.5, .4, 1);
}
@keyframes rc-pop {
  0% { transform: scale(.82); opacity: .4; }
  55% { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); }
}
.rc-meta {
  margin-top: 10px; font-size: clamp(12.5px, 1.05vw, 16px); color: var(--ink-3);
  font-variant-numeric: tabular-nums; letter-spacing: .01em;
}

/* 大按钮 */
.rc-btn {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 12px;
  height: clamp(50px, 6.2vh, 64px); padding: 0 clamp(26px, 3vw, 44px);
  border-radius: 999px; color: #fff; font-size: clamp(15px, 1.3vw, 19px); font-weight: 700;
  background: linear-gradient(135deg, #3E6BF0 0%, #2B5CE6 60%, #1F49C9 100%);
  box-shadow: 0 16px 32px -12px rgba(43, 92, 230, .62), inset 0 1px 0 rgba(255, 255, 255, .24);
  transition: transform .16s, box-shadow .16s, background .3s;
}
.rc-btn:hover { transform: translateY(-1px); box-shadow: 0 20px 38px -12px rgba(43, 92, 230, .7), inset 0 1px 0 rgba(255, 255, 255, .24); }
.rc-btn:active { transform: translateY(1px) scale(.99); }
.rc-btn kbd {
  font-family: inherit; font-size: 11px; font-weight: 600; opacity: .8;
  border: 1px solid rgba(255, 255, 255, .5); border-radius: 6px; padding: 1px 6px;
}
.rc-btn.stopping {
  background: linear-gradient(135deg, #E9584F 0%, #D93B3B 60%, #B92A2A 100%);
  box-shadow: 0 16px 32px -12px rgba(217, 59, 59, .55), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.rc-btn.again {
  background: linear-gradient(135deg, #E2AE33 0%, #C8952F 60%, #A8791E 100%);
  box-shadow: 0 16px 32px -12px rgba(200, 149, 47, .55), inset 0 1px 0 rgba(255, 255, 255, .26);
}

.rc-actions {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 7px;
  padding: 5px 7px 5px 13px; border-radius: 999px; background: #FFF8E8; border: 1px solid #F3E2BC;
  animation: rc-pop .4s ease;
}
.rc-actions[hidden] { display: none; }
.rc-actions-label { font-size: 12px; color: #9A6E14; font-weight: 600; flex: none; white-space: nowrap; }
.rc-actions button {
  height: 28px; min-width: 44px; padding: 0 10px; border-radius: 999px;
  background: #fff; border: 1px solid #EFDDB8; color: #8A5A12;
  font-size: 12.5px; font-weight: 700; transition: .14s;
}
.rc-actions button:hover { background: #F7C34A; border-color: #F7C34A; color: #4A3208; }
.rc-actions button:disabled { opacity: .45; cursor: default; }
.rc-actions-sep { width: 1px; height: 16px; background: #EFDDB8; margin: 0 2px; flex: none; }
.rc-actions button.minus { color: #A93A35; border-color: #F0D3D1; min-width: 40px; }
.rc-actions button.minus:hover { background: #FDECEB; border-color: #F3C9C6; color: #8E2A26; }
.rc-actions-lock {
  flex: none; margin-left: 2px; padding: 2px 8px; border-radius: 999px;
  background: #F1F3F8; color: #7C88A0; font-size: 10.5px; font-weight: 650; letter-spacing: .02em;
}
.rc-actions-lock[hidden] { display: none; }
.rc-actions.locked { background: #F7F8FB; border-color: #E3E8F1; }
.rc-actions.locked .rc-actions-label { color: #7C88A0; }
.rc-actions.locked .rc-actions-sep { background: #E3E8F1; }

/* 顶栏登录按钮：未登录是普通工具按钮，登录后变淡绿显示姓名 */
.rc-tool#rc-login { border-color: #C9D8FF; color: var(--brand); background: rgba(237, 242, 255, .9); }
.rc-tool#rc-login:hover { border-color: #A9C1FF; background: #E8F0FF; }
.rc-tool#rc-login.on {
  color: #157A3B; border-color: #C6E9D3; background: #EDF9F1; max-width: 160px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.rc-tip { position: relative; z-index: 2; font-size: 11.5px; color: #A6AFBE; letter-spacing: .02em; }

/* ---------- 侧栏 ---------- */
.rc-side {
  display: flex; flex-direction: column; border-radius: 20px; background: rgba(255, 255, 255, .82);
  border: 1px solid #E7EDF8; box-shadow: var(--shadow-1); overflow: hidden; min-height: 0;
  backdrop-filter: blur(8px);
}
.rc-side-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 16px 12px; border-bottom: 1px solid var(--line-soft);
}
.rc-side-head b { font-size: 13.5px; }
.rc-side-head span { font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.rc-picked { flex: 1; overflow: auto; padding: 12px; display: flex; flex-direction: column; gap: 7px; }
.rc-picked-item {
  display: flex; align-items: center; gap: 9px; padding: 8px 10px;
  border-radius: 11px; background: var(--surface-2); border: 1px solid var(--line-soft);
  animation: rc-slide .32s ease;
}
.rc-picked-item .rc-no {
  width: 20px; height: 20px; border-radius: 7px; background: #EFF3FC; color: #7C88A0;
  font-size: 10.5px; font-weight: 700; display: grid; place-items: center; flex: none;
  font-variant-numeric: tabular-nums;
}
.rc-picked-item b { font-size: 13px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-picked-item span { font-size: 10.5px; color: var(--ink-3); flex: none; }
.rc-picked-item:first-child { background: #FFFBF0; border-color: #F3E2BC; }
.rc-picked-item:first-child .rc-no { background: #F7C34A; color: #4A3208; }
@keyframes rc-slide { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.rc-empty { color: var(--ink-3); font-size: 12.5px; text-align: center; padding: 26px 0; }
.rc-side-foot { padding: 10px 12px 12px; border-top: 1px solid var(--line-soft); }
.rc-progress {
  display: flex; align-items: center; gap: 12px; padding: 4px 4px 12px;
}
.rc-ring {
  --p: 0; width: 54px; height: 54px; border-radius: 50%; flex: none;
  background: conic-gradient(#2B5CE6 calc(var(--p) * 1%), #E9EEF8 0);
  display: grid; place-items: center; position: relative; transition: --p .5s;
}
.rc-ring::after {
  content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fff;
}
.rc-ring span {
  position: relative; z-index: 1; font-size: 11.5px; font-weight: 700; color: #2B5CE6;
  font-variant-numeric: tabular-nums;
}
.rc-progress-text b { display: block; font-size: 12.5px; }
.rc-progress-text span { font-size: 11px; color: var(--ink-3); }
.rc-reset {
  width: 100%; height: 34px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); font-size: 12.5px; font-weight: 600; transition: .15s;
}
.rc-reset:hover { border-color: #C9D3E4; color: var(--ink); background: var(--surface-2); }

/* ---------- 页脚 / 提示 ---------- */
.rc-foot {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px 4px 16px; font-size: 11.5px; color: var(--ink-3);
}
.rc-foot b { color: var(--ink-2); font-weight: 600; }
.rc-dot { opacity: .45; }
.rc-foot .icp-link { color: var(--ink-3); transition: .14s; }
.rc-foot .icp-link:hover { color: var(--brand, #2B5CE6); text-decoration: underline; }
.rc-foot .dev-entry { color: inherit; }
.rc-foot .dev-entry:hover, .rc-foot .dev-entry:hover b { color: var(--brand, #2B5CE6); }

.rc-toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 14px);
  background: #161B26; color: #fff; font-size: 13px; padding: 10px 18px; border-radius: 11px;
  opacity: 0; pointer-events: none; transition: .24s; z-index: 60; box-shadow: var(--shadow-2);
  max-width: 80vw; text-align: center;
}
.rc-toast.in { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 点名现场登录弹窗 ---------- */
body.no-scroll { overflow: hidden; }
.rc-auth {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; transition: opacity .18s;
}
.rc-auth[hidden] { display: none; }
.rc-auth.in { opacity: 1; }
.rc-auth-mask {
  position: absolute; inset: 0; background: rgba(17, 24, 39, .48);
  backdrop-filter: blur(3px);
}
.rc-auth-card {
  position: relative; width: min(400px, 100%); background: #fff; border-radius: 20px;
  padding: 24px 24px 18px; box-shadow: 0 34px 80px -28px rgba(20, 28, 45, .45);
  border: 1px solid #E7EDF8;
  transform: translateY(10px) scale(.985); transition: transform .22s cubic-bezier(.2, .9, .3, 1.2);
}
.rc-auth.in .rc-auth-card { transform: none; }
.rc-auth-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.rc-auth-head b { display: block; font-size: 18px; letter-spacing: -.01em; }
.rc-auth-head p { margin: 5px 0 0; font-size: 12.5px; color: var(--ink-3); line-height: 1.65; }
.rc-auth-x {
  flex: none; width: 30px; height: 30px; margin-left: auto; border-radius: 9px;
  color: var(--ink-3); font-size: 13px; display: grid; place-items: center; transition: .14s;
}
.rc-auth-x:hover { background: #F2F5FB; color: var(--ink); }
.rc-auth-field { display: block; margin-bottom: 12px; }
.rc-auth-field span { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.rc-auth-field input {
  width: 100%; height: 42px; padding: 0 13px; border-radius: 11px;
  border: 1px solid #DDE4F0; background: #FBFCFE; font-size: 14px; color: var(--ink);
  font-family: inherit; transition: .15s; outline: none;
}
.rc-auth-field input:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(43, 92, 230, .12); }
.rc-auth-err {
  font-size: 12.5px; color: var(--neg); min-height: 0; margin: 0 0 0;
  opacity: 0; max-height: 0; overflow: hidden; transition: .18s;
}
.rc-auth-err.show { opacity: 1; max-height: 44px; margin: -2px 0 10px; }
.rc-auth-submit {
  width: 100%; height: 44px; border-radius: 12px; color: #fff; font-size: 14.5px; font-weight: 700;
  background: linear-gradient(135deg, #3E6BF0 0%, #2B5CE6 62%, #1F49C9 100%);
  box-shadow: 0 14px 26px -14px rgba(43, 92, 230, .7);
  transition: .16s;
}
.rc-auth-submit:hover { transform: translateY(-1px); box-shadow: 0 18px 30px -14px rgba(43, 92, 230, .78); }
.rc-auth-submit:disabled { opacity: .7; cursor: default; transform: none; }
.rc-auth-foot { margin-top: 14px; text-align: center; font-size: 11px; color: #A6AFBE; }

@media (max-width: 560px) {
  .rc-auth-card { padding: 20px 18px 14px; border-radius: 18px; }
  .rc-auth-head b { font-size: 17px; }
  .rc-actions { gap: 5px; padding: 4px 6px 4px 10px; }
  .rc-actions.locked .rc-actions-label { display: none; }
  .rc-actions button { min-width: 38px; padding: 0 7px; font-size: 12px; }
}

/* ---------- 已点学生：回溯加减分 ---------- */
.rc-picked-item .rc-sc-btn {
  flex: none; height: 26px; padding: 0 9px; border-radius: 8px; cursor: pointer;
  border: 1px solid #D9E2F2; background: #fff; color: var(--ink-2);
  font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: center; gap: 3px; transition: .15s;
}
.rc-picked-item .rc-sc-btn:hover { border-color: var(--brand); color: var(--brand); background: #F4F7FF; }
.rc-picked-item .rc-sc-btn.on { border-color: #C6E9D3; background: #EDF9F1; color: #157A3B; }
.rc-picked-item .rc-sc-btn.on.neg { border-color: #F6CFC4; background: #FDF1EE; color: #C0392B; }

.rc-sc {
  position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; transition: opacity .16s;
}
.rc-sc[hidden] { display: none; }
.rc-sc.in { opacity: 1; }
.rc-sc-mask { position: absolute; inset: 0; background: rgba(17, 24, 39, .42); backdrop-filter: blur(2px); }
.rc-sc-card {
  position: relative; width: min(372px, 100%); background: #fff; border-radius: 18px;
  padding: 20px 20px 14px; border: 1px solid #E7EDF8;
  box-shadow: 0 30px 70px -26px rgba(20, 28, 45, .45);
  transform: translateY(8px) scale(.985); transition: transform .2s cubic-bezier(.2, .9, .3, 1.2);
}
.rc-sc.in .rc-sc-card { transform: none; }
.rc-sc-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 13px; }
.rc-sc-head b { display: block; font-size: 17px; letter-spacing: -.01em; }
.rc-sc-head p { margin: 5px 0 0; font-size: 12px; color: var(--ink-3); }
.rc-sc-x {
  margin-left: auto; flex: none; width: 28px; height: 28px; border-radius: 8px; border: 0;
  background: transparent; color: var(--ink-3); font-size: 13px; cursor: pointer;
  display: grid; place-items: center; transition: .14s;
}
.rc-sc-x:hover { background: #F2F5FB; color: var(--ink); }
.rc-sc-state[hidden], .rc-sc-confirm[hidden] { display: none; }
.rc-sc-state {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 11px; border-radius: 10px; margin-bottom: 12px;
  background: #F2FBF5; border: 1px solid #CFEBD9; color: #157A3B; font-size: 12px;
}
.rc-sc-state.neg { background: #FDF3F0; border-color: #F6D3C9; color: #B93A2B; }
.rc-sc-state b { font-variant-numeric: tabular-nums; }
.rc-sc-undo {
  flex: none; height: 26px; padding: 0 10px; border-radius: 8px; cursor: pointer;
  border: 1px solid currentColor; background: #fff; color: inherit; font-size: 11.5px; font-weight: 700;
}
.rc-sc-undo:hover { background: rgba(255, 255, 255, .6); }
.rc-sc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.rc-sc-grid button {
  height: 42px; border-radius: 11px; border: 1px solid #E2E9F5; background: #fff;
  font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; transition: .14s;
  font-variant-numeric: tabular-nums;
}
.rc-sc-grid button:hover { border-color: #BFD0EF; background: #F5F8FF; color: var(--brand); }
.rc-sc-grid button.minus:hover { border-color: #F2C4B8; background: #FDF3F0; color: #C0392B; }
.rc-sc-grid button:disabled { opacity: .45; cursor: default; }
.rc-sc-confirm {
  margin-top: 12px; padding: 11px 12px; border-radius: 11px;
  background: #FFF8E8; border: 1px solid #F3E2BC;
}
.rc-sc-confirm p { margin: 0 0 9px; font-size: 12px; color: #8A6A20; line-height: 1.65; }
.rc-sc-cf-actions { display: flex; gap: 8px; }
.rc-sc-cf-actions button {
  flex: 1; height: 32px; border-radius: 9px; font-size: 12.5px; font-weight: 700; cursor: pointer;
  border: 1px solid #E2D3AC; background: #fff; color: #8A6A20; transition: .14s;
}
.rc-sc-cf-actions button.go { border-color: #E5A93B; background: #F7C34A; color: #4A3208; }
.rc-sc-cf-actions button.go:hover { background: #F0B735; }
.rc-sc-cf-actions button.ghost:hover { background: #FBF4E2; }
.rc-sc-foot { margin-top: 12px; font-size: 11px; color: #A6AFBE; line-height: 1.6; }

/* ---------- 自适应 ---------- */
@media (max-width: 1080px) {
  .rc-main { grid-template-columns: minmax(0, 1fr); }
  .rc-side { max-height: 220px; }
  .rc-picked { flex-direction: row; flex-wrap: wrap; }
  .rc-picked-item { flex: 1 1 130px; }
}
@media (max-height: 760px) {
  .rc-name { font-size: clamp(56px, 9.6vw, 150px); }
  .rc-stage { gap: 14px; }
  .rc-tip { display: none; }
}

/* ---------- 访问来源引导（直接打开域名时不显示任何名单） ---------- */
.rc-gate {
  position: fixed; inset: 0; z-index: 999; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 0%, #EAF1FF 0%, #F5F7FB 46%, #EDF1F7 100%);
  padding: 18px;
}
.rc-gate-card {
  width: min(560px, 100%); background: #fff; border: 1px solid #E4EAF4;
  border-radius: 22px; padding: 32px 32px 22px; text-align: center;
  box-shadow: 0 24px 70px -30px rgba(31, 64, 168, .28);
}
.rc-gate-logo { display: flex; justify-content: center; margin-bottom: 12px; }
.rc-gate-card h1 { margin: 0 0 8px; font-size: 22px; color: #16233C; letter-spacing: .01em; }
.rc-gate-msg { margin: 0 0 20px; font-size: 13px; color: #526077; line-height: 1.7; }
.rc-gate-steps { display: grid; gap: 10px; text-align: left; margin-bottom: 22px; }
.rc-gate-steps > div {
  background: #F6F9FF; border: 1px solid #E4ECFD; border-radius: 14px; padding: 13px 15px;
}
.rc-gate-steps b { display: block; font-size: 13px; color: #24409A; margin-bottom: 4px; }
.rc-gate-steps span { display: block; font-size: 12px; color: #56637A; line-height: 1.65; }
.rc-gate-actions { display: flex; gap: 10px; justify-content: center; }
.rc-gate-actions .btn { min-width: 150px; }
.rc-gate-foot { margin-top: 18px; font-size: 11px; color: #64748B; }
.rc-gate-foot a { color: #64748B; }
@media (max-width: 520px) {
  .rc-gate-card { padding: 24px 18px 18px; }
  .rc-gate-actions { flex-direction: column; }
  .rc-gate-actions .btn { width: 100%; }
}
