:root {
  --red: #d92d20;
  --red-soft: #fff1f0;
  --blue: #155eef;
  --blue-soft: #eff4ff;
  --green: #079455;
  --green-soft: #ecfdf3;
  --orange: #dc6803;
  --orange-soft: #fff6ed;
  --text: #111827;
  --muted: #667085;
  --line: #e4e7ec;
  --bg: #f6f8fb;
  --card: #fff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(180deg, #fff, var(--bg) 280px);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
button, input, select { font: inherit; }
.shell { max-width: 1360px; margin: 0 auto; padding: 16px 22px 46px; }
.top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}
h1 { margin: 0; font-size: clamp(28px, 4vw, 42px); letter-spacing: 0; }
.sub { margin: 10px 0 0; color: var(--muted); }
.status {
  min-width: 210px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  text-align: right;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.member-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  margin-bottom: 18px;
}
.member-info { display: flex; align-items: center; gap: 12px; min-width: 0; }
.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--red-soft);
  color: var(--red);
  font-weight: 900;
  flex: 0 0 auto;
}
.member-info b,
.member-info span { display: block; }
.member-info span { color: var(--muted); font-size: 13px; margin-top: 3px; }
.member-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.member-panel {
  display: none;
  padding: 18px;
  margin-bottom: 18px;
}
.member-panel.open { display: block; }
.member-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.member-title h2 { margin: 0; font-size: 20px; }
.auth-panel {
  padding: 14px 16px;
}
.auth-panel .member-title {
  margin-bottom: 8px;
}
.auth-policy {
  margin: 0 0 10px;
  padding: 8px 10px;
  border: 1px solid #fedf89;
  border-radius: 8px;
  background: #fffbeb;
  color: #92400e;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}
.auth-panel .member-grid {
  grid-template-columns: 220px 220px 180px minmax(360px, 1fr);
  align-items: end;
  gap: 10px;
}
.auth-panel .auth-captcha-field {
  grid-column: span 1;
}
.auth-panel .captcha-row {
  grid-template-columns: minmax(150px, 1fr) 124px 76px;
}
.auth-panel .captcha-row img,
.auth-panel .captcha-row .btn {
  height: 34px;
}
.auth-panel .captcha-row img {
  width: 124px;
}
.auth-panel .actions {
  margin-top: 8px;
}
.auth-panel .hint {
  font-size: 12px;
}
.member-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #fff;
}
.check-row input { width: auto; height: auto; }
.form-message { color: var(--muted); font-size: 13px; }
.captcha-row {
  display: grid;
  grid-template-columns: 1fr 140px auto;
  gap: 8px;
  align-items: center;
}
.captcha-row img {
  width: 140px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.captcha-row .btn {
  height: 48px;
  padding: 0 12px;
  white-space: nowrap;
}
.link-btn {
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  padding: 0;
}
.password-panel { display: none; }
.password-panel.open { display: block; }
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 40px rgba(16,24,40,.08);
}
.filters { padding: 12px; margin-bottom: 12px; }
.filter-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
label { display: grid; gap: 4px; color: #344054; font-size: 12px; font-weight: 700; }
input, select {
  width: 100%;
  height: 34px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #fff;
  padding: 0 9px;
  color: var(--text);
  outline: none;
  font-size: 13px;
}
select[multiple] {
  height: 92px;
  padding: 8px 11px;
}
input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,94,239,.12); }
input:disabled, select:disabled {
  background: #f2f4f7;
  color: #667085;
  cursor: not-allowed;
}
.field-note {
  color: #98a2b3;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}
.span-2 { grid-column: span 2; }
.score-range {
  display: grid;
  gap: 4px;
  color: #344054;
  font-size: 12px;
  font-weight: 700;
}
.score-range-control {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 6px;
}
.score-range-control span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 900;
}
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.hint { color: var(--muted); font-size: 13px; }
.buttons { display: flex; gap: 10px; }
.btn {
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: #344054;
  cursor: pointer;
  font-weight: 800;
}
.btn.primary { border-color: var(--red); background: var(--red); color: #fff; }
.btn.danger { border-color: var(--red-soft); color: var(--red); background: var(--red-soft); }
.action-strip {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
}
.action-strip-title { display: grid; gap: 4px; min-width: 0; }
.action-strip-title b { color: #101828; font-size: 18px; }
.action-strip-title span { color: var(--muted); font-size: 13px; }
.action-batch {
  width: 150px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0 10px;
  color: #101828;
  font-weight: 900;
}
.action-link {
  display: inline-grid;
  place-items: center;
  height: 38px;
  min-width: 118px;
  border: 1px solid var(--orange);
  border-radius: 10px;
  background: #fff;
  color: var(--orange);
  text-decoration: none;
  font-weight: 900;
}
.action-link.primary {
  border-color: transparent;
  background: linear-gradient(135deg, #ff9f43, #f97316);
  color: #fff;
  box-shadow: 0 8px 18px rgba(249, 115, 22, .16);
}
.filter-state { display: none; }
.pull-refresh {
  position: fixed;
  left: 50%;
  top: -52px;
  z-index: 80;
  transform: translate(-50%, 0);
  opacity: 0;
  min-width: 92px;
  border-radius: 999px;
  background: rgba(16, 24, 40, .86);
  color: #fff;
  padding: 7px 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 10px 26px rgba(16, 24, 40, .18);
  transition: transform .18s ease, opacity .18s ease;
  pointer-events: none;
}
.refine-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  width: 100%;
}
.refine-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 88px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: #f2f4f7;
  color: #344054;
  padding: 0 14px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}
.refine-chip.active {
  color: var(--red);
  background: var(--red-soft);
}
.refine-chip::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #98a2b3;
}
.refine-chip.active::after { border-top-color: var(--red); }
.refine-chip.icon {
  min-width: 42px;
  justify-content: center;
  padding: 0 12px;
}
.refine-chip.icon::after { content: none; }
.refine-panel {
  display: none;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(16,24,40,.12);
}
.refine-panel.open { display: block; }
.refine-panel-title {
  margin-bottom: 8px;
  color: #344054;
  font-size: 14px;
  font-weight: 900;
}
.refine-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  max-height: 280px;
  overflow: auto;
}
.refine-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fafc;
  color: #344054;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}
.refine-option:hover {
  border-color: #fed7aa;
  background: #fff7ed;
}
.refine-option:has(input:checked) {
  border-color: var(--orange);
  background: #fff2e3;
  color: #c4320a;
}
.refine-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.refine-option span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.refine-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}
.location-field {
  position: relative;
  display: grid;
  gap: 4px;
  color: #344054;
  font-size: 12px;
  font-weight: 700;
}
.location-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 34px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #fff;
  padding: 0 9px;
  color: #344054;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
}
.refine-wrap .location-field {
  display: block;
  font-size: 15px;
}
.refine-wrap .location-trigger {
  min-width: 88px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: #f2f4f7;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 900;
}
.refine-wrap .location-trigger.active {
  color: var(--red);
  background: var(--red-soft);
}
.location-trigger span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.location-trigger::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #98a2b3;
  margin-left: 8px;
  flex: 0 0 auto;
}
.location-popover {
  display: none;
  position: absolute;
  z-index: 20;
  top: 66px;
  right: 0;
  width: min(680px, calc(100vw - 44px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 58px rgba(16, 24, 40, .18);
  overflow: hidden;
}
.location-popover.open { display: block; }
.location-tabs {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.location-tab {
  height: 48px;
  border: 0;
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}
.location-tab.active {
  color: var(--orange);
  box-shadow: inset 0 -3px 0 var(--orange);
}
.location-body {
  display: grid;
  grid-template-columns: 132px 1fr;
  min-height: 360px;
  max-height: 520px;
}
.location-left,
.location-right {
  overflow: auto;
  max-height: 520px;
}
.location-left {
  background: #f7f7f8;
  padding: 8px 0;
}
.location-province {
  width: 100%;
  height: 38px;
  border: 0;
  background: transparent;
  color: #344054;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
}
.location-province.active {
  color: var(--orange);
  background: #fff;
  box-shadow: inset 4px 0 0 var(--orange);
}
.location-right {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 7px;
  padding: 10px;
  background: #fff;
}
.location-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fafc;
  color: #344054;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}
.location-option:hover {
  border-color: #fed7aa;
  background: #fff7ed;
}
.location-option:has(input:checked) {
  border-color: var(--orange);
  background: #fff2e3;
  color: #c4320a;
}
.location-option span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.location-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.location-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.results { overflow: hidden; }
.result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--line);
}
.result-head h2,
.result-head > .hint {
  display: none;
}
.refine-wrap,
.score-band,
.risk-tabs {
  font-family: Arial, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: subpixel-antialiased;
  text-rendering: optimizeSpeed;
}
.refine-chip,
.refine-wrap .location-trigger,
.score-band-row,
.score-band-row b,
.score-range-marks,
.risk-tab {
  color: #1d2939;
  letter-spacing: 0;
  text-shadow: none;
}
.refine-chip,
.refine-wrap .location-trigger {
  font-weight: 950;
}
.refine-chip.active,
.refine-wrap .location-trigger.active {
  color: #d92d20;
}
.score-band-row b,
.risk-tab b {
  color: #ea580c;
}
.score-band {
  --range-left: 0%;
  --range-right: 100%;
  display: grid;
  gap: 8px;
  padding: 10px 14px 12px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #fffaf5 100%);
}
.score-band.hidden { display: none; }
.score-band-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
  flex-wrap: wrap;
}
.score-band-row b {
  margin-left: 4px;
  font-size: 16px;
  letter-spacing: .02em;
}
.score-band-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
.score-band-slider {
  position: relative;
  display: grid;
  min-height: 36px;
  padding-top: 0;
}
.score-range-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  height: 3px;
  border-radius: 999px;
  background: #eceff3;
  overflow: hidden;
}
.score-range-fill {
  position: absolute;
  left: var(--range-left);
  right: calc(100% - var(--range-right));
  top: 0;
  bottom: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #f97316 0%, #ea580c 100%);
}
.score-range-input {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 26px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 0;
  outline: none;
  pointer-events: none;
}
.score-range-input::-webkit-slider-runnable-track {
  height: 3px;
  background: transparent;
}
.score-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 18px;
  margin-top: -7.5px;
  border: 1px solid rgba(16, 24, 40, .08);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(16, 24, 40, .18);
  cursor: pointer;
  pointer-events: auto;
}
.score-range-input::-moz-range-track {
  height: 3px;
  border-radius: 999px;
  background: transparent;
}
.score-range-input::-moz-range-thumb {
  width: 24px;
  height: 18px;
  border: 1px solid rgba(16, 24, 40, .08);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(16, 24, 40, .18);
  cursor: pointer;
  pointer-events: auto;
}
.score-range-bubbles {
  display: none;
}
.score-range-bubbles span {
  position: absolute;
  top: 0;
  min-width: 46px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #fff;
  color: var(--orange);
  padding: 4px 10px;
  text-align: center;
  font-size: 16px;
  font-weight: 950;
  box-shadow: 0 6px 16px rgba(16, 24, 40, .12);
}
#scoreRangeMinBubble { left: var(--range-left); }
#scoreRangeMaxBubble { left: var(--range-right); }
.score-range-marks {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.score-range-marks span:first-child { text-align: left; }
.score-range-marks span:last-child { text-align: right; }
.risk-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.risk-tab {
  border: 0;
  border-radius: 15px;
  background: #fff7ed;
  color: #101828;
  padding: 8px 6px;
  font-size: 14px;
  font-weight: 900;
}
.risk-tab span { margin-right: 2px; }
.risk-tab b { color: var(--orange); }
.risk-tab.active {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 16px rgba(234, 88, 12, .16);
}
.risk-tab.active b { color: #fff; }
.cards {
  display: grid;
  gap: 16px;
  padding: 18px;
  background: #f7f7f8;
}
.scroll-top-fab {
  position: fixed;
  right: 16px;
  bottom: calc(88px + env(safe-area-inset-bottom));
  z-index: 95;
  display: flex;
  width: 52px;
  min-height: 64px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border: 0;
  border-radius: 999px;
  color: #e66a00;
  font-size: 0;
  font-weight: 950;
  line-height: 1;
  background: transparent;
  cursor: pointer;
  transition: opacity .18s ease, transform .18s ease;
}
.scroll-top-fab span {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  font-weight: 1000;
  background: linear-gradient(135deg, #ff9a3d, #e66a00);
  box-shadow: 0 12px 28px rgba(230, 106, 0, .28);
}
.scroll-top-fab small {
  margin-top: 4px;
  color: #e66a00;
  font-size: 11px;
  font-weight: 1000;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
  white-space: nowrap;
}
.scroll-top-fab:hover {
  transform: translateY(-2px);
}
.scroll-top-fab[hidden] {
  display: none;
}
.result-card {
  position: relative;
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .08);
}
.result-card:nth-child(even) {
  background: #fffaf5;
}
.vip-unlock-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 16px;
  padding: 24px 18px 22px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.95), transparent 28%),
    linear-gradient(180deg, #fff7ed 0%, #fff 46%, #fff3e6 100%);
  box-shadow: 0 12px 28px rgba(249, 115, 22, .12);
  text-align: center;
}
.vip-blur {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.82), transparent 16%, transparent 84%, rgba(255,255,255,.82)),
    radial-gradient(circle at 50% 10%, rgba(251, 146, 60, .18), transparent 38%);
  filter: blur(1px);
}
.vip-unlock-card h3 {
  position: relative;
  margin: 0;
  color: #3f3f46;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
}
.vip-unlock-card h3 strong {
  color: var(--orange);
  font-size: 34px;
  letter-spacing: .02em;
}
.vip-risk-pills {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0 18px;
}
.vip-risk-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid rgba(249, 115, 22, .16);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: #475467;
  font-size: 14px;
  font-weight: 900;
}
.vip-risk-pills b {
  margin-right: 2px;
  color: var(--orange);
  font-size: 20px;
}
.vip-risk-pills span:nth-child(2) {
  border-color: rgba(59, 130, 246, .16);
  background: #eff8ff;
}
.vip-risk-pills span:nth-child(2) b { color: #3b82f6; }
.vip-risk-pills span:nth-child(3) {
  border-color: rgba(34, 197, 94, .16);
  background: #effaf3;
}
.vip-risk-pills span:nth-child(3) b { color: #22c55e; }
.vip-unlock-btn {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 50px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fbbf24, #fb7185 52%, #fb923c);
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(249, 115, 22, .22);
}
.card-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-right: 72px;
}
.card-title h3 {
  margin: 0;
  color: #101828;
  font-size: 24px;
  line-height: 1.25;
}
.risk-card {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  min-width: 56px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--orange-soft);
  color: var(--orange);
  font-weight: 900;
}
.risk-card b {
  display: block;
  width: 100%;
  padding: 4px 8px;
  background: var(--orange);
  color: #fff;
  text-align: center;
  font-size: 16px;
}
.risk-card span { padding: 4px 8px 6px; font-size: 16px; }
.plan-line {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin: 18px 0 14px;
  color: #101828;
  font-size: 18px;
  font-weight: 900;
}
.history-table {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.history-row {
  display: grid;
  grid-template-columns: .8fr .9fr 1fr 1.2fr 1.2fr;
  gap: 12px;
  align-items: center;
  color: #344054;
  font-size: 15px;
}
.history-row.head {
  color: #667085;
  font-weight: 800;
}
.gap-up { color: #12b76a; }
.gap-down { color: #f04438; }
.card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}
.ghost-btn {
  display: grid;
  place-items: center;
  height: 44px;
  border: 1px solid #f2f4f7;
  border-radius: 8px;
  background: #f9fafb;
  color: #344054;
  font-weight: 900;
}
.outline-btn {
  display: grid;
  place-items: center;
  height: 44px;
  border: 1px solid var(--orange);
  border-radius: 8px;
  background: #fff;
  color: var(--orange);
  font-weight: 900;
}
button.outline-btn,
button.ghost-btn {
  cursor: pointer;
  font: inherit;
}
button.outline-btn:disabled {
  cursor: not-allowed;
  border-color: #d0d5dd;
  background: #f2f4f7;
  color: #98a2b3;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(16, 24, 40, .52);
  padding: 20px;
}
.modal-backdrop.open { display: flex; }
.major-modal {
  width: min(920px, 100%);
  max-height: min(86vh, 900px);
  overflow: hidden;
  border-radius: 16px 16px 8px 8px;
  background: #f7f7f8;
  box-shadow: 0 28px 80px rgba(16, 24, 40, .28);
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.modal-head h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
}
.modal-close {
  border: 0;
  background: transparent;
  color: #101828;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
}
.modal-body {
  display: grid;
  gap: 14px;
  max-height: calc(min(86vh, 900px) - 96px);
  overflow: auto;
  padding: 16px;
}
.modal-summary {
  display: flex;
  gap: 18px;
  color: #667085;
  flex-wrap: wrap;
}
.major-detail {
  position: relative;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .06);
}
.major-risk {
  position: absolute;
  top: 14px;
  right: 12px;
  display: grid;
  place-items: center;
  min-width: 48px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--orange-soft);
  color: var(--orange);
  text-align: center;
  font-weight: 900;
}
.major-risk b,
.major-risk span {
  display: block;
  width: 100%;
  padding: 4px 8px;
}
.major-risk b {
  background: var(--orange);
  color: #fff;
  font-size: 13px;
}
.major-risk span { font-size: 13px; }
.major-detail h4 {
  padding-right: 66px;
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.3;
}
.major-detail .meta {
  padding-right: 64px;
}
.major-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.major-stats b,
.major-stats span {
  display: block;
}
.major-stats b { font-size: 18px; }
.major-stats span { color: var(--muted); font-size: 12px; margin-bottom: 4px; }
table { width: 100%; border-collapse: collapse; min-width: 1160px; }
table { width: 100%; border-collapse: collapse; min-width: 1160px; }
th, td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th {
  background: #f9fafb;
  color: #475467;
  font-size: 12px;
  white-space: nowrap;
}
td { font-size: 14px; }
.school { min-width: 170px; }
.major { min-width: 250px; }
.name { font-weight: 900; }
.meta { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.tagline { max-width: 240px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.badge {
  display: inline-flex;
  align-items: center;
  min-width: 34px;
  justify-content: center;
  height: 26px;
  padding: 0 8px;
  border-radius: 7px;
  font-weight: 900;
  font-size: 13px;
}
.risk-保 { color: var(--green); background: var(--green-soft); }
.risk-稳 { color: var(--blue); background: var(--blue-soft); }
.risk-冲 { color: var(--orange); background: var(--orange-soft); }
.risk-险 { color: var(--red); background: var(--red-soft); }
.risk-参考 { color: #475467; background: #f2f4f7; }
.empty { padding: 34px; text-align: center; color: var(--muted); }
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  background: #fff;
  flex-wrap: wrap;
}
.pager-info { color: var(--muted); font-size: 13px; }
.pager-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.page-btn {
  min-width: 36px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #344054;
  cursor: pointer;
  font-weight: 800;
}
.page-btn.active { border-color: var(--red); background: var(--red); color: #fff; }
.page-btn:disabled { cursor: not-allowed; opacity: .45; }
.vip-more-btn,
.load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 0 16px;
  text-decoration: none;
  border-color: var(--orange);
  background: linear-gradient(135deg, #ff9f43, #f97316);
  color: #fff;
}
.loading { opacity: .62; pointer-events: none; }
@media (max-width: 1000px) {
  .top { align-items: flex-start; flex-direction: column; }
  .status { width: 100%; text-align: left; }
  .filter-grid, .member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auth-panel .member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auth-panel .auth-captcha-field { grid-column: span 2; }
  .span-2 { grid-column: span 2; }
}
@media (max-width: 640px) {
  .shell { padding: 18px 12px 34px; }
  .filter-grid, .member-grid { grid-template-columns: 1fr; }
  .auth-panel .member-grid { grid-template-columns: 1fr; }
  .auth-panel .auth-captcha-field { grid-column: span 1; }
  .action-strip { grid-template-columns: 1fr; }
  .action-batch, .action-link { width: 100%; }
  .span-2 { grid-column: span 1; }
  .buttons, .btn { width: 100%; }
  .member-bar { align-items: flex-start; flex-direction: column; }
  .member-actions { width: 100%; }
  .result-head { align-items: flex-start; flex-direction: column; }
  .location-popover {
    left: 0;
    right: auto;
    width: calc(100vw - 24px);
  }
  .location-tabs { grid-template-columns: 1fr; }
  .location-tab { font-size: 15px; }
  .location-body { grid-template-columns: 42% 58%; }
  .cards { padding: 12px; }
  .result-card { padding: 18px 14px; }
  .card-title h3 { font-size: 20px; }
  .plan-line { gap: 10px; font-size: 16px; }
  .captcha-row { grid-template-columns: 1fr; }
  .captcha-row img { width: 100%; max-width: 180px; }
  .modal-backdrop { padding: 0; }
  .major-modal {
    max-height: 92vh;
    border-radius: 16px 16px 0 0;
  }
  .modal-head h3 { font-size: 20px; }
  .modal-body { max-height: calc(92vh - 88px); padding: 12px; }
  .major-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .history-row {
    grid-template-columns: .8fr .9fr 1fr 1.1fr 1.2fr;
    gap: 8px;
    font-size: 13px;
  }
  .card-actions { grid-template-columns: 1fr; }
}
.mini .shell { max-width: 100%; padding: 10px 8px 96px; gap: 10px; }
.mini .panel { border-radius: 10px; }
.mini .member-panel { padding: 12px; }
.mini .member-bar.logged-in {
  position: relative;
  display: block;
  padding: 12px 96px 12px 12px;
}
.mini .member-bar.logged-in .member-info {
  align-items: flex-start;
  min-width: 0;
}
.mini .member-bar.logged-in .member-info span {
  font-size: 12px;
  line-height: 1.45;
}
.mini .member-bar.logged-in .member-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  width: auto;
  gap: 8px;
}
.mini .member-bar.logged-in .member-actions .btn {
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  padding: 0;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  line-height: 20px;
}
.mini .member-bar.logged-in .member-actions .btn.danger {
  background: transparent;
  color: var(--red);
}
.mini .member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mini .member-grid label,
.mini .score-range,
.mini .location-field { font-size: 12px; gap: 4px; }
.mini input,
.mini select,
.mini .location-trigger { height: 32px; font-size: 16px; border-radius: 8px; }
.mini .location-trigger { font-size: 14px; }
.mini .buttons { gap: 8px; }
.mini .btn { height: 32px; font-size: 13px; padding: 0 10px; }
.mini #authPanel {
  padding: 10px 12px;
}
.mini #authPanel .member-title {
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.mini #authPanel .member-title h2 {
  flex: 0 0 auto;
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
}
.mini #authPanel .form-message {
  min-width: 0;
  font-size: 11px;
  line-height: 1.35;
}
.mini #authPanel .auth-policy {
  margin-bottom: 8px;
  padding: 7px 8px;
  font-size: 11px;
  line-height: 1.35;
}
.mini #authPanel .member-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 8px;
}
.mini #authPanel .auth-phone-field,
.mini #authPanel .auth-captcha-field {
  grid-column: 1 / -1;
}
.mini #authPanel .member-grid label {
  gap: 3px;
}
.mini #authPanel input,
.mini #authPanel select {
  height: 34px;
  font-size: 16px;
  padding: 0 10px;
}
.mini #authPanel .captcha-row {
  grid-template-columns: minmax(0, 1fr) 104px 58px;
  gap: 6px;
}
.mini #authPanel .captcha-row input {
  min-width: 0;
}
.mini #authPanel .captcha-row img {
  width: 104px;
  height: 34px;
  max-width: none;
}
.mini #authPanel .captcha-row .btn {
  grid-column: auto;
  width: auto;
  height: 34px;
  padding: 0 8px;
  font-size: 12px;
}
.mini #authPanel .actions {
  gap: 8px;
  margin-top: 8px;
}
.mini #authPanel .hint {
  font-size: 12px;
  line-height: 1.35;
}
.mini #authPanel .buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}
.mini #authPanel .buttons .btn {
  width: 100%;
  height: 34px;
  font-size: 14px;
}
.mini .refine-wrap {
  flex-wrap: nowrap;
  gap: 5px;
  margin-top: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.mini .refine-wrap::-webkit-scrollbar { display: none; }
.mini .refine-chip,
.mini .refine-wrap .location-trigger {
  flex: 0 0 auto;
  min-width: auto;
  height: 29px;
  padding: 0 8px;
  border-radius: 9px;
  font-size: 12px;
  line-height: 29px;
  font-weight: 950;
}
.mini .refine-chip {
  gap: 3px;
}
.mini .refine-chip::after,
.mini .location-trigger::after {
  border-left-width: 3px;
  border-right-width: 3px;
  border-top-width: 4px;
  margin-left: 3px;
}
.mini .refine-chip.icon {
  padding: 0 8px;
  min-width: 40px;
}
.mini .refine-wrap .location-trigger {
  min-width: auto;
}
.mini .refine-panel {
  position: fixed;
  left: 12px;
  right: 12px;
  top: max(96px, calc(env(safe-area-inset-top) + 82px));
  z-index: 95;
  width: auto;
  max-height: calc(100vh - 190px);
  max-height: calc(100dvh - 190px);
  overflow: hidden;
  padding: 10px;
  border-radius: 14px;
}
.mini .refine-panel.open {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.mini .refine-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  max-height: none;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.mini .refine-option {
  min-height: 34px;
  padding: 7px 8px;
  border-radius: 999px;
  font-size: 13px;
}
.mini .cards { padding: 8px; gap: 10px; }
.mini .result-card { padding: 14px 12px; box-shadow: 0 6px 18px rgba(16,24,40,.06); }
.mini .card-title { padding-right: 58px; }
.mini .card-title h3 { font-size: 18px; }
.mini .meta { font-size: 11px; }
.mini .risk-card { top: 14px; right: 12px; min-width: 48px; }
.mini .risk-card b,
.mini .risk-card span { font-size: 13px; }
.mini .plan-line { margin: 12px 0 10px; gap: 8px; font-size: 14px; }
.mini .history-row { gap: 6px; font-size: 12px; }
.mini .ghost-btn,
.mini .outline-btn { height: 38px; font-size: 14px; }
.mini .pager { padding: 8px; }
.mini .pager-info { font-size: 11px; }
.mini .page-btn { min-width: 32px; height: 30px; font-size: 12px; }
.mini .location-popover {
  position: fixed;
  left: 12px;
  right: 12px;
  top: max(96px, calc(env(safe-area-inset-top) + 82px));
  width: auto;
  max-height: calc(100vh - 190px);
  max-height: calc(100dvh - 190px);
  transform: none;
  z-index: 96;
}
.mini .location-popover.open {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.mini .location-tabs { min-width: 0; }
.mini .location-tab { height: 38px; font-size: 15px; }
.mini .location-body {
  grid-template-columns: 96px minmax(0, 1fr);
  min-height: 0;
  max-height: none;
  overflow: hidden;
}
.mini .location-left,
.mini .location-right {
  max-height: none;
  min-height: 0;
}
.mini .location-province {
  height: 36px;
  font-size: 13px;
}
.mini .location-right {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 8px;
}
.mini .location-option {
  min-height: 32px;
  padding: 6px 6px;
  font-size: 13px;
}
.mini .location-actions {
  gap: 8px;
  padding: 10px;
}
.mini .major-modal { max-height: 92vh; border-radius: 16px 16px 0 0; }
.mini .major-detail { padding: 12px; }
.mini .major-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-footer {
  margin: 10px 0 0;
  padding: 12px 0 calc(76px + env(safe-area-inset-bottom));
  text-align: center;
  color: #98a2b3;
  font-size: 12px;
}
.site-footer a {
  color: inherit;
  text-decoration: none;
}
.mini-bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 58px 110px 1fr;
  gap: 8px;
  align-items: center;
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(234, 236, 240, .9);
  background: rgba(255, 249, 241, .96);
  box-shadow: 0 -12px 30px rgba(16, 24, 40, .08);
  backdrop-filter: blur(10px);
}
.mini-bottom-more {
  display: grid;
  place-items: center;
  gap: 2px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}
.mini-bottom-more b {
  display: block;
  font-size: 26px;
  line-height: 18px;
  transform: rotate(-45deg);
}
.mini-bottom-batch {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #101828;
  font-weight: 900;
  text-align: center;
  padding: 0 8px;
}
.mini-bottom-link {
  display: grid;
  place-items: center;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--orange);
  color: var(--orange);
  background: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}
.mini-bottom-link.primary {
  background: linear-gradient(135deg, #ff9f43, #f97316);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(249, 115, 22, .22);
}

.mini.login-test {
  background:
    radial-gradient(circle at 18% 4%, rgba(255, 147, 78, .22), transparent 30%),
    radial-gradient(circle at 88% 0%, rgba(255, 209, 164, .34), transparent 34%),
    linear-gradient(180deg, #fff8f0 0, #f6f8fb 360px);
}
.mini.login-test .member-bar:not(.logged-in) {
  padding: 14px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(14px);
}
.mini.login-test .member-bar:not(.logged-in) .member-actions {
  width: 100%;
}
.mini.login-test .member-bar:not(.logged-in) #authToggleBtn {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(90deg, #ff9b45, #ff6a1a);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(234, 88, 12, .18);
}
.mini.login-test #authPanel.auth-landing {
  position: relative;
  overflow: hidden;
  padding: 18px 16px 16px;
  border: 0;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(255, 246, 237, .92)),
    #fff;
  box-shadow: 0 22px 55px rgba(16, 24, 40, .13);
}
.mini.login-test #authPanel.auth-landing::before {
  content: "";
  position: absolute;
  inset: -80px -80px auto auto;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 112, 31, .2), transparent 68%);
  pointer-events: none;
}
.mini.login-test .auth-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.mini.login-test .auth-logo {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(234, 88, 12, .18);
}
.mini.login-test .auth-kicker {
  margin: 0 0 2px;
  color: #ea580c;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .02em;
}
.mini.login-test .auth-hero h2 {
  margin: 0;
  color: #111827;
  font-size: 23px;
  line-height: 1.12;
  font-weight: 950;
}
.mini.login-test .auth-copy {
  margin: 6px 0 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 750;
}
.mini.login-test #authPanel .auth-title {
  align-items: flex-start;
  margin-bottom: 12px;
}
.mini.login-test #authPanel .auth-title h2 {
  font-size: 20px;
}
.mini.login-test #authPanel .form-message {
  color: #667085;
  font-size: 12px;
}
.mini.login-test #authPanel .member-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}
.mini.login-test #authPanel .auth-phone-field,
.mini.login-test #authPanel .auth-password-field,
.mini.login-test #authPanel .auth-province-field,
.mini.login-test #authPanel .auth-captcha-field {
  grid-column: 1 / -1;
}
.mini.login-test #authPanel .member-grid label {
  color: #344054;
  font-size: 13px;
  font-weight: 900;
}
.mini.login-test #authPanel input,
.mini.login-test #authPanel select {
  height: 46px;
  border-color: #ffd3b1;
  border-radius: 14px;
  background: rgba(255,255,255,.95);
  font-size: 16px;
  font-weight: 800;
}
.mini.login-test #authPanel input:focus,
.mini.login-test #authPanel select:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .12);
}
.mini.login-test #authPanel .captcha-row {
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 8px;
}
.mini.login-test #authPanel .captcha-row .btn {
  grid-column: 1 / -1;
  width: 100%;
  height: 38px;
  border-radius: 12px;
}
.mini.login-test #authPanel .captcha-row img {
  width: 112px;
  height: 46px;
  border-color: #ffd3b1;
  border-radius: 14px;
}
.mini.login-test #authPanel .auth-policy {
  margin: 12px 0 8px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 247, 237, .9);
  color: #9a3412;
  font-size: 12px;
}
.mini.login-test .auth-agreement {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 12px;
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 750;
}
.mini.login-test .auth-agreement input {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  accent-color: #f97316;
  flex: 0 0 auto;
}
.auth-agreement a,
.auth-agreement a:visited {
  color: #ea580c;
  text-decoration: none;
}
.mini.login-test #authPanel .actions {
  display: block;
  margin-top: 0;
}
.mini.login-test #authPanel .hint {
  margin: 0 0 10px;
  color: #667085;
  font-size: 12px;
}
.mini.login-test #authPanel .buttons {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mini.login-test #authPanel .buttons .btn {
  height: 44px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 950;
}
.mini.login-test #authPanel #passwordLoginBtn {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #c2410c;
}
.mini.login-test #authPanel #registerBtn {
  border: 0;
  background: linear-gradient(90deg, #ff9b45, #ff6a1a);
  box-shadow: 0 12px 24px rgba(234, 88, 12, .18);
}

@media (min-width: 720px) {
  .mini.login-test #authPanel.auth-landing {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
  .mini.login-test #authPanel .member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mini.login-test #authPanel .auth-phone-field,
  .mini.login-test #authPanel .auth-captcha-field {
    grid-column: 1 / -1;
  }
  .mini.login-test #authPanel .captcha-row {
    grid-template-columns: minmax(0, 1fr) 140px 86px;
  }
  .mini.login-test #authPanel .captcha-row .btn {
    grid-column: auto;
    height: 46px;
  }
  .mini.login-test #authPanel .captcha-row img {
    width: 140px;
  }
}

.mini.auth-entry {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    linear-gradient(rgba(27, 47, 67, .48), rgba(18, 28, 44, .6)),
    radial-gradient(circle at 28% 18%, rgba(255, 168, 76, .28), transparent 34%),
    linear-gradient(145deg, #7d97aa 0%, #34465c 52%, #111827 100%);
}

.auth-entry-screen {
  min-height: calc(100vh - 54px);
  min-height: calc(100dvh - 54px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: max(34px, env(safe-area-inset-top)) 28px 28px;
  color: #fff;
  text-align: center;
}

.auth-entry-brand {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: clamp(128px, 24vh, 220px);
}

.auth-entry-brand img {
  width: 106px;
  height: 106px;
  border-radius: 26px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
}

.auth-entry-brand h1 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: .04em;
}

.auth-entry-brand p {
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 15px;
  font-weight: 850;
}

.auth-entry-actions {
  width: min(100%, 330px);
  display: grid;
  gap: 16px;
}

.auth-entry-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(15, 23, 42, .22);
}

.auth-entry-btn.primary {
  color: #fff;
  background: linear-gradient(90deg, #ffad55 0%, #ff6a1a 100%);
}

.auth-entry-btn.secondary {
  color: #ea580c;
  background: rgba(255, 249, 242, .94);
}

.auth-entry-note {
  margin-top: 22px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 750;
}

.auth-entry-footer {
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  text-align: center;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 750;
}

.auth-entry .auth-entry-footer {
  color: rgba(255, 255, 255, .76);
}

.auth-entry-footer a,
.auth-entry-footer a:visited {
  color: inherit;
  text-decoration: none;
}

.mini.auth-page {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 10% 8%, rgba(34, 197, 94, .09), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(251, 146, 60, .18), transparent 28%),
    linear-gradient(180deg, #fffaf4 0%, #f7f8fb 54%, #f1f5f9 100%);
}

.auth-form-screen {
  min-height: calc(100vh - 54px);
  min-height: calc(100dvh - 54px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(36px, env(safe-area-inset-top)) 20px 26px;
}

.auth-back {
  position: fixed;
  left: 18px;
  top: max(14px, env(safe-area-inset-top));
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #475569;
  text-decoration: none;
  font-size: 38px;
  line-height: 1;
  font-weight: 500;
}

.auth-card {
  width: min(100%, 430px);
  padding: 24px;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 22px 58px rgba(15, 23, 42, .1);
}

.auth-register-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.auth-page-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.auth-page-brand img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}

.auth-page-brand h1 {
  margin: 0;
  color: #111827;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 950;
}

.auth-page-brand p {
  margin: 6px 0 0;
  color: #667085;
  font-size: 14px;
  font-weight: 800;
}

.auth-card label,
.my-card label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: #334155;
  font-size: 14px;
  font-weight: 900;
}

.auth-card input,
.auth-card select,
.my-card input,
.my-card select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background: #fff;
  color: #111827;
  font-size: 16px;
  font-weight: 850;
  outline: none;
  padding: 0 14px;
}

.auth-card input:focus,
.auth-card select:focus,
.my-card input:focus,
.my-card select:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, .12);
}

.auth-captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 10px;
}

.auth-captcha-row img {
  width: 118px;
  height: 48px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff7ed;
  object-fit: contain;
}

.auth-main-btn,
.auth-secondary-btn {
  width: 100%;
  min-height: 50px;
  border-radius: 15px;
  font-size: 17px;
  font-weight: 950;
  cursor: pointer;
}

.auth-main-btn {
  border: 0;
  color: #fff;
  background: linear-gradient(90deg, #ff9d45 0%, #ff6416 100%);
  box-shadow: 0 14px 28px rgba(234, 88, 12, .16);
}

.auth-secondary-btn {
  border: 1px solid #cbd5e1;
  color: #334155;
  background: #fff;
}

.auth-refresh-btn {
  min-height: 42px;
  margin-bottom: 12px;
  font-size: 15px;
}

.auth-rule {
  margin: 4px 0 14px;
  padding: 12px;
  border-radius: 14px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 750;
}

.auth-card .auth-page-agreement {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 14px;
  color: #667085;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 800;
}

.auth-card .auth-page-agreement input {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin-top: 1px;
  padding: 0;
  accent-color: #f97316;
  flex: 0 0 auto;
}

.auth-message {
  min-height: 20px;
  margin: 12px 0 0;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.auth-message.danger {
  color: #dc2626;
}

.auth-switch {
  margin-top: 14px;
  color: #667085;
  font-size: 14px;
  font-weight: 850;
  text-align: center;
}

.auth-switch a,
.auth-switch a:visited {
  color: #ea580c;
  text-decoration: none;
}

.mini.my-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(180deg, #fff7ed 0%, #f7f8fb 260px, #eef2f7 100%);
}

.my-screen {
  width: min(100%, 680px);
  margin: 0 auto;
  padding: max(48px, env(safe-area-inset-top)) 16px 24px;
}

.my-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-bottom: 12px;
}

.my-header .auth-back {
  position: absolute;
  left: -8px;
  top: 0;
}

.my-header h1 {
  margin: 0;
  color: #111827;
  font-size: 22px;
  font-weight: 950;
}

.my-link {
  border: 0;
  background: transparent;
  color: #334155;
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
}

.my-link.danger {
  position: absolute;
  right: 0;
  color: #dc2626;
}

.my-card {
  margin-top: 12px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 38px rgba(15, 23, 42, .08);
}

.my-profile {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.my-profile .avatar {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  font-size: 28px;
}

.my-profile b {
  display: block;
  color: #111827;
  font-size: 22px;
  font-weight: 950;
}

.my-profile span {
  display: block;
  margin-top: 6px;
  color: #667085;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 780;
}

.my-card-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.my-card-title h2 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 950;
}

.my-card-title span {
  color: #667085;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 760;
  text-align: right;
}

.my-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.my-subjects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 16px;
}

.my-subjects > span {
  grid-column: 1 / -1;
  color: #334155;
  font-size: 14px;
  font-weight: 900;
}

.my-subjects label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
}

.my-subjects input {
  width: 18px;
  height: 18px;
  min-height: 0;
  padding: 0;
  accent-color: #f97316;
}

.field-note {
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 750;
}

.my-toggle {
  width: 100%;
  min-height: 46px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  color: #334155;
  font-size: 16px;
  font-weight: 950;
}

.password-panel {
  display: none;
  margin-top: 14px;
}

.password-panel.open {
  display: block;
}

.my-legal-card {
  padding: 14px 16px;
}

.my-legal-card .my-card-title {
  margin-bottom: 10px;
}

.my-legal-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.my-legal-actions a,
.my-legal-actions a:visited {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  background: #fff7ed;
  color: #ea580c;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.mini.legal-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: #f3f5f8;
}

.legal-screen {
  position: relative;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: max(24px, env(safe-area-inset-top)) 14px 32px;
}

.legal-screen .auth-back {
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  top: max(12px, env(safe-area-inset-top));
}

.legal-head {
  margin: 28px 0 12px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
  box-shadow: 0 8px 18px rgba(17, 24, 39, .05);
}

.legal-head h1 {
  margin: 0;
  color: #101828;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 950;
}

.legal-head p {
  margin: 8px 0 0;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.legal-card {
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(17, 24, 39, .05);
}

.legal-section {
  padding: 16px 0;
  border-bottom: 1px solid #f2f4f7;
}

.legal-section:first-child {
  padding-top: 0;
}

.legal-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  margin: 0;
  color: #101828;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 950;
}

.legal-section p {
  margin: 10px 0 0;
  color: #344054;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 650;
}

@media (min-width: 720px) {
  .auth-card {
    width: min(100%, 580px);
    padding: 20px 22px;
    border-radius: 20px;
  }
  .auth-form-screen {
    min-height: calc(100vh - 44px);
    min-height: calc(100dvh - 44px);
    padding: max(18px, env(safe-area-inset-top)) 20px 14px;
  }
  .auth-page-brand {
    gap: 12px;
    margin-bottom: 16px;
  }
  .auth-page-brand img {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }
  .auth-page-brand h1 {
    font-size: 24px;
  }
  .auth-page-brand p {
    margin-top: 3px;
    font-size: 12px;
  }
  .auth-register-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
  }
  .auth-register-grid .auth-phone-row {
    grid-column: 1 / -1;
  }
  .auth-register-grid label {
    gap: 6px;
    margin-bottom: 0;
    font-size: 13px;
  }
  .auth-card input,
  .auth-card select {
    min-height: 42px;
    border-radius: 12px;
    font-size: 15px;
    padding: 0 12px;
  }
  .auth-captcha-row {
    grid-template-columns: minmax(0, 1fr) 106px;
    gap: 8px;
  }
  .auth-captcha-row img {
    width: 106px;
    height: 42px;
    border-radius: 12px;
  }
  .auth-refresh-btn {
    width: auto;
    min-height: 34px;
    margin: 10px 0 10px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 13px;
  }
  .auth-rule {
    margin: 0 0 10px;
    padding: 9px 10px;
    border-radius: 12px;
    line-height: 1.45;
  }
  .auth-card .auth-page-agreement {
    margin-bottom: 10px;
    line-height: 1.4;
  }
  .auth-main-btn,
  .auth-secondary-btn {
    min-height: 44px;
    border-radius: 13px;
    font-size: 16px;
  }
  .auth-refresh-btn {
    min-height: 34px;
    font-size: 13px;
  }
  .auth-message {
    min-height: 18px;
    margin-top: 8px;
  }
  .auth-switch {
    margin-top: 8px;
  }
  .auth-entry-footer {
    padding-top: 8px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
  }
  .my-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 12px;
  }
  .my-card .auth-main-btn,
  .my-card .auth-secondary-btn {
    width: 240px;
  }
}

.mini.home-mode {
  background:
    radial-gradient(circle at 75% 4%, rgba(255, 255, 255, .35) 0 90px, transparent 92px),
    linear-gradient(180deg, #f26a3e 0, #ff9b45 210px, #fff3d2 315px, #eef2f7 470px, #eef2f7 100%);
}

.home-mode .member-bar,
.home-mode #authPanel,
.home-mode #memberPanel {
  display: none !important;
}

.home-hero {
  padding: max(18px, env(safe-area-inset-top)) 10px 0;
}

.home-topbar {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  width: 100%;
  min-width: 0;
  white-space: nowrap;
}

.home-brand,
.home-brand:visited {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #fff;
  text-decoration: none;
}

.home-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  box-shadow: 0 5px 12px rgba(132, 42, 8, .16);
}

.home-brand span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.02;
}

.home-brand b,
.home-brand small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-brand b {
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 1px 3px rgba(132, 42, 8, .18);
}

.home-brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, .86);
  font-size: 9px;
  font-weight: 850;
}

.home-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  align-items: center;
  gap: 0;
  min-width: 0;
  min-height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 24px rgba(154, 60, 12, .12);
  overflow: hidden;
}

.home-search input {
  width: 100%;
  min-height: 44px;
  border: 0;
  outline: 0;
  padding: 0 14px;
  background: transparent;
  color: #111827;
  font-size: 17px;
  font-weight: 850;
  -webkit-appearance: none;
  appearance: none;
}

.home-search input::placeholder {
  color: #a3a3a3;
}

.home-search button {
  width: 42px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #232323;
  font-size: 31px;
  line-height: 1;
  font-weight: 650;
}

.home-school-back {
  display: none;
  width: 100%;
  min-height: 34px;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  color: #fff;
  font-size: 14px;
  font-weight: 950;
}

.home-school-back.show {
  display: block;
}

.home-profile-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px auto;
  align-items: center;
  gap: 5px;
  margin: 12px 2px 12px;
  color: #fff;
}

.home-profile-text {
  min-width: 0;
  overflow: visible;
  white-space: nowrap;
  text-overflow: clip;
  color: #fff;
  font-size: 15px;
  font-weight: 1000;
  letter-spacing: -.35px;
  text-shadow: 0 1px 0 rgba(132, 42, 8, .22);
  -webkit-font-smoothing: antialiased;
}

.home-profile-edit {
  color: #fff;
  font-size: 17px;
  font-weight: 950;
  text-decoration: none;
}

.home-vip-btn,
.home-vip-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 12px;
  background: #fff4d8;
  color: #4a2a05;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
}

.home-vip-btn.is-vip,
.home-vip-btn.is-vip:visited {
  border-color: rgba(255, 255, 255, .86);
  background: linear-gradient(135deg, #fff7df, #ffe1a8);
  color: #8a4b00;
  cursor: default;
}

.home-summary-card {
  position: relative;
  overflow: visible;
  min-height: 148px;
  padding: 18px 16px 16px;
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(255, 250, 241, .9));
  box-shadow: 0 16px 34px rgba(150, 62, 8, .13);
}

.home-tuition-filter {
  position: absolute;
  z-index: 120;
  top: 10px;
  right: 12px;
}

.home-tuition-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 24px 0 10px;
  border: 1px solid rgba(234, 107, 0, .22);
  border-radius: 999px;
  background: rgba(255, 247, 237, .92);
  color: #9a4b06;
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(150, 62, 8, .08);
}

.home-tuition-btn::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 0;
  height: 0;
  margin-top: -2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: .72;
}

.home-tuition-menu {
  position: absolute;
  z-index: 130;
  right: 0;
  top: calc(100% + 6px);
  width: 132px;
  padding: 6px;
  border: 1px solid #f3d3b0;
  border-radius: 12px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 14px 30px rgba(120, 53, 15, .16);
}

.home-tuition-menu[hidden] {
  display: none;
}

.home-tuition-menu button {
  display: block;
  width: 100%;
  min-height: 36px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #334155;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.home-tuition-menu button.active {
  background: #ea6b00;
  color: #fff;
}

.home-total {
  position: relative;
  z-index: 1;
  color: #27272a;
}

.home-total b {
  font-size: 48px;
  line-height: .9;
  font-weight: 950;
  letter-spacing: -1px;
}

.home-total span {
  margin-left: 3px;
  color: #9ca3af;
  font-size: 18px;
  font-weight: 850;
}

.home-total small {
  display: block;
  margin-top: 8px;
  color: #27272a;
  font-size: 16px;
  font-weight: 850;
}

.home-curve {
  position: absolute;
  right: 20px;
  top: 36px;
  width: 58%;
  height: 54px;
}

.home-curve span {
  display: block;
  width: 100%;
  height: 54px;
  border-top: 5px solid rgba(249, 115, 22, .36);
  border-radius: 50%;
  transform: skewX(-12deg) rotate(-5deg);
}

.home-curve i {
  position: absolute;
  left: 58%;
  top: 4px;
  width: 13px;
  height: 13px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: #f97316;
  box-shadow: 0 12px 0 -3px #f97316;
}

.home-risk-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
}

.home-risk-row button {
  min-width: 0;
  min-height: 38px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 244, 226, .95);
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.home-risk-row button.active {
  background: #ea6b00;
  color: #fff;
  box-shadow: 0 8px 18px rgba(234, 107, 0, .2);
}

.home-risk-row b {
  margin-right: 3px;
  color: #f97316;
  font-size: 20px;
  font-weight: 950;
}

.home-risk-row button.active b {
  color: #fff;
}

.home-mode .results {
  margin-top: 10px;
}

.home-mode .result-head h2 {
  display: none;
}

.home-mode .result-head {
  padding-top: 12px;
}

.home-mode .mini-bottom-bar {
  grid-template-columns: 56px minmax(0, 1fr) 112px 54px;
  gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
}

.mini-bottom-home,
.mini-bottom-mine {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  color: #ea580c;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.mini-bottom-home b {
  color: #ea580c;
  font-size: 24px;
  line-height: 1;
}

.mini-bottom-mine i {
  position: relative;
  width: 22px;
  height: 22px;
  border: 3px solid #ea580c;
  border-radius: 999px;
  box-sizing: border-box;
}

.mini-bottom-mine i::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #ea580c;
  transform: translateX(-50%);
}

.mini-bottom-mine i::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 12px;
  height: 6px;
  border-radius: 999px 999px 3px 3px;
  background: #ea580c;
  transform: translateX(-50%);
}

.mini-bottom-profile {
  display: flex;
  min-width: 0;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  color: #111827;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  -webkit-font-smoothing: antialiased;
}

.home-mode .mini-bottom-link.primary {
  min-height: 48px;
  border-radius: 16px;
}
.mini .scroll-top-fab {
  right: 14px;
  bottom: calc(86px + env(safe-area-inset-bottom));
  width: 48px;
  min-height: 60px;
}
.mini .scroll-top-fab span {
  width: 40px;
  height: 40px;
  font-size: 21px;
}
.mini .scroll-top-fab small {
  font-size: 10px;
}
