/* 虚拟册子公开区 · 入口层（顶栏 / 验证弹框 / 提示条）2026-11-03 */

.dj-top {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  padding: 22px 26px 4px;
}
.dj-top h1 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: 3px; }
.dj-top .dj-count { font-size: 13px; opacity: .55; }
.dj-top .dj-spacer { flex: 1; }

.dj-who {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  opacity: .85;
}
.dj-who b { font-weight: 600; }
.dj-link {
  background: none;
  border: 1px solid rgba(232, 226, 214, .35);
  color: inherit;
  font: inherit;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.dj-link:hover { background: rgba(232, 226, 214, .12); border-color: rgba(232, 226, 214, .6); }

.dj-note {
  margin: 6px 26px 0;
  padding: 10px 14px;
  border-left: 3px solid rgba(232, 226, 214, .35);
  background: rgba(255, 255, 255, .04);
  font-size: 13px;
  line-height: 1.6;
  opacity: .85;
  display: none;
}
.dj-note.show { display: block; }
.dj-note.err { border-left-color: #c8695f; }

/* ------------------------------------------------------------ 验证弹框 */

.ss-auth-mask {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 9, 7, .72);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.ss-auth-mask.show { display: flex; }

.ss-auth-box {
  width: 100%;
  max-width: 420px;
  background: #1d1a16;
  border: 1px solid rgba(232, 226, 214, .18);
  border-radius: 10px;
  padding: 24px 24px 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  color: #e8e2d6;
}
.ss-auth-title { font-size: 17px; letter-spacing: 2px; margin-bottom: 10px; }
.ss-auth-desc { font-size: 13px; line-height: 1.7; opacity: .75; margin-bottom: 14px; }

.ss-auth-input {
  width: 100%;
  padding: 11px 12px;
  font-size: 14px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  color: #f2ecdf;
  background: #14120f;
  border: 1px solid rgba(232, 226, 214, .25);
  border-radius: 6px;
  outline: none;
  -webkit-user-select: text;
  user-select: text;
}
.ss-auth-input:focus { border-color: rgba(232, 226, 214, .6); }

.ss-auth-hint { font-size: 11.5px; opacity: .5; line-height: 1.6; margin-top: 8px; }
.ss-auth-hint b { font-weight: 600; opacity: .8; }

.ss-auth-status { min-height: 18px; font-size: 12px; opacity: .7; margin-top: 10px; }
.ss-auth-status.err { color: #e08d84; opacity: 1; }

.ss-auth-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}
.ss-auth-actions button {
  font: inherit;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid rgba(232, 226, 214, .25);
  background: transparent;
  color: inherit;
  transition: background .2s;
}
.ss-auth-actions button:hover { background: rgba(232, 226, 214, .1); }
.ss-auth-ok { background: #e8e2d6 !important; color: #1a1712 !important; border-color: #e8e2d6 !important; }
.ss-auth-ok:hover { background: #fffaf0 !important; }
.ss-auth-ok:disabled { opacity: .55; cursor: default; }

.dj-locked {
  margin: 30px 26px;
  padding: 18px 20px;
  border: 1px dashed rgba(232, 226, 214, .3);
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.8;
  opacity: .8;
  display: none;
}
.dj-locked.show { display: block; }

/* 观看页加载提示 */
#dj-loading {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  background: #14120f;
  color: #e8e2d6;
  font-size: 14px;
  letter-spacing: 1px;
}
#dj-loading.fatal { color: #e08d84; }

/* 弹框里的说明链接 */
.ss-auth-hint a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ss-auth-hint a:hover { opacity: .9; }
