/* NewsTech 近原站照搬 · 卧底学识 */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap");

:root {
  --nt-bg: #000;
  --nt-ink: rgba(223, 245, 255, 1);
  --nt-ink-dim: rgba(223, 245, 255, 0.35);
  --nt-line: rgba(223, 245, 255, 0.22);
  --nt-accent: rgba(223, 245, 255, 1);
  --nt-accent-2: rgba(223, 245, 255, 0.55);
  --nt-accent-3: rgba(71, 100, 114, 0.8);
  --nt-accent-4: rgba(223, 245, 255, 0.75);
  --nt-font: "Roboto", "Hiragino Kaku Gothic ProN", "PingFang SC", "Microsoft YaHei", sans-serif;
  /* 虹膜直径：默认可达 94vmin；有左右栏时再被中栏宽度卡住 */
  --nt-iris: min(94vmin, 940px);
}

#loginPage.portal-stage.login-container {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: block !important;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  background: #000;
  color: var(--nt-ink);
  font-family: var(--nt-font);
  overflow: hidden;
  box-sizing: border-box;
}

#loginPage.portal-stage.login-container.nt-scheme-paper {
  background: var(--nt-page-bg, #f5f8fb);
}

#loginPage.portal-stage .login-box { display: none; }
#loginPage.portal-stage.portal-login-open .login-box { display: block; }

/* —— 配色（对齐原站） —— */
#loginPage.nt-scheme-mono {
  --nt-ink: rgba(223, 245, 255, 1);
  --nt-ink-dim: rgba(223, 245, 255, 0.35);
  --nt-line: rgba(223, 245, 255, 0.22);
  --nt-accent: rgba(223, 245, 255, 1);
  --nt-accent-2: rgba(223, 245, 255, 0.55);
  --nt-accent-3: rgba(120, 150, 165, 0.7);
  --nt-accent-4: rgba(223, 245, 255, 0.8);
  --nt-field-bg: #1a242e;
  --nt-field-bg-focus: #1f2b36;
}

#loginPage.nt-scheme-basic {
  --nt-ink: rgba(210, 238, 255, 1);
  --nt-ink-dim: rgba(100, 170, 230, 0.65);
  --nt-line: rgba(90, 170, 255, 0.45);
  --nt-accent: rgba(90, 190, 255, 1);
  --nt-accent-2: rgba(150, 220, 255, 1);
  --nt-accent-3: rgba(50, 140, 220, 1);
  --nt-accent-4: rgba(190, 235, 255, 1);
  --nt-field-bg: #162232;
  --nt-field-bg-focus: #1a2a3c;
}

/* 基础色相 + 白底（纸白 HUD） */
#loginPage.nt-scheme-paper {
  --nt-ink: rgba(18, 52, 86, 1);
  --nt-ink-dim: rgba(40, 100, 150, 0.55);
  --nt-line: rgba(50, 130, 200, 0.32);
  --nt-accent: rgba(20, 120, 210, 1);
  --nt-accent-2: rgba(0, 150, 220, 1);
  --nt-accent-3: rgba(25, 90, 170, 1);
  --nt-accent-4: rgba(60, 160, 230, 1);
  --nt-field-bg: #eef4fa;
  --nt-field-bg-focus: #e4eef8;
  --nt-page-bg: #f5f8fb;
}

#loginPage.nt-scheme-colorful {
  --nt-ink: rgba(224, 58, 67, 1);
  --nt-ink-dim: rgba(52, 64, 69, 0.85);
  --nt-line: rgba(52, 64, 69, 1);
  --nt-accent: rgba(224, 58, 67, 1);
  --nt-accent-2: rgba(21, 133, 120, 1);
  --nt-accent-3: rgba(100, 62, 240, 1);
  --nt-accent-4: rgba(141, 25, 233, 1);
  --nt-field-bg: #1c161a;
  --nt-field-bg-focus: #241c22;
}

/* 对齐原站 star / vivid：青 + 品红 + 绿 */
#loginPage.nt-scheme-vivid {
  --nt-ink: rgba(0, 255, 210, 1);
  --nt-ink-dim: rgba(0, 180, 160, 0.45);
  --nt-line: rgba(0, 255, 210, 0.35);
  --nt-accent: rgba(0, 255, 210, 1);
  --nt-accent-2: rgba(176, 38, 255, 1);
  --nt-accent-3: rgba(61, 255, 106, 1);
  --nt-accent-4: rgba(0, 200, 255, 1);
  --nt-field-bg: #1c161a;
  --nt-field-bg-focus: #241c22;
}

.nt-root {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  overflow: hidden;
  background: #000;
  color: var(--nt-ink);
}

#loginPage.nt-scheme-paper .nt-root {
  background: var(--nt-page-bg, #f5f8fb);
}

/* 中心点阵遮罩：铺满视口左右 */
.nt-loadmask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
}

.nt-loadmask .dotted {
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(223, 245, 255, 0.16) 0.55px, transparent 0.7px);
  background-size: 12px 12px;
  background-repeat: repeat;
}

/* 巨型中心图形（对齐原站 .graph） */
.nt-graph {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--nt-iris);
  height: var(--nt-iris);
  margin: calc(var(--nt-iris) / -2) 0 0 calc(var(--nt-iris) / -2);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.5s ease;
}

#loginPage.nt-ready .nt-graph {
  opacity: 1;
}

.nt-backgroundWrap {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--nt-iris) * 750 / 940);
  height: calc(var(--nt-iris) * 750 / 940);
  margin: calc(var(--nt-iris) * 750 / 940 / -2) 0 0 calc(var(--nt-iris) * 750 / 940 / -2);
  overflow: hidden;
  border-radius: 100%;
  z-index: 1;
  will-change: transform;
}

.nt-backgroundWrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.nt-shadowbg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--nt-iris) * 600 / 940);
  height: calc(var(--nt-iris) * 600 / 940);
  margin: calc(var(--nt-iris) * 600 / 940 / -2) 0 0 calc(var(--nt-iris) * 600 / 940 / -2);
  border-radius: 100%;
  z-index: 0;
  box-shadow: inset 0 0 200px 255px #000;
  background: rgba(14, 82, 82, 1);
}

.nt-shadow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--nt-iris) * 800 / 940);
  height: calc(var(--nt-iris) * 800 / 940);
  margin: calc(var(--nt-iris) * 800 / 940 / -2) 0 0 calc(var(--nt-iris) * 800 / 940 / -2);
  border-radius: 100%;
  z-index: 2;
  box-shadow: inset 0 0 100px 240px #000;
}

#loginPage.nt-scheme-mono .nt-shadowbg {
  /* 对齐原站 .shadowbg：近黑底 + 强内凹雾，托出低面球体体积感 */
  background:
    radial-gradient(circle at 50% 42%, rgba(22, 28, 38, 0.9) 0%, rgba(6, 7, 9, 1) 52%, #000 100%);
  box-shadow: inset 0 0 200px 255px #000;
}

#loginPage.nt-scheme-mono .nt-shadow {
  box-shadow: inset 0 0 200px 200px rgba(6, 7, 9, 1);
}

#loginPage.nt-scheme-mono .nt-backgroundWrap {
  background: radial-gradient(circle at 50% 50%, rgba(12, 16, 22, 0.55) 0%, rgba(0, 0, 0, 0) 70%);
}

#loginPage.nt-scheme-paper .nt-loadmask .dotted {
  background-image: radial-gradient(rgba(30, 100, 170, 0.14) 0.55px, transparent 0.7px);
}

#loginPage.nt-scheme-paper .nt-shadowbg {
  background:
    radial-gradient(circle at 50% 42%, rgba(210, 230, 248, 0.95) 0%, rgba(245, 248, 251, 1) 55%, #fff 100%);
  box-shadow: inset 0 0 140px 200px rgba(245, 248, 251, 0.98);
}

#loginPage.nt-scheme-paper .nt-shadow {
  box-shadow: inset 0 0 160px 180px rgba(245, 248, 251, 1);
}

#loginPage.nt-scheme-paper .nt-backgroundWrap {
  background: radial-gradient(circle at 50% 50%, rgba(180, 210, 240, 0.35) 0%, rgba(245, 248, 251, 0) 70%);
}

#loginPage.nt-scheme-colorful .nt-shadowbg {
  background: transparent;
  box-shadow: none;
}

#loginPage.nt-scheme-colorful .nt-shadow {
  opacity: 0;
  box-shadow: inset 0 0 200px 200px transparent;
}

#loginPage.nt-scheme-vivid .nt-shadowbg {
  background: transparent;
  box-shadow: none;
}

#loginPage.nt-scheme-vivid .nt-shadow {
  box-shadow: inset 0 0 200px 200px #000;
}

.nt-graphic-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  margin: -50% 0 0 -50%;
  z-index: 3;
  display: block;
}

/* 外圈描边（graphicmask）：开场大圆，比最终图形略小 */
.nt-graphicmask {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--nt-iris) * 560 / 940);
  height: calc(var(--nt-iris) * 560 / 940);
  margin: calc(var(--nt-iris) * 560 / 940 / -2) 0 0 calc(var(--nt-iris) * 560 / 940 / -2);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease;
  box-sizing: border-box;
}

#loginPage.nt-splash .nt-graphicmask {
  opacity: 1;
}

#loginPage.nt-ready .nt-graphicmask {
  opacity: 0;
}

.nt-graphicmask svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.nt-graphicmask path {
  fill: none;
  stroke: rgba(223, 245, 255, 0.1);
  stroke-width: 1;
  stroke-dasharray: 2140;
  stroke-dashoffset: 2140;
  transition: stroke-dashoffset 1.2s ease-in-out;
}

#loginPage.nt-splash .nt-graphicmask path {
  stroke-dashoffset: 0;
}

#loginPage.nt-scheme-colorful .nt-graphicmask path,
#loginPage.nt-scheme-vivid .nt-graphicmask path {
  stroke: rgba(224, 58, 67, 0.28);
}

/* 中心标题层：660px 宽居中，对齐原站 .centerContent */
.nt-centerContent {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(760px, 92vw);
  height: 100%;
  margin-left: calc(min(760px, 92vw) / -2);
  z-index: 10;
  pointer-events: none;
}

.nt-centerContent .nt-interactive {
  pointer-events: auto;
}

.nt-maintitle {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  margin: -43px 0 0 5px;
  padding: 0 12px;
  box-sizing: border-box;
  text-align: center;
  font-size: 32px;
  font-weight: 400;
  line-height: 45px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  z-index: 5;
  opacity: 1;
  transition: opacity 1.1s ease;
  pointer-events: none;
}

#loginPage.nt-title-fade .nt-maintitle {
  opacity: 0;
}

#loginPage.nt-scheme-mono .nt-maintitle {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

#loginPage.nt-scheme-basic .nt-maintitle {
  color: var(--nt-ink);
  text-shadow: 0 0 10px rgba(126, 200, 255, 0.45);
}

#loginPage.nt-scheme-paper .nt-maintitle {
  color: var(--nt-ink);
  text-shadow: 0 0 12px rgba(60, 140, 210, 0.22);
}

#loginPage.nt-scheme-colorful .nt-maintitle,
#loginPage.nt-scheme-vivid .nt-maintitle {
  color: #fff;
  text-shadow: 0 0 12px rgba(0, 255, 210, 0.25);
}

.nt-maintitle .wspan {
  display: block;
  margin: 0;
}

/* 正对屏幕的正三角锥：splash 显示，ready+graphic 后淡出 */
.nt-backlogo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 260px;
  height: 260px;
  margin: -140px 0 0 -130px;
  z-index: 3;
  opacity: 0;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  transition: opacity 1s ease;
}

#loginPage.nt-splash .nt-backlogo {
  opacity: 1;
}

#loginPage.nt-ready .nt-backlogo {
  opacity: 0;
}

#loginPage.nt-scheme-mono.nt-ready .nt-backlogo {
  opacity: 0;
  visibility: hidden;
}

.nt-backlogo svg {
  width: 260px;
  height: 260px;
  display: block;
  overflow: visible;
}

.nt-backlogo polygon,
.nt-backlogo line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.42);
  stroke-width: 1.15px;
  stroke-linejoin: round;
  stroke-linecap: round;
}

/* 进度条：splash 显示，完成后隐藏 */
.nt-progress {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120px;
  height: 1px;
  margin: 75px 0 0 -60px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.2);
  opacity: 1;
  transition: opacity 1s ease;
}

#loginPage.nt-ready .nt-progress {
  opacity: 0;
  pointer-events: none;
}

.nt-progress > div {
  position: relative;
  height: 1px;
}

.nt-progress > div > span {
  display: block;
  height: 1px;
  width: 0;
  background: #fff;
  transition: width 0.1s ease-in-out;
}

.nt-progress p {
  position: absolute;
  right: 0;
  top: 5px;
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #fff;
}

/* CHANGE SCHEME：原站角标按钮，位于中心偏上 */
.nt-colorPanel {
  position: absolute;
  left: 50px;
  top: 50%;
  margin: -425px 0 0 0;
  z-index: 11;
  appearance: none;
  width: auto;
  min-width: 146px;
  border: 1px solid var(--nt-accent);
  background: transparent;
  color: var(--nt-accent);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
  text-align: center;
}

.nt-colorPanel .name {
  display: block;
  padding: 11px 10px;
}

.nt-colorPanel .lefttop,
.nt-colorPanel .rightbottom {
  position: absolute;
  width: 6px;
  height: 6px;
  pointer-events: none;
}

.nt-colorPanel .lefttop {
  top: -1px;
  left: -1px;
  border-top: 1px solid var(--nt-accent);
  border-left: 1px solid var(--nt-accent);
}

.nt-colorPanel .rightbottom {
  right: -1px;
  bottom: -1px;
  border-right: 1px solid var(--nt-accent);
  border-bottom: 1px solid var(--nt-accent);
}

.nt-colorPanel:hover,
.nt-colorPanel.on {
  border-color: var(--nt-accent);
  color: var(--nt-accent);
  outline: none;
}

@media (max-height: 900px) {
  .nt-colorPanel {
    margin-top: max(-38vh, -320px);
  }
}

/* 配色 launch 横条 */
.nt-scheme-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(960px, 94vw);
  transform: translate(-50%, -50%);
  z-index: 20;
  display: none;
  align-items: stretch;
  pointer-events: auto;
}

#loginPage.nt-scheme-open .nt-scheme-panel { display: flex; }
#loginPage.nt-scheme-open .nt-maintitle,
#loginPage.nt-scheme-open .nt-progress,
#loginPage.nt-scheme-open .nt-backlogo { opacity: 0.12; }

.nt-scheme-panel::before {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, var(--nt-accent), var(--nt-accent-3), var(--nt-accent-2), var(--nt-accent-4));
}

.nt-scheme-panel button {
  flex: 1;
  appearance: none;
  border: none;
  background: transparent;
  color: var(--nt-ink);
  font-family: inherit;
  font-size: clamp(11px, 1.6vw, 13px);
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 36px 2px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.nt-scheme-panel button small {
  display: block;
  margin-top: 6px;
  color: var(--nt-ink-dim);
  font-weight: 400;
}

.nt-scheme-panel button:hover,
.nt-scheme-panel button.is-on {
  color: var(--nt-accent);
}

/* 左右侧边刻度 */
.nt-expand {
  position: absolute;
  top: 50%;
  width: 62px;
  height: min(865px, 88vh);
  margin-top: calc(min(865px, 88vh) / -2);
  z-index: 5;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.5s ease, color 0.35s ease;
  pointer-events: none;
  color: var(--nt-ink);
}

#loginPage.nt-ready .nt-expand { opacity: 0.4; }

.nt-expand.left { left: 18px; }
.nt-expand.right { right: 18px; transform: scaleX(-1); }

.nt-expand svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.nt-expand path,
.nt-expand line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

#loginPage.nt-scheme-basic .nt-expand,
#loginPage.nt-scheme-paper .nt-expand {
  color: var(--nt-accent);
}

#loginPage.nt-ready.nt-scheme-paper .nt-expand {
  opacity: 0.72;
}

#loginPage.nt-scheme-colorful .nt-expand,
#loginPage.nt-scheme-vivid .nt-expand {
  color: var(--nt-accent);
}

/* 左右内容浮层：按自身高度垂直居中 */
.nt-leftContent,
.nt-rightContent {
  position: absolute;
  top: 50%;
  width: min(320px, 28vw);
  max-height: min(920px, 90vh);
  margin-top: 0;
  z-index: 8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow: auto;
  opacity: 0;
  transform: translateY(calc(-50% + 12px));
  transition: opacity 1s ease 0.35s, transform 1s ease 0.35s;
  scrollbar-width: none;
}

.nt-leftContent::-webkit-scrollbar,
.nt-rightContent::-webkit-scrollbar { display: none; }

#loginPage.nt-ready .nt-leftContent,
#loginPage.nt-ready .nt-rightContent {
  opacity: 1;
  transform: translateY(-50%);
}

.nt-leftContent {
  left: max(96px, 10.5vw);
  width: min(300px, 26vw);
  padding: 8px 0;
}

.nt-rightContent {
  right: max(96px, 10.5vw);
  width: min(280px, 24vw);
  padding: 8px 0;
}

/* 四角 HUD 框 */
.nt-corners {
  position: absolute;
  inset: 14px;
  z-index: 6;
  pointer-events: none;
}

.nt-corners i {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--nt-accent);
  border-style: solid;
  opacity: 0.7;
}

.nt-corners i:nth-child(1) { top: 0; left: 0; border-width: 1px 0 0 1px; }
.nt-corners i:nth-child(2) { top: 0; right: 0; border-width: 1px 1px 0 0; }
.nt-corners i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.nt-corners i:nth-child(4) { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

/* 打开登入框时隐藏页面四角 L 形线（含 H5） */
#loginPage.portal-login-open .nt-corners,
#loginPage.portal-login-open .nt-corners i {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* 登入打开时隐藏配色按钮角标，避免透出 */
#loginPage.portal-login-open .nt-colorPanel .lefttop,
#loginPage.portal-login-open .nt-colorPanel .rightbottom {
  display: none !important;
}

.nt-hr {
  height: 1px;
  margin: 4px 0;
  position: relative;
  overflow: hidden;
}

.nt-hr > span {
  display: block;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, var(--nt-accent), transparent 90%);
  opacity: 0.65;
}

.nt-block-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
}

.nt-block-head .nt-block-title {
  margin: 0;
}

.nt-block-head .nt-hr:last-child > span {
  background: linear-gradient(270deg, var(--nt-accent), transparent 90%);
}

.nt-subtitleWrap {
  margin: 0 0 12px;
}

.nt-subtitle .first {
  color: var(--nt-ink-dim);
}

.nt-subtitle .second {
  color: var(--nt-accent);
}

.nt-logo-mark polygon,
.nt-logo-mark line {
  fill: none;
  stroke: var(--nt-accent);
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.nt-logo-mark path {
  fill: none;
  stroke: var(--nt-accent);
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.nt-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: inherit;
}

.nt-logo-mark {
  width: 88px;
  height: auto;
  color: var(--nt-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nt-logo-mark svg {
  width: 100%;
  height: auto;
  aspect-ratio: 100 / 92;
  overflow: visible;
  display: block;
}

/* 「超脑」相对三角锥底边水平居中（padding 抵消 letter-spacing 右侧空白） */
.nt-logo-caption {
  margin: 6px 0 0;
  color: var(--nt-accent);
  font-family: var(--nt-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.35em;
  line-height: 1;
  text-align: center;
  padding-left: 0.35em;
  box-sizing: border-box;
  width: 100%;
}

.nt-logo-text {
  margin: 4px 0 0;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-align: center;
  width: 100%;
  padding-left: 0.28em;
  box-sizing: border-box;
}

/* H5 顶栏字标：Aiooia */
.nt-logo--wordmark {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.nt-logo-word {
  font-family: var(--nt-font);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  color: var(--nt-ink);
  text-transform: none;
}

/* PV CHART 标签 + 上下粗线（对齐原站 .txt / .hrbold） */
.nt-txt {
  position: absolute;
  top: 50%;
  left: 50px;
  margin-top: 140px;
  z-index: 5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--nt-accent-2);
  opacity: 0;
  transition: opacity 0.6s ease 0.35s;
}

#loginPage.nt-ready .nt-txt {
  opacity: 1;
}

#loginPage.nt-scheme-vivid .nt-txt {
  color: transparent;
}

.nt-hrbold {
  position: absolute;
  width: 132px;
  top: 50%;
  left: 50px;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.6s ease 0.35s;
}

#loginPage.nt-ready .nt-hrbold {
  opacity: 1;
}

.nt-hrbold.up { margin-top: 130px; }
.nt-hrbold.down { margin-top: -130px; }

.nt-hrbold div {
  position: relative;
  width: 100%;
  height: 2px;
}

.nt-hrbold div span {
  display: block;
  position: absolute;
  height: 1px;
  width: 80px;
  right: 0;
  background: var(--nt-line);
}

.nt-hrbold div span:first-child {
  height: 2px;
  width: 50px;
  left: 0;
  right: auto;
  background: var(--nt-accent-2);
}

#loginPage.nt-scheme-mono .nt-hrbold div span:first-child {
  background: #fff;
}

/* 标题逐字擦显 */
.nt-maintitle .wspan {
  display: block;
  margin: 0;
}

.nt-maintitle .ch {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: top;
}

.nt-maintitle .ch > em {
  font-style: normal;
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}

.nt-maintitle .ch > i.bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: translateX(-105%);
}

#loginPage.nt-scheme-colorful .nt-maintitle .ch > i.bg,
#loginPage.nt-scheme-vivid .nt-maintitle .ch > i.bg {
  background: rgba(223, 245, 255, 1);
}

#loginPage.nt-title-on .nt-maintitle .ch > em {
  animation: ntCharIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: inherit;
}

#loginPage.nt-title-on .nt-maintitle .ch > i.bg {
  animation: ntBgWipe 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: inherit;
}

@keyframes ntBgWipe {
  0% { transform: translateX(-105%); }
  45% { transform: translateX(0); }
  100% { transform: translateX(105%); }
}

@keyframes ntCharIn {
  0% { transform: translateY(110%); opacity: 0; }
  50% { opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* PV 路径列表（对齐原站 .pv：标题下方横排） */
.nt-pvWrap {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  margin-top: 255px;
  z-index: 11;
  opacity: 0;
  transition: opacity 0.8s ease 0.4s;
  pointer-events: none;
}

#loginPage.nt-ready .nt-pvWrap {
  opacity: 1;
  pointer-events: auto;
}

.nt-pv {
  padding: 0 50px;
  box-sizing: border-box;
}

.nt-pv a {
  display: block;
  overflow: hidden;
  color: rgba(223, 245, 255, 0.22);
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.8;
  transition: color 0.3s;
}

#loginPage.nt-scheme-colorful .nt-pv a {
  color: rgba(52, 64, 69, 0.5);
}

#loginPage.nt-scheme-vivid .nt-pv a {
  color: rgba(54, 207, 194, 0.2);
}

.nt-pv a span:first-child { float: left; }
.nt-pv a span.v { float: right; }

.nt-pv a:hover,
.nt-pv a.on {
  color: var(--nt-accent);
}

/* expand 描边动画 */
.nt-expand path,
.nt-expand line {
  stroke-dasharray: 920;
  stroke-dashoffset: 920;
  transition: stroke-dashoffset 1.1s ease;
}

#loginPage.nt-ready .nt-expand path,
#loginPage.nt-ready .nt-expand line {
  stroke-dashoffset: 0;
}

#loginPage.nt-scheme-mono.nt-ready .nt-backlogo {
  opacity: 0;
  visibility: hidden;
}

.nt-logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.nt-date-wrap {
  text-align: right;
}

.nt-date-wrap .fmt {
  margin: 0;
  color: var(--nt-ink-dim);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.nt-date-wrap .today {
  margin: 4px 0 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--nt-accent);
}

.nt-subtitle {
  margin: 0;
  padding: 6px 0;
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: var(--nt-accent);
}

.nt-block-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--nt-accent);
}

.nt-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 14px;
}

.nt-btn {
  position: relative;
  appearance: none;
  float: none;
  border: 1px solid var(--nt-line);
  background: transparent;
  color: var(--nt-ink);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: left;
  padding: 0;
  cursor: pointer;
  width: 100%;
  height: 36px;
  margin: 0;
  transition: border-color 0.2s ease, color 0.2s ease;
  box-sizing: border-box;
}

.nt-btn .num {
  position: absolute;
  top: 2px;
  left: 4px;
  width: 14px;
  line-height: 15px;
  text-align: center;
  color: var(--nt-accent);
  border-bottom: 2px solid transparent;
}

.nt-btn.on .num,
.nt-btn:hover .num {
  border-bottom-color: var(--nt-accent);
}

.nt-btn .name {
  display: block;
  padding: 12px 28px 12px 22px;
  color: inherit;
}

.nt-btn .lefttop,
.nt-btn .rightbottom {
  position: absolute;
  width: 6px;
  height: 6px;
  pointer-events: none;
}

.nt-btn .lefttop {
  top: -1px;
  left: -1px;
  border-top: 1px solid var(--nt-accent);
  border-left: 1px solid var(--nt-accent);
}

.nt-btn .rightbottom {
  right: -1px;
  bottom: -1px;
  border-right: 1px solid var(--nt-accent);
  border-bottom: 1px solid var(--nt-accent);
}

.nt-btn .lefttop::before,
.nt-btn .lefttop::after,
.nt-btn .rightbottom::before,
.nt-btn .rightbottom::after {
  content: "";
  position: absolute;
  background: var(--nt-accent);
}

.nt-btn .lefttop::before { top: 0; left: 0; width: 2px; height: 2px; }
.nt-btn .lefttop::after { top: 0; left: 0; width: 2px; height: 2px; }
.nt-btn .rightbottom::before { right: 0; bottom: 0; width: 2px; height: 2px; }

.nt-btn .light {
  position: absolute;
  right: 5px;
  bottom: 5px;
  display: flex;
  gap: 2px;
}

.nt-btn .light span {
  width: 4px;
  height: 4px;
  background: var(--nt-ink-dim);
  opacity: 0.5;
}

.nt-btn.on .light span.o,
.nt-btn:hover .light span.o {
  background: var(--nt-accent);
  opacity: 1;
}

.nt-btn:hover,
.nt-btn.on {
  border-color: var(--nt-accent);
  color: var(--nt-accent);
  outline: none;
}

.nt-panel {
  margin-bottom: 12px;
}

.nt-wave,
.nt-chart {
  width: 100%;
  height: 52px;
  display: block;
}

.nt-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  color: var(--nt-ink-dim);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.nt-stat-big {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--nt-accent);
  line-height: 1;
  margin: 4px 0 8px;
}

.nt-dots {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
}

.nt-dots i {
  display: block;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--nt-ink-dim);
  opacity: 0.35;
}

.nt-dots i.on {
  background: var(--nt-accent-2);
  opacity: 1;
}

.nt-kv {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 4px 8px;
  margin: 0 0 8px;
}

.nt-kv dt {
  margin: 0;
  color: var(--nt-ink-dim);
}

.nt-kv dd {
  margin: 0;
  text-align: right;
  color: var(--nt-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-sitemap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
  color: var(--nt-ink-dim);
  font-size: 9px;
  margin-top: 6px;
}

.nt-sitemap button {
  appearance: none;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  padding: 0;
  cursor: pointer;
}

.nt-sitemap button:hover { color: var(--nt-accent); }

.nt-mf {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  gap: 2px;
  width: 100%;
  margin: 8px 0 4px;
}

.nt-mf i {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--nt-accent);
  opacity: 0.12;
}

.nt-mf i.m { background: var(--nt-accent); opacity: 0.85; }
.nt-mf i.f { background: var(--nt-accent-2); opacity: 0.7; }
.nt-mf i.off { opacity: 0.08; }

.nt-audio {
  width: 100%;
  height: 72px;
  display: block;
  margin-bottom: 6px;
}

.nt-mf-labels {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--nt-ink-dim);
  letter-spacing: 0.12em;
}

.nt-age {
  width: 100%;
  height: 48px;
  display: block;
  margin-top: 4px;
}

.nt-map {
  width: 100%;
  height: 72px;
  display: block;
  margin-bottom: 4px;
}

.nt-people {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 6px;
}

.nt-people i {
  width: 10px;
  height: 14px;
  display: inline-block;
  background: var(--nt-ink-dim);
  opacity: 0.35;
  clip-path: polygon(50% 0, 80% 30%, 80% 45%, 100% 45%, 100% 100%, 0 100%, 0 45%, 20% 45%, 20% 30%);
}

.nt-people i.on {
  background: var(--nt-accent-2);
  opacity: 0.9;
}

.nt-sliders {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.nt-sliders span {
  display: block;
  height: 1px;
  background: var(--nt-line);
  position: relative;
}

.nt-sliders span::after {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  height: 3px;
  width: var(--w, 40%);
  background: var(--nt-accent);
}

.nt-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 10px;
  padding-top: 8px;
}

.nt-foot button {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--nt-ink-dim);
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 0;
  cursor: pointer;
}

.nt-foot button:hover { color: var(--nt-accent); }

.nt-mobile-bar,
.nt-mobile-close,
.nt-mobile-nav {
  display: none;
}

/* 移动菜单打开时锁定页面滚动 */
html.nt-nav-lock,
html.nt-nav-lock body {
  overflow: hidden;
  overscroll-behavior: none;
}

/* 开场：仅中心 */
#loginPage.nt-splash .nt-leftContent,
#loginPage.nt-splash .nt-rightContent,
#loginPage.nt-splash .nt-expand,
#loginPage.nt-splash .nt-colorPanel {
  opacity: 0 !important;
  pointer-events: none;
}

/* 登入弹出时：磨砂遮罩（与登入框分轨过渡，避免 backdrop-filter 跟 opacity 叠播顿挫） */
#loginPage.portal-login-open .nt-root {
  pointer-events: none;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  #loginPage.portal-login-open .nt-root {
    filter: blur(4px);
    transform: scale(1.01);
    transform-origin: center center;
    transition: filter 0.4s ease, transform 0.4s ease;
  }
}

/* 登入层：对齐主页 NewsTech HUD */
.portal-login-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.4s;
  font-family: var(--nt-font);
}

#loginPage.portal-login-open .portal-login-sheet {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s linear 0s;
}

.portal-login-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  opacity: 0;
  /* 磨砂：半透雾 + 轻颗粒；blur 固定不参与插值 */
  background:
    radial-gradient(rgba(223, 245, 255, 0.08) 0.5px, transparent 0.75px) 0 0 / 4px 4px,
    linear-gradient(
      165deg,
      rgba(28, 36, 46, 0.48) 0%,
      rgba(10, 14, 20, 0.54) 100%
    );
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  transform: translateZ(0);
  will-change: opacity;
  transition: opacity 0.4s ease;
  cursor: pointer;
}

#loginPage.portal-login-open .portal-login-backdrop {
  opacity: 1;
}

.portal-login-sheet .login-box {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  max-height: min(92dvh, 720px);
  overflow: auto;
  overflow-x: hidden;
  margin: 0;
  padding: 28px 22px 24px;
  border-radius: 0;
  border: 1px solid rgba(223, 245, 255, 0.28);
  /* 相对纯黑主页抬亮，拉开层次 */
  background:
    linear-gradient(165deg, rgba(36, 48, 58, 0.98) 0%, rgba(16, 22, 28, 0.98) 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 18px 48px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(223, 245, 255, 0.08);
  color: var(--nt-ink);
  opacity: 0;
  transform: translateY(24px) translateZ(0);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
  will-change: transform, opacity;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

#loginPage.nt-scheme-colorful .portal-login-sheet .login-box,
#loginPage.nt-scheme-vivid .portal-login-sheet .login-box {
  border-color: rgba(224, 58, 67, 0.45);
  background:
    linear-gradient(165deg, rgba(42, 28, 34, 0.98) 0%, rgba(18, 14, 18, 0.98) 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 18px 48px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(224, 58, 67, 0.12);
}

#loginPage.nt-scheme-basic .portal-login-sheet .login-box {
  border-color: rgba(58, 160, 255, 0.4);
  background:
    linear-gradient(165deg, rgba(28, 40, 56, 0.98) 0%, rgba(12, 18, 28, 0.98) 100%);
}

#loginPage.nt-scheme-paper .portal-login-sheet .login-box {
  border-color: rgba(20, 120, 210, 0.32);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(238, 244, 250, 0.98) 100%);
  box-shadow:
    0 0 0 1px rgba(30, 80, 140, 0.06),
    0 18px 48px rgba(30, 70, 120, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: var(--nt-ink);
}

.portal-login-sheet .login-box::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

/* 登入框不使用四角 L 形角标 */
.portal-login-sheet .login-box::before,
.portal-login-sheet .login-box::after {
  content: none !important;
  display: none !important;
  border: none !important;
}

#loginPage.portal-login-open .portal-login-sheet .login-box {
  opacity: 1;
  transform: translateY(0) translateZ(0);
}

.portal-login-close {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 4;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--nt-ink-dim);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transform: rotate(0deg) scale(1);
  transition: color 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.portal-login-close:hover,
.portal-login-close:focus-visible {
  color: var(--nt-accent);
  border: none;
  background: transparent;
  outline: none;
  transform: rotate(90deg) scale(1.15);
}

.portal-login-close:active {
  transform: rotate(90deg) scale(0.95);
}

/* 登入框内控件：覆盖 styles.css 白底圆角 */
#loginPage.portal-stage .portal-login-sheet .login-logo-wrap {
  min-height: 0;
  margin-bottom: 12px;
}

#loginPage.portal-stage .portal-login-sheet .login-logo {
  max-width: 160px;
  filter: brightness(1.15) contrast(1.05);
}

#loginPage.portal-stage .portal-login-sheet .login-brand-tagline {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--nt-accent);
}

#loginPage.portal-stage .portal-login-sheet .login-tabs {
  gap: 0;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--nt-line);
}

#loginPage.portal-stage .portal-login-sheet .login-tab-btn {
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--nt-ink-dim);
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
}

#loginPage.portal-stage .portal-login-sheet .login-tab-btn:hover {
  color: var(--nt-accent);
}

#loginPage.portal-stage .portal-login-sheet .login-tab-btn.active {
  color: var(--nt-accent);
  border-bottom-color: var(--nt-accent);
  background: transparent;
}

#loginPage.portal-stage .portal-login-sheet .login-input-wrap,
#loginPage.portal-stage .portal-login-sheet .login-captcha-row,
#loginPage.portal-stage .portal-login-sheet .register-email-with-verify {
  border: 1px solid var(--nt-line);
  border-radius: 0;
  background: var(--nt-field-bg);
  box-shadow: none;
  height: 46px;
  min-height: 46px;
  max-height: 46px;
}

#loginPage.portal-stage .portal-login-sheet .login-input-wrap:focus-within,
#loginPage.portal-stage .portal-login-sheet .login-captcha-row:focus-within {
  border-color: var(--nt-accent);
  background: var(--nt-field-bg-focus);
  box-shadow: none;
}

#loginPage.portal-stage .portal-login-sheet .login-input-wrap input,
#loginPage.portal-stage .portal-login-sheet .login-captcha-row input,
#loginPage.portal-stage .portal-login-sheet .form-group.login-input-wrap input {
  background: transparent !important;
  color: var(--nt-ink) !important;
  border: none !important;
  box-shadow: none !important;
  font-family: var(--nt-font);
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* 已填/自动填充时与输入栏周边同色 */
#loginPage.portal-stage .portal-login-sheet .login-input-wrap input:-webkit-autofill,
#loginPage.portal-stage .portal-login-sheet .login-input-wrap input:-webkit-autofill:hover,
#loginPage.portal-stage .portal-login-sheet .login-input-wrap input:-webkit-autofill:focus,
#loginPage.portal-stage .portal-login-sheet .login-input-wrap input:-webkit-autofill:active,
#loginPage.portal-stage .portal-login-sheet .login-captcha-row input:-webkit-autofill,
#loginPage.portal-stage .portal-login-sheet .login-captcha-row input:-webkit-autofill:hover,
#loginPage.portal-stage .portal-login-sheet .login-captcha-row input:-webkit-autofill:focus,
#loginPage.portal-stage .portal-login-sheet .login-captcha-row input:-webkit-autofill:active,
#loginPage.portal-stage .portal-login-sheet .form-group.login-input-wrap input:-webkit-autofill,
#loginPage.portal-stage .portal-login-sheet .form-group.login-input-wrap input:-webkit-autofill:hover,
#loginPage.portal-stage .portal-login-sheet .form-group.login-input-wrap input:-webkit-autofill:focus,
#loginPage.portal-stage .portal-login-sheet .form-group.login-input-wrap input:-webkit-autofill:active,
#loginPage.portal-stage .portal-login-sheet .login-input-wrap input:autofill,
#loginPage.portal-stage .portal-login-sheet .form-group.login-input-wrap input:autofill {
  -webkit-text-fill-color: var(--nt-ink) !important;
  caret-color: var(--nt-ink);
  color: var(--nt-ink) !important;
  background-color: var(--nt-field-bg) !important;
  background-image: none !important;
  border: none !important;
  -webkit-box-shadow: 0 0 0 1000px var(--nt-field-bg) inset !important;
  box-shadow: 0 0 0 1000px var(--nt-field-bg) inset !important;
  transition: background-color 99999s ease-out 0s;
}

#loginPage.portal-stage .portal-login-sheet .login-input-wrap:focus-within input:-webkit-autofill,
#loginPage.portal-stage .portal-login-sheet .login-input-wrap:focus-within input:-webkit-autofill:focus,
#loginPage.portal-stage .portal-login-sheet .login-captcha-row:focus-within input:-webkit-autofill,
#loginPage.portal-stage .portal-login-sheet .login-captcha-row:focus-within input:-webkit-autofill:focus,
#loginPage.portal-stage .portal-login-sheet .form-group.login-input-wrap:focus-within input:-webkit-autofill,
#loginPage.portal-stage .portal-login-sheet .form-group.login-input-wrap:focus-within input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--nt-field-bg-focus) inset !important;
  box-shadow: 0 0 0 1000px var(--nt-field-bg-focus) inset !important;
  background-color: var(--nt-field-bg-focus) !important;
}

#loginPage.portal-stage .portal-login-sheet .login-input-wrap input::placeholder,
#loginPage.portal-stage .portal-login-sheet .login-captcha-row input::placeholder {
  color: var(--nt-ink-dim);
  opacity: 0.85;
}

#loginPage.portal-stage .portal-login-sheet .login-input-icon {
  opacity: 0.7;
  filter: invert(1) brightness(1.4);
}

#loginPage.portal-stage .portal-login-sheet .form-group {
  margin-bottom: 12px;
}

#loginPage.portal-stage .portal-login-sheet .btn {
  border-radius: 0;
  font-family: var(--nt-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  border: 1px solid var(--nt-line);
  background: transparent;
  color: var(--nt-ink);
  box-shadow: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

#loginPage.portal-stage .portal-login-sheet .btn-primary.btn-block {
  margin-top: 6px;
  border-color: var(--nt-accent);
  color: var(--nt-accent);
  background: rgba(223, 245, 255, 0.04);
}

#loginPage.portal-stage .portal-login-sheet .btn-primary.btn-block:hover {
  background: rgba(223, 245, 255, 0.1);
}

#loginPage.portal-stage .portal-login-sheet .btn-guest-login {
  margin-top: 10px;
  color: var(--nt-ink-dim);
  border-color: var(--nt-line);
}

#loginPage.portal-stage .portal-login-sheet .btn-guest-login:hover {
  color: var(--nt-accent);
  border-color: var(--nt-accent);
}

#loginPage.portal-stage .portal-login-sheet .btn-captcha-refresh {
  border: 1px solid var(--nt-line);
  border-radius: 0;
  background: transparent;
  color: var(--nt-ink-dim);
}

#loginPage.portal-stage .portal-login-sheet .btn-captcha-refresh:hover {
  color: var(--nt-accent);
  border-color: var(--nt-accent);
}

#loginPage.portal-stage .portal-login-sheet .register-verify-icon-btn.btn-captcha-refresh,
#loginPage.portal-stage .portal-login-sheet #sendRegisterCodeBtn {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--nt-ink-dim);
  width: 32px;
  min-width: 32px;
  height: 32px;
  padding: 0 !important;
}

#loginPage.portal-stage .portal-login-sheet .register-verify-icon-btn.btn-captcha-refresh:hover,
#loginPage.portal-stage .portal-login-sheet #sendRegisterCodeBtn:hover {
  color: var(--nt-accent);
  border: none !important;
  background: transparent !important;
}

#loginPage.portal-stage .portal-login-sheet .register-verify-icon-btn .register-verify-icon {
  filter: invert(1) brightness(1.35);
  opacity: 0.85;
}

#loginPage.portal-stage .portal-login-sheet .register-verify-icon-btn:hover .register-verify-icon {
  opacity: 1;
}

#loginPage.portal-stage .portal-login-sheet .login-switch-hint {
  color: var(--nt-ink-dim);
  font-size: 12px;
  letter-spacing: 0.06em;
}

#loginPage.portal-stage .portal-login-sheet .login-switch-hint a {
  color: var(--nt-accent);
  text-decoration: none;
}

#loginPage.portal-stage .portal-login-sheet .login-switch-hint a:hover {
  text-decoration: underline;
}

#loginPage.portal-stage .portal-login-sheet .login-error-tip,
#loginPage.portal-stage .portal-login-sheet .register-error-tip {
  color: #ff6b7a;
  background: rgba(224, 58, 67, 0.12);
  border: 1px solid rgba(224, 58, 67, 0.35);
  border-radius: 0;
}

#loginPage.portal-stage .portal-login-sheet .login-success-tip,
#loginPage.portal-stage .portal-login-sheet .register-invite-tip {
  color: var(--nt-accent-2);
  background: rgba(223, 245, 255, 0.06);
  border: 1px solid var(--nt-line);
  border-radius: 0;
}

#loginPage.portal-stage .portal-login-sheet .login-captcha-question {
  color: var(--nt-ink);
}

@keyframes ntSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1100px) {
  .nt-leftContent,
  .nt-rightContent {
    width: min(280px, 30vw);
  }
  .nt-leftContent { left: 54px; }
  .nt-rightContent { right: 54px; }
  .nt-expand { display: none; }
}

/* 左右栏同时显示：虹膜按中栏剩余宽度收缩（修 iPad 横屏侵占信息框） */
@media (min-width: 861px) and (max-width: 1100px) {
  :root {
    --nt-iris: min(
      94vmin,
      940px,
      max(300px, calc(100vw - 148px - 2 * min(280px, 30vw)))
    );
  }
}

@media (min-width: 1101px) {
  :root {
    --nt-iris: min(
      94vmin,
      940px,
      max(360px, calc(100vw - 2 * (max(96px, 10.5vw) + min(300px, 26vw) + 28px)))
    );
  }
}

@media (max-width: 860px) {
  /* 主页移动端不显示四角 L 形角标 */
  .nt-corners,
  .nt-corners i {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .nt-mobile-bar {
    display: flex;
    position: absolute;
    top: calc(12px + env(safe-area-inset-top, 0px));
    left: 14px;
    right: 14px;
    z-index: 40;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
  }

  .nt-mobile-bar .nt-logo,
  .nt-mobile-bar .nt-mobile-toggle {
    pointer-events: auto;
  }

  .nt-mobile-bar .nt-logo-word {
    font-size: 17px;
    letter-spacing: 0.14em;
  }

  /* NewsTech 风格：右上角汉堡 → 打开后变 X */
  .nt-mobile-toggle {
    appearance: none;
    width: 50px;
    height: 50px;
    border-radius: 0;
    border: none;
    background: transparent;
    color: var(--nt-ink);
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 41;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    box-shadow: none;
    outline: none;
  }

  #loginPage.nt-scheme-paper .nt-mobile-toggle {
    background: transparent;
    border: none;
    color: var(--nt-ink);
  }

  .nt-burger {
    position: relative;
    width: 20px;
    height: 13px;
    display: block;
  }

  .nt-burger i {
    position: absolute;
    left: 0;
    display: block;
    width: 20px;
    height: 1px;
    background: currentColor;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
    transform-origin: center;
  }

  .nt-burger i:nth-child(1) { top: 0; }
  .nt-burger i:nth-child(2) { top: 6px; }
  .nt-burger i:nth-child(3) { top: 12px; }

  #loginPage.nt-panel-open .nt-burger i:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  #loginPage.nt-panel-open .nt-burger i:nth-child(2) {
    opacity: 0;
  }

  #loginPage.nt-panel-open .nt-burger i:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nt-rightContent { display: none; }

  .nt-leftContent {
    display: none !important;
  }

  /* 全屏 HUD 导航 */
  .nt-mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 35;
    display: flex;
    flex-direction: column;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.97) 0%, rgba(0, 0, 0, 0.92) 100%);
    color: var(--nt-ink);
    transform: translate3d(100%, 0, 0);
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.52s cubic-bezier(0.4, 0.05, 0.2, 1),
      visibility 0s linear 0.52s;
    padding:
      calc(58px + env(safe-area-inset-top, 0px))
      22px
      max(28px, env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    will-change: transform;
    overflow: hidden;
  }

  #loginPage.nt-scheme-paper .nt-mobile-nav {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 251, 0.97) 100%);
  }

  .nt-mobile-nav[hidden] {
    display: flex !important;
  }

  #loginPage.nt-panel-open .nt-mobile-nav {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
    transition:
      transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0s;
  }

  .nt-mobile-nav-frame {
    position: absolute;
    inset: calc(58px + env(safe-area-inset-top, 0px)) 18px max(22px, env(safe-area-inset-bottom, 0px));
    pointer-events: none;
    opacity: 0;
    transform: scale(0.985);
    transition:
      opacity 0.4s ease 0.12s,
      transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
  }

  #loginPage.nt-panel-open .nt-mobile-nav-frame {
    opacity: 0.55;
    transform: scale(1);
  }

  .nt-mobile-nav-frame span {
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: var(--nt-accent);
    border-style: solid;
    border-width: 0;
  }

  .nt-mobile-nav-frame .c-tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
  .nt-mobile-nav-frame .c-tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
  .nt-mobile-nav-frame .c-bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
  .nt-mobile-nav-frame .c-br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

  .nt-mobile-nav-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 0;
    gap: 18px;
    position: relative;
    z-index: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .nt-mobile-nav-head {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(300px, 100%);
    opacity: 0;
    transform: translate3d(0, -8px, 0);
    transition:
      opacity 0.35s ease,
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0s;
  }

  #loginPage.nt-panel-open .nt-mobile-nav-head {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: 0.14s;
  }

  .nt-mobile-nav-head .nt-hr {
    flex: 1;
    margin: 0;
  }

  .nt-mobile-nav-head .nt-hr:first-child > span {
    background: linear-gradient(90deg, transparent, var(--nt-accent));
  }

  .nt-mobile-nav-title {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.32em;
    color: var(--nt-accent);
    white-space: nowrap;
  }

  .nt-mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: min(300px, 100%);
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .nt-mobile-nav-list li {
    margin: 0;
  }

  .nt-mobile-nav-link {
    appearance: none;
    position: relative;
    display: grid;
    grid-template-columns: 28px minmax(3.5em, auto) 1fr auto;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 0 12px 0 10px;
    border: 1px solid var(--nt-line);
    background: transparent;
    color: var(--nt-ink);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1;
    cursor: pointer;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    opacity: 0;
    transform: translate3d(24px, 0, 0);
    transition:
      opacity 0.3s ease,
      transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.2s ease,
      background-color 0.2s ease,
      color 0.15s ease;
    transition-delay: 0s;
  }

  #loginPage.nt-panel-open .nt-mobile-nav-link {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  #loginPage.nt-panel-open .nt-mobile-nav-list li:nth-child(1) .nt-mobile-nav-link { transition-delay: 0.18s; }
  #loginPage.nt-panel-open .nt-mobile-nav-list li:nth-child(2) .nt-mobile-nav-link { transition-delay: 0.23s; }
  #loginPage.nt-panel-open .nt-mobile-nav-list li:nth-child(3) .nt-mobile-nav-link { transition-delay: 0.28s; }
  #loginPage.nt-panel-open .nt-mobile-nav-list li:nth-child(4) .nt-mobile-nav-link { transition-delay: 0.33s; }
  #loginPage.nt-panel-open .nt-mobile-nav-list li:nth-child(5) .nt-mobile-nav-link { transition-delay: 0.38s; }
  #loginPage.nt-panel-open .nt-mobile-nav-list li:nth-child(6) .nt-mobile-nav-link { transition-delay: 0.43s; }

  .nt-mobile-nav-link .lefttop,
  .nt-mobile-nav-link .rightbottom {
    position: absolute;
    width: 7px;
    height: 7px;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.2s ease;
  }

  .nt-mobile-nav-link .lefttop {
    top: -1px;
    left: -1px;
    border-top: 1px solid var(--nt-accent);
    border-left: 1px solid var(--nt-accent);
  }

  .nt-mobile-nav-link .rightbottom {
    right: -1px;
    bottom: -1px;
    border-right: 1px solid var(--nt-accent);
    border-bottom: 1px solid var(--nt-accent);
  }

  .nt-mobile-nav-link .ic {
    position: relative;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--nt-accent);
    transition: color 0.15s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nt-mobile-nav-link .ic svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.25;
    stroke-linecap: square;
    stroke-linejoin: miter;
  }

  .nt-mobile-nav-link .ic .nt-ic-dot {
    fill: currentColor;
    stroke: none;
  }

  .nt-mobile-nav-link .ic .nt-ic-dim {
    opacity: 0.4;
  }

  .nt-mobile-nav-link .lb {
    letter-spacing: 0.28em;
    text-align: left;
    white-space: nowrap;
  }

  .nt-mobile-nav-link .trail {
    height: 1px;
    width: 100%;
    min-width: 24px;
    background-image: radial-gradient(circle, var(--nt-ink-dim) 0.6px, transparent 0.7px);
    background-size: 5px 1px;
    background-repeat: repeat-x;
    background-position: center;
    opacity: 0.55;
    transition: opacity 0.2s ease, background-image 0.2s ease;
  }

  .nt-mobile-nav-link .idx {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--nt-ink-dim);
    font-variant-numeric: tabular-nums;
    transition: color 0.2s ease;
  }

  .nt-mobile-nav-link:active {
    border-color: var(--nt-accent);
    background: rgba(223, 245, 255, 0.04);
    color: var(--nt-accent);
  }

  .nt-mobile-nav-link:active .ic {
    color: var(--nt-accent);
    transform: scale(1.06);
  }

  .nt-mobile-nav-link:active .idx {
    color: var(--nt-accent);
  }

  .nt-mobile-nav-link:active .lefttop,
  .nt-mobile-nav-link:active .rightbottom {
    opacity: 1;
  }

  .nt-mobile-nav-link:active .trail {
    opacity: 0.9;
    background-image: radial-gradient(circle, var(--nt-accent) 0.6px, transparent 0.7px);
  }

  .nt-mobile-nav-foot {
    list-style: none;
    margin: 0;
    padding: 18px 0 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
  }

  .nt-mobile-nav-action {
    appearance: none;
    position: relative;
    min-width: 108px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--nt-line);
    background: transparent;
    color: var(--nt-ink);
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    transition:
      opacity 0.35s ease,
      transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.2s ease,
      color 0.15s ease,
      background-color 0.2s ease;
    transition-delay: 0s;
  }

  .nt-mobile-nav-action .name {
    display: block;
    line-height: 40px;
    text-align: center;
  }

  .nt-mobile-nav-action .lefttop,
  .nt-mobile-nav-action .rightbottom {
    position: absolute;
    width: 6px;
    height: 6px;
    pointer-events: none;
  }

  .nt-mobile-nav-action .lefttop {
    top: -1px;
    left: -1px;
    border-top: 1px solid var(--nt-accent);
    border-left: 1px solid var(--nt-accent);
  }

  .nt-mobile-nav-action .rightbottom {
    right: -1px;
    bottom: -1px;
    border-right: 1px solid var(--nt-accent);
    border-bottom: 1px solid var(--nt-accent);
  }

  #loginPage.nt-panel-open .nt-mobile-nav-action {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: 0.48s;
  }

  #loginPage.nt-panel-open .nt-mobile-nav-foot li:nth-child(2) .nt-mobile-nav-action {
    transition-delay: 0.54s;
  }

  .nt-mobile-nav-action:active {
    border-color: var(--nt-accent);
    color: var(--nt-accent);
    background: rgba(223, 245, 255, 0.04);
  }

  .nt-mobile-bar .nt-logo {
    transition: opacity 0.35s ease;
  }

  #loginPage.nt-panel-open .nt-mobile-bar .nt-logo {
    opacity: 0;
    pointer-events: none;
  }

  #loginPage.nt-panel-open .nt-colorPanel {
    opacity: 0;
    pointer-events: none;
  }

  .nt-mobile-close {
    display: none;
  }

  .nt-colorPanel {
    top: auto;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    margin: 0 0 0 -73px;
    transition: opacity 0.3s ease;
  }

  .nt-maintitle {
    font-size: 22px;
    line-height: 32px;
    letter-spacing: 5px;
    margin-top: -34px;
  }

  .nt-backlogo {
    width: 200px;
    height: 200px;
    margin: -110px 0 0 -100px;
  }

  .nt-backlogo svg {
    width: 200px;
    height: 200px;
  }

  /* 移动端登入：缩小 LOGO、收紧间距，保证一屏完整显示 */
  .portal-login-sheet {
    align-items: center;
    padding:
      max(8px, env(safe-area-inset-top, 0px))
      12px
      max(8px, env(safe-area-inset-bottom, 0px));
  }

  .portal-login-sheet .login-box {
    width: min(420px, 100%);
    max-height: calc(100dvh - 16px);
    padding: 16px 16px 14px;
    overflow: auto;
  }

  #loginPage.portal-stage .portal-login-sheet .login-logo-wrap {
    margin-bottom: 6px;
    min-height: 0;
  }

  #loginPage.portal-stage .portal-login-sheet .login-logo {
    max-width: 88px !important;
    width: 88px;
  }

  #loginPage.portal-stage .portal-login-sheet .login-logo-fallback {
    font-size: 36px;
  }

  #loginPage.portal-stage .portal-login-sheet .login-brand-tagline {
    margin-top: 4px;
    font-size: 11px;
    letter-spacing: 0.2em;
  }

  #loginPage.portal-stage .portal-login-sheet .login-tabs {
    margin-bottom: 12px;
  }

  #loginPage.portal-stage .portal-login-sheet .login-tab-btn {
    padding: 8px 6px;
    font-size: 12px;
  }

  #loginPage.portal-stage .portal-login-sheet .form-group {
    margin-bottom: 8px;
  }

  #loginPage.portal-stage .portal-login-sheet .login-input-wrap,
  #loginPage.portal-stage .portal-login-sheet .login-captcha-row,
  #loginPage.portal-stage .portal-login-sheet .register-email-with-verify {
    height: 42px;
    min-height: 42px;
    max-height: 42px;
  }

  #loginPage.portal-stage .portal-login-sheet .btn {
    min-height: 40px;
    font-size: 12px;
  }

  #loginPage.portal-stage .portal-login-sheet .btn-primary.btn-block {
    margin-top: 4px;
  }

  #loginPage.portal-stage .portal-login-sheet .btn-guest-login {
    margin-top: 6px;
  }

  #loginPage.portal-stage .portal-login-sheet .login-switch-hint {
    margin-top: 8px;
    font-size: 11px;
  }

  .portal-login-close {
    top: 6px;
    right: 8px;
  }
}

@media (min-width: 768px) {
  .portal-login-sheet {
    align-items: center;
    padding: 24px;
  }

  .portal-login-sheet .login-box {
    width: min(440px, 92vw);
    max-height: min(86vh, 680px);
    padding: 36px 40px 32px;
    border-radius: 0;
    transform: translateY(12px) scale(0.98) translateZ(0);
  }

  #loginPage.portal-login-open .portal-login-sheet .login-box {
    opacity: 1;
    transform: translateY(0) scale(1) translateZ(0);
  }

  #loginPage.portal-stage .portal-login-sheet .login-logo {
    max-width: 180px;
  }

  #loginPage.portal-stage .portal-login-sheet .login-brand-tagline {
    font-size: 14px;
    letter-spacing: 0.32em;
  }

  #loginPage.portal-stage .portal-login-sheet .login-tab-btn {
    font-size: 14px;
  }

  #loginPage.portal-stage .portal-login-sheet .btn {
    min-height: 46px;
  }
}

/* JS 接管开场（nt-js-motion）：关掉 CSS 过渡/关键帧，避免与 rAF 叠播，也避开安卓系统动画时长=0 */
#loginPage.nt-js-motion .nt-graph,
#loginPage.nt-js-motion .nt-backlogo,
#loginPage.nt-js-motion .nt-progress,
#loginPage.nt-js-motion .nt-graphicmask,
#loginPage.nt-js-motion .nt-graphicmask path,
#loginPage.nt-js-motion .nt-leftContent,
#loginPage.nt-js-motion .nt-rightContent,
#loginPage.nt-js-motion .nt-expand,
#loginPage.nt-js-motion .nt-pvWrap,
#loginPage.nt-js-motion .nt-txt,
#loginPage.nt-js-motion .nt-hrbold,
#loginPage.nt-js-motion .nt-maintitle {
  transition: none !important;
}

#loginPage.nt-js-motion.nt-title-on .nt-maintitle .ch > em,
#loginPage.nt-js-motion.nt-title-on .nt-maintitle .ch > i.bg {
  animation: none !important;
}

@media (max-width: 720px) {
  .nt-maintitle {
    font-size: 17px;
    line-height: 25px;
    letter-spacing: 5px;
    margin-top: -25px;
  }
}

/* —— 安全验证弹窗：对齐主页登入 HUD（用 .login-verify-open，避免 :has 失效白屏） —— */
#modal.login-verify-open {
  background:
    radial-gradient(rgba(223, 245, 255, 0.08) 0.55px, transparent 0.7px) 0 0 / 12px 12px,
    rgba(0, 0, 0, 0.78) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#modal.login-verify-open .modal-content {
  width: min(400px, calc(100vw - 40px)) !important;
  max-width: min(400px, calc(100vw - 40px)) !important;
  min-height: 0 !important;
  height: auto !important;
  margin: auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: 1px solid rgba(223, 245, 255, 0.28) !important;
  background:
    linear-gradient(165deg, rgba(36, 48, 58, 0.98) 0%, rgba(16, 22, 28, 0.98) 100%) !important;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 18px 48px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(223, 245, 255, 0.08) !important;
  color: rgba(223, 245, 255, 0.96) !important;
  font-family: var(--nt-font, "Roboto", "PingFang SC", "Microsoft YaHei", sans-serif) !important;
  animation: none !important;
  overflow: visible !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  text-align: left !important;
}

#modal.login-verify-open.nt-scheme-basic .modal-content {
  border-color: rgba(58, 160, 255, 0.4) !important;
  background:
    linear-gradient(165deg, rgba(28, 40, 56, 0.98) 0%, rgba(12, 18, 28, 0.98) 100%) !important;
}

#modal.login-verify-open.nt-scheme-paper .modal-content {
  border-color: rgba(20, 120, 210, 0.32) !important;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(238, 244, 250, 0.98) 100%) !important;
  box-shadow:
    0 0 0 1px rgba(30, 80, 140, 0.06),
    0 18px 48px rgba(30, 70, 120, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  color: rgba(18, 52, 86, 0.96) !important;
}

#modal.login-verify-open.nt-scheme-colorful .modal-content,
#modal.login-verify-open.nt-scheme-vivid .modal-content {
  border-color: rgba(224, 58, 67, 0.45) !important;
  background:
    linear-gradient(165deg, rgba(42, 28, 34, 0.98) 0%, rgba(18, 14, 18, 0.98) 100%) !important;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 18px 48px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(224, 58, 67, 0.12) !important;
}

#modal.login-verify-open .modal-content::before,
#modal.login-verify-open .modal-content::after {
  content: none !important;
  display: none !important;
  border: none !important;
}

#modal.login-verify-open .close {
  top: 8px !important;
  right: 10px !important;
  width: 28px !important;
  height: 28px !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(223, 245, 255, 0.65) !important;
  font-size: 22px !important;
  line-height: 1 !important;
  opacity: 1 !important;
  text-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  transform: rotate(0deg) scale(1);
  transition: color 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease !important;
}

#modal.login-verify-open .close:hover {
  color: rgba(223, 245, 255, 1) !important;
  border: none !important;
  background: transparent !important;
  transform: rotate(90deg) scale(1.15);
  opacity: 1 !important;
}

#modal.login-verify-open #modalBody {
  width: 100%;
  background: transparent !important;
  color: inherit;
}

#modal.login-verify-open #addStudentResultsSection {
  display: none !important;
}

.login-verify-modal {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: 28px 22px 24px;
  box-sizing: border-box;
  text-align: left;
  color: rgba(223, 245, 255, 0.96);
  font-family: var(--nt-font, "Roboto", "PingFang SC", "Microsoft YaHei", sans-serif);
  background: transparent;
}

.login-verify-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: rgba(223, 245, 255, 0.95);
}

.login-verify-modal .modal-title-center {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(223, 245, 255, 0.98) !important;
  text-align: left;
}

.login-verify-hint {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: rgba(223, 245, 255, 0.55);
}

.login-verify-captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  margin: 0 0 12px;
  padding: 0 12px;
  border: 1px solid rgba(223, 245, 255, 0.28);
  border-radius: 0;
  background: rgba(223, 245, 255, 0.06);
  box-sizing: border-box;
}

.login-verify-captcha-row:focus-within {
  border-color: rgba(223, 245, 255, 0.7);
  background: rgba(223, 245, 255, 0.1);
}

.login-verify-question {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(223, 245, 255, 0.98);
}

#modal.login-verify-open .login-verify-refresh,
#modal.login-verify-open .login-verify-refresh.btn,
#modal.login-verify-open .login-verify-refresh.btn-captcha-refresh,
.login-verify-refresh {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(223, 245, 255, 0.55);
  cursor: pointer;
  box-shadow: none !important;
  outline: none !important;
  transition: color 0.2s, opacity 0.2s;
}

.login-verify-refresh img {
  width: 1em;
  height: 1em;
  display: block;
  filter: invert(1) brightness(1.4);
  opacity: 0.85;
}

#modal.login-verify-open .login-verify-refresh:hover,
.login-verify-refresh:hover {
  color: rgba(223, 245, 255, 1);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.login-verify-refresh:hover img {
  opacity: 1;
}

.login-verify-input {
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 12px 14px;
  box-sizing: border-box;
  border: 1px solid rgba(223, 245, 255, 0.28);
  border-radius: 0;
  background: rgba(223, 245, 255, 0.06) !important;
  color: rgba(223, 245, 255, 0.98) !important;
  font-family: var(--nt-font, "Roboto", "PingFang SC", "Microsoft YaHei", sans-serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.login-verify-input::placeholder {
  color: rgba(223, 245, 255, 0.45);
  opacity: 1;
  font-weight: 500;
}

.login-verify-input:focus {
  border-color: rgba(223, 245, 255, 0.75);
  background: rgba(223, 245, 255, 0.1) !important;
}

.login-verify-actions {
  display: flex;
  justify-content: stretch;
  margin-top: 18px;
}

.login-verify-confirm,
#modal.login-verify-open .login-verify-confirm.btn,
#modal.login-verify-open .login-verify-confirm.btn-primary {
  width: 100%;
  min-height: 46px;
  border-radius: 0 !important;
  border: 1px solid rgba(223, 245, 255, 0.75) !important;
  background: rgba(223, 245, 255, 0.08) !important;
  color: rgba(223, 245, 255, 0.98) !important;
  font-family: var(--nt-font, "Roboto", "PingFang SC", "Microsoft YaHei", sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  cursor: pointer;
  box-shadow: none !important;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.login-verify-confirm:hover,
#modal.login-verify-open .login-verify-confirm.btn:hover {
  background: rgba(223, 245, 255, 0.16) !important;
}

@media (max-width: 768px) {
  #modal.login-verify-open .modal-content {
    width: min(92vw, 400px) !important;
    max-width: min(92vw, 400px) !important;
    padding: 0 !important;
  }

  .login-verify-modal {
    padding: 24px 18px 20px;
  }

  .login-verify-modal .modal-title-center {
    font-size: 18px;
  }

  .login-verify-hint {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .login-verify-captcha-row,
  .login-verify-input,
  .login-verify-confirm {
    min-height: 48px;
    font-size: 16px; /* 避免 iOS 自动放大 */
  }

  .login-verify-question {
    font-size: 16px;
  }
}
