/* =====================================================
   VIDEOS PAGE — CLOU Project Show Style
   3D Ring Selector · Monochrome · Minimal
   ===================================================== */

/* 全局平滑滚动 */
html {
  scroll-behavior: smooth;
}



/* =====================================================
   ORANGE THEME COLOR PALETTE
   --orange-bg-deep:    #0f0700
   --orange-bg:         #160b00
   --orange-bg-mid:     #1f1000
   --orange-primary:    #ff7a00
   --orange-bright:     #ff9d3a
   --orange-gold:       #ffb347
   --orange-warm-white: #fff8f0
   --orange-text-dim:   rgba(255,200,130,0.x)
   --orange-border:     rgba(255,120,0,0.x)
   ===================================================== */

/* ── Body ── */
.videos-page-body {
  background: #0f0700;
  color: #fff8f0;
}

/* =====================================================
   HERO
   ===================================================== */
.vp-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 140px 40px 90px;
  background: linear-gradient(160deg, #1f0f00 0%, #0f0700 60%, #160900 100%);
}
.vp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.vp-hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
}
.vp-hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse,
    rgba(255,120,0,0.18) 0%,
    rgba(255,80,0,0.08) 35%,
    transparent 70%);
}
/* 科技网格背景 */
.vp-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,120,0,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,120,0,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
}

.vp-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 840px;
}
.vp-hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 4px;
  color: rgba(255,180,80,0.5);
  text-transform: uppercase;
  margin-bottom: 32px;
  font-family: 'Orbitron', monospace;
}
.vp-eyebrow-line {
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(255,120,0,0.3);
}

/* ─── 科技感大标题 ─── */
.vp-brand-title {
  position: relative;
  display: inline-block;
  padding: 28px 52px;
  margin-bottom: 28px;
  border: 1px solid rgba(255,120,0,0.25);
  border-radius: 4px;
  background: rgba(255,90,0,0.06);
  backdrop-filter: blur(4px);
  overflow: hidden;
  cursor: default;
}
/* 扫光动画 */
.vp-brand-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,160,60,0.18) 50%,
    transparent 70%
  );
  background-size: 200% 100%;
  animation: brandShine 3.5s ease-in-out infinite;
}
@keyframes brandShine {
  0%   { background-position: -100% 0; }
  60%  { background-position: 200% 0; }
  100% { background-position: 200% 0; }
}
/* 角落装饰 */
.vp-corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: rgba(255,140,30,0.7);
  border-style: solid;
}
.vp-corner-tl { top: -1px;  left: -1px;  border-width: 1.5px 0 0 1.5px; }
.vp-corner-tr { top: -1px;  right: -1px; border-width: 1.5px 1.5px 0 0; }
.vp-corner-bl { bottom: -1px; left: -1px;  border-width: 0 0 1.5px 1.5px; }
.vp-corner-br { bottom: -1px; right: -1px; border-width: 0 1.5px 1.5px 0; }

/* 主标题文字行 */
.vp-brand-lotus {
  display: block;
  font-family: 'Orbitron', monospace;
  font-size: clamp(34px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #ff9d3a;
  text-shadow:
    0 0 30px rgba(255,120,0,0.5),
    0 0 70px rgba(255,80,0,0.25),
    0 2px 4px rgba(0,0,0,0.4);
  line-height: 1;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
/* 分割线 */
.vp-brand-sep {
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,140,30,0.6), transparent);
  margin: 10px auto 12px;
  position: relative;
  z-index: 1;
}
/* 副行文字 */
.vp-brand-sub-text {
  display: block;
  font-size: clamp(13px, 1.8vw, 18px);
  letter-spacing: 0.35em;
  color: rgba(255,200,120,0.65);
  font-weight: 400;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.vp-hero-sub {
  font-size: 14px;
  color: rgba(255,200,130,0.45);
  margin-bottom: 36px;
  letter-spacing: .5px;
}
/* 快捷标签 */
.vp-hero-quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.vp-quick-tag {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 12px;
  color: rgba(255,190,100,0.55);
  border: 1px solid rgba(255,100,0,0.18);
  transition: all .2s;
  letter-spacing: .5px;
}
.vp-quick-tag:hover,
.vp-quick-tag.active {
  color: #ff9d3a;
  border-color: rgba(255,120,0,0.55);
  background: rgba(255,90,0,0.1);
}
/* 滚动提示 */
.vp-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,160,60,0.3);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  animation: scrollBob 2s ease-in-out infinite;
  z-index: 2;
}
.vp-scroll-hint i { font-size: 12px; }
@keyframes scrollBob {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(5px); }
}

/* =====================================================
   PROJECT SHOW STAGE — CLOU Ring
   ===================================================== */
.ps-stage {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  background: #0f0700;
  overflow: hidden;
  cursor: default;
}

/* Three.js canvas 全铺 */
#psCanvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* ── 自定义光标（已禁用，使用系统光标）── */
.ps-cursor {
  display: none;
}

/* ── Stage 顶部栏（两行：分类 + 搜索） ── */
.ps-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 48px 20px;
  background: linear-gradient(to bottom,
    rgba(12,5,0,0.78) 0%,
    rgba(12,5,0,0.35) 80%,
    transparent 100%);
  backdrop-filter: blur(3px);
}

/* 每行容器 */
.ps-top-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.ps-top-row--search {
  max-width: 660px;
}

/* ── 分类导航 ── */
.ps-cat-nav {
  display: flex;
  gap: 2px;
  background: rgba(18,7,0,0.68);
  border: 1px solid rgba(255,100,0,0.18);
  border-radius: 40px;
  padding: 4px 6px;
  backdrop-filter: blur(14px);
  flex-shrink: 0;
}
.ps-cat-btn {
  padding: 5px 16px;
  border-radius: 30px;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255,185,90,0.42);
  transition: all .22s;
  white-space: nowrap;
}
.ps-cat-btn:hover { color: rgba(255,175,75,0.85); }
.ps-cat-btn.active {
  background: rgba(255,100,0,0.22);
  color: #ffb347;
}

/* ── 搜索框容器 ── */
.ps-search-wrap {
  position: relative;
  width: 100%;
}
.ps-search-toggle { display: none; }

/* 搜索框主体 */
.ps-search-box {
  display: flex;
  align-items: center;
  width: 100%;
  background: rgba(10,4,0,0.72);
  border: 1.5px solid rgba(255,115,0,0.40);
  border-radius: 14px;
  backdrop-filter: blur(28px);
  box-shadow:
    0 0 0 3px rgba(255,80,0,0.06),
    0 2px 20px rgba(255,70,0,0.12),
    0 10px 40px rgba(0,0,0,0.60),
    inset 0 1px 0 rgba(255,150,50,0.07);
  transition: border-color .28s, box-shadow .3s, background .28s;
  overflow: hidden;
  cursor: text;
}
.ps-search-box:focus-within {
  background: rgba(14,6,0,0.82);
  border-color: rgba(255,140,30,0.80);
  box-shadow:
    0 0 0 4px rgba(255,100,0,0.10),
    0 0 40px rgba(255,85,0,0.22),
    0 10px 40px rgba(0,0,0,0.65),
    inset 0 1px 0 rgba(255,160,60,0.10);
}

/* 搜索图标 */
.ps-sbox-icon {
  flex-shrink: 0;
  padding: 0 12px 0 22px;
  color: rgba(255,135,35,0.60);
  font-size: 15px;
  transition: color .22s;
}
.ps-search-box:focus-within .ps-sbox-icon { color: #ff9d3a; }

/* 输入框 */
.ps-sbox-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff8f0;
  font-size: 15px;
  font-weight: 400;
  padding: 16px 0;
  min-width: 0;
  letter-spacing: .15px;
}
.ps-sbox-input::placeholder {
  color: rgba(255,170,75,0.35);
  font-weight: 300;
}

/* 搜索提交按钮 */
.ps-sbox-submit {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  border-radius: 10px;
  background: rgba(255, 100, 0, 0.14);
  border: 1px solid rgba(255, 120, 0, 0.28);
  color: rgba(255, 155, 55, 0.55);
  font-size: 13px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.ps-sbox-submit:hover {
  background: rgba(255, 100, 0, 0.30);
  border-color: rgba(255, 140, 0, 0.55);
  color: #ffb347;
  transform: scale(1.08);
}
.ps-sbox-submit:active {
  transform: scale(0.95);
}
.ps-search-box:focus-within .ps-sbox-submit {
  color: #ff9d3a;
  border-color: rgba(255, 140, 0, 0.45);
}



/* 清除按钮 */
.ps-sbox-clear {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,145,45,0.45);
  font-size: 12px;
  margin-right: 8px;
  border-radius: 8px;
  transition: all .2s;
  cursor: pointer;
}
.ps-sbox-clear:hover { color: #ffb347; background: rgba(255,75,0,0.14); }

/* 激活态（兼容 JS open class） */
.ps-search-wrap.open .ps-search-box {
  background: rgba(14,6,0,0.82);
  border-color: rgba(255,140,30,0.80);
  box-shadow:
    0 0 0 4px rgba(255,100,0,0.10),
    0 0 40px rgba(255,85,0,0.22),
    0 10px 40px rgba(0,0,0,0.65),
    inset 0 1px 0 rgba(255,160,60,0.10);
}
/* 搜索结果提示浮层 */
.ps-search-hint {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(20,8,0,0.97);
  border: 1px solid rgba(255,100,0,0.2);
  border-radius: 12px;
  backdrop-filter: blur(16px);
  padding: 10px 16px;
  font-size: 12px;
  color: rgba(255,180,80,0.6);
  white-space: nowrap;
  letter-spacing: .3px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: all .2s;
  z-index: 20;
}
.ps-search-hint.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 中心信息叠加 ── */
.ps-center-info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  z-index: 5;
  width: 320px;
}
.ps-center-eyebrow {
  font-size: 9px;
  letter-spacing: 4px;
  color: rgba(255,180,80,0.4);
  text-transform: uppercase;
  margin-bottom: 12px;
  transition: opacity .4s;
}
.ps-center-title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  color: #fff8f0;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  transition: opacity .4s;
}
.ps-center-sub {
  font-size: 12px;
  color: rgba(255,200,120,0.4);
  letter-spacing: .5px;
  transition: opacity .4s;
}
.ps-center-play {
  pointer-events: all;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 10px 22px;
  background: linear-gradient(135deg, #ff7a00 0%, #ff5500 100%);
  color: #fff;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all .25s;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255,80,0,0.35);
}
.ps-center-play:hover {
  background: linear-gradient(135deg, #ff9d3a 0%, #ff6a00 100%);
  transform: scale(1.04);
  box-shadow: 0 6px 28px rgba(255,100,0,0.5);
}
.ps-play-icon {
  width: 24px; height: 24px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: #fff;
}

/* ── 底部信息条 ── */
.ps-info-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  background: linear-gradient(to top, rgba(15,7,0,0.97) 0%, transparent 100%);
  z-index: 10;
}
.ps-info-company {
  font-size: 13px;
  color: rgba(255,200,120,0.7);
  font-weight: 500;
  margin-bottom: 4px;
  min-height: 18px;
  transition: opacity .3s;
}
.ps-info-meta {
  font-size: 11px;
  color: rgba(255,180,80,0.35);
  letter-spacing: .5px;
  min-height: 16px;
  transition: opacity .3s;
}
.ps-nav-btn {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,100,0,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,170,70,0.5);
  font-size: 13px;
  transition: all .25s;
  cursor: pointer;
}
.ps-nav-btn:hover {
  border-color: rgba(255,130,0,0.6);
  color: #ffb347;
  background: rgba(255,80,0,0.1);
}
.ps-info-right {
  display: flex;
  gap: 10px;
}

/* ── 计数器 ── */
.ps-count-line {
  position: absolute;
  top: 50%;
  right: 36px;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
#psCurrentNum {
  font-size: 28px;
  font-weight: 700;
  color: #ffb347;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.ps-count-sep {
  display: block;
  width: 1px;
  height: 30px;
  background: rgba(255,120,0,0.2);
}
#psTotalNum {
  font-size: 14px;
  color: rgba(255,180,80,0.35);
  font-variant-numeric: tabular-nums;
}

/* ── 进度点 ── */
.ps-dots {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 6px;
}
.ps-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,130,0,0.25);
  transition: all .3s;
  cursor: pointer;
}
.ps-dot.active {
  background: #ff7a00;
  transform: scale(1.4);
}

/* ── 拖动提示 ── */
.ps-drag-hint {
  position: absolute;
  bottom: 88px;
  left: 48px;
  z-index: 10;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: rgba(255,160,60,0.28);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity .5s;
}
.ps-drag-hint.hidden { opacity: 0; }

/* =====================================================
   VIDEO MODAL
   ===================================================== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.video-modal.active {
  opacity: 1;
  pointer-events: all;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,4,0,0.92);
  backdrop-filter: blur(10px);
}
.vp-modal-content {
  position: relative;
  z-index: 2;
  background: #1a0d00;
  border: 1px solid rgba(255,100,0,0.15);
  border-radius: 16px;
  width: 90%;
  max-width: 960px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 60px rgba(255,80,0,0.06);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,180,80,0.45);
  font-size: 14px;
  z-index: 10;
  transition: all .2s;
  background: rgba(255,60,0,0.08);
}
.modal-close:hover {
  color: #ffb347;
  background: rgba(255,80,0,0.15);
}
.vp-modal-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  height: 100%;
  max-height: 90vh;
  overflow: hidden;
}
.vp-modal-video-col {
  display: flex;
  flex-direction: column;
  background: #000;
}
.vp-modal-video-wrap {
  flex: 1;
  position: relative;
  background: #000;
}
.vp-modal-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 65vh;
}
.vp-modal-actions {
  display: flex;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid rgba(255,100,0,0.1);
}
.vp-modal-dl-btn,
.vp-modal-share-btn {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all .2s;
  letter-spacing: .5px;
}
.vp-modal-dl-btn {
  background: linear-gradient(135deg, #ff7a00 0%, #ff4f00 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(255,80,0,0.3);
}
.vp-modal-dl-btn:hover {
  background: linear-gradient(135deg, #ff9d3a 0%, #ff6a00 100%);
  box-shadow: 0 4px 18px rgba(255,100,0,0.45);
}
.vp-modal-share-btn {
  border: 1px solid rgba(255,100,0,0.2);
  color: rgba(255,190,100,0.65);
}
.vp-modal-share-btn:hover {
  border-color: rgba(255,130,0,0.5);
  color: #ffb347;
  background: rgba(255,80,0,0.08);
}
.vp-modal-info-col {
  padding: 32px 28px;
  overflow-y: auto;
  border-left: 1px solid rgba(255,100,0,0.1);
}
.vp-modal-badges { margin-bottom: 12px; }
.modal-cat {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255,120,0,0.3);
  color: rgba(255,180,80,0.65);
}
.vp-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff8f0;
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: -.3px;
}
.vp-modal-student {
  font-size: 13px;
  color: rgba(255,200,120,0.5);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.modal-extra-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.vc-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255,80,0,0.07);
  color: rgba(255,190,100,0.5);
  border: 1px solid rgba(255,100,0,0.12);
}
.vp-modal-desc {
  font-size: 13px;
  color: rgba(255,200,130,0.42);
  line-height: 1.7;
  margin-bottom: 20px;
}
.vp-modal-stats {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,100,0,0.1);
}
.vp-modal-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 14px;
  color: #ffb347;
  font-weight: 600;
}
.vp-modal-stat i {
  font-size: 11px;
  color: rgba(255,160,60,0.4);
}
.vp-modal-stat small {
  font-size: 10px;
  color: rgba(255,180,80,0.3);
  font-weight: 400;
  letter-spacing: .5px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: #0f0700;
  border-top: 1px solid rgba(255,100,0,0.1);
  padding: 28px 40px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255,180,80,0.25);
  font-size: 12px;
  letter-spacing: .5px;
}
.footer-admin-link {
  color: rgba(255,180,80,0.25);
  transition: color .2s;
  font-size: 11px;
}
.footer-admin-link:hover { color: rgba(255,160,60,0.7); }

/* =====================================================
   TOAST
   ===================================================== */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(255,80,0,0.12);
  color: #ffb347;
  border: 1px solid rgba(255,120,0,0.25);
  backdrop-filter: blur(12px);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 13px;
  letter-spacing: .5px;
  opacity: 0;
  transition: all .3s;
  z-index: 9998;
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
  .ps-count-line { display: none; }
  .ps-top-bar { padding: 12px 16px 14px; gap: 8px; }
  .ps-top-row--search { max-width: 100%; }
  .ps-cat-nav { gap: 1px; padding: 3px 5px; }
  .ps-cat-btn { padding: 5px 10px; font-size: 9px; letter-spacing: 1.5px; }
  .ps-sbox-input { font-size: 14px; padding: 13px 0; }
  .ps-sbox-kbd { display: none; }
  .ps-center-title { font-size: 20px; }
  .vp-brand-title { padding: 20px 28px; }
  .vp-brand-lotus { font-size: clamp(28px, 8vw, 48px); }
  .vp-modal-layout { grid-template-columns: 1fr; }
  .vp-modal-info-col { border-left: none; border-top: 1px solid rgba(255,100,0,0.1); }
  .ps-info-bar { padding: 18px 24px; }
}

/* =====================================================
   返回顶部按钮
   ===================================================== */
.vp-back-top {
  position: fixed;
  right: 36px;
  bottom: 40px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a00 0%, #ff5500 100%);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255,80,0,0.45), 0 0 0 0 rgba(255,100,0,0.3);
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px) scale(0.85);
  transition: opacity .3s, transform .3s, box-shadow .25s;
  pointer-events: none;
}
.vp-back-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.vp-back-top:hover {
  background: linear-gradient(135deg, #ff9d3a 0%, #ff6a00 100%);
  box-shadow: 0 6px 28px rgba(255,100,0,0.6), 0 0 0 6px rgba(255,100,0,0.12);
  transform: translateY(-2px) scale(1.06);
}
.vp-back-top:active {
  transform: scale(0.95);
}

/* =====================================================
   搜索框 — 空白提示（抖动 + 气泡）
   ===================================================== */
@keyframes psSearchShake {
  0%, 100% { transform: translateX(0); }
  15%       { transform: translateX(-7px); }
  35%       { transform: translateX(7px); }
  55%       { transform: translateX(-5px); }
  75%       { transform: translateX(5px); }
  90%       { transform: translateX(-2px); }
}
/* 加在 .ps-search-box 上 */
.ps-search-shake {
  animation: psSearchShake 0.45s ease;
  border-color: rgba(239, 68, 68, 0.75) !important;
  box-shadow:
    0 0 0 4px rgba(239, 68, 68, 0.18) !important;
}

/* 空白提示气泡 */
.ps-search-empty-tip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(20, 10, 5, 0.95);
  color: #fca5a5;
  font-size: 12px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 6px;
  border: 1px solid rgba(239, 68, 68, 0.45);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 200;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.ps-search-empty-tip::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: rgba(239, 68, 68, 0.45);
}
.ps-search-empty-tip.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
