/* 登录页 */

.auth {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 28px 18px;
}

.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 424px;
  padding: 30px 30px 26px;
  background: linear-gradient(160deg, rgba(24, 36, 64, 0.88), rgba(10, 16, 32, 0.94));
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  animation: cardIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 22px;
}
.brand-mark {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  color: #06121a;
  font-size: 21px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(52, 216, 234, 0.28);
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand h1 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(96deg, #ffffff, var(--cyan) 55%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-sub {
  margin: 1px 0 0;
  font-size: 11.5px;
  color: var(--text-mute);
  letter-spacing: 0.6px;
}

/* Tab */
.tabs {
  position: relative;
  display: flex;
  gap: 2px;
  margin-bottom: 22px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(6, 10, 20, 0.6);
}
.tab {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 8px 4px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
}
.tab.active { color: #06121a; }
.tab-ink {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  border-radius: 8px;
  background: linear-gradient(120deg, var(--cyan), #7fd8ff 50%, var(--pink));
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.pane { display: none; animation: paneIn 0.28s ease both; }
.pane.active { display: block; }
@keyframes paneIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 12.5px;
}
.linkish {
  color: var(--text-dim);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: 12.5px;
}
.linkish:hover { color: var(--cyan); text-decoration: underline; }

.lab-note {
  margin-left: 7px;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-mute);
  letter-spacing: 0;
}

.hint-line {
  margin: 12px 0 0;
  font-size: 11.5px;
  color: var(--text-mute);
  line-height: 1.6;
}
/* 空的时候不占位，JS 写入内容后才出现 */
.hint-line:empty { display: none; }

.foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 11.5px;
  color: var(--text-mute);
}

/* 封禁 / 到期 告示 */
.block-card {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 92, 122, 0.45);
  background: linear-gradient(150deg, rgba(255, 92, 122, 0.14), rgba(255, 92, 122, 0.05));
}
.block-card.expired {
  border-color: rgba(255, 180, 84, 0.45);
  background: linear-gradient(150deg, rgba(255, 180, 84, 0.14), rgba(255, 180, 84, 0.05));
}
.block-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #ffd9e2;
}
.block-card.expired h3 { color: #ffe6bd; }
.block-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 12px;
  font-size: 12.5px;
}
.block-card dt { color: var(--text-mute); }
.block-card dd { margin: 0; color: var(--text); word-break: break-all; }
.block-card .cta { margin-top: 11px; }
