
[hidden] { display: none !important; }
/* 全景盒子 · 站点基础与作品列表 */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: #06080d;
  color: #eef2fa;
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.player-body { height: 100%; overflow: hidden; }
.player-body #player, .pano-root { height: 100vh; height: 100dvh; }

/* ---------------- 作品列表 ---------------- */
.gallery-body { min-height: 100%; overflow-x: hidden; }
.gallery-body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(760px 420px at 12% -8%, rgba(91, 157, 255, .18), transparent 70%),
    radial-gradient(680px 400px at 88% 4%, rgba(160, 107, 255, .14), transparent 72%);
}
.gal-hero {
  position: relative; z-index: 1;
  padding: 30px clamp(20px, 5vw, 64px) 30px;
  max-width: 1440px; margin: 0 auto;
}
.gal-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gal-logo { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 650; letter-spacing: .4px; }
.gal-logo svg { width: 30px; height: 30px; }
.gal-nav-right { display: flex; align-items: center; gap: 10px; }
.gal-lobby {
  font-size: 13px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .1); color: rgba(238, 242, 250, .6);
  transition: background .18s, color .18s, border-color .18s;
}
.gal-lobby:hover { background: rgba(255, 255, 255, .07); color: #fff; border-color: rgba(255, 255, 255, .26); }
.gal-admin {
  font-size: 13px; padding: 8px 15px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14); color: rgba(238, 242, 250, .72);
  transition: background .18s, color .18s, border-color .18s;
}
.gal-admin:hover { background: rgba(255, 255, 255, .07); color: #fff; border-color: rgba(255, 255, 255, .28); }
.gal-hero h1 {
  margin: clamp(38px, 7vw, 76px) 0 12px;
  font-size: clamp(30px, 4.6vw, 52px); line-height: 1.15; font-weight: 700; letter-spacing: -.5px;
  background: linear-gradient(100deg, #ffffff 10%, #a9c8ff 55%, #c9a7ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gal-hero p { margin: 0; color: rgba(226, 234, 250, .55); font-size: clamp(13px, 1.2vw, 15px); letter-spacing: .3px; }

.gal-grid {
  position: relative; z-index: 1;
  max-width: 1440px; margin: 0 auto; padding: 26px clamp(20px, 5vw, 64px) 40px;
  min-height: 46vh; align-content: start;
  display: grid; gap: clamp(14px, 1.8vw, 24px);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.gal-card {
  position: relative; border-radius: 18px; overflow: hidden;
  background: #0d1119; border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .35s cubic-bezier(.2, .8, .3, 1), border-color .3s, box-shadow .35s;
  aspect-ratio: 16 / 10;
}
.gal-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .3, 1); opacity: .92; }
.gal-card:hover { transform: translateY(-4px); border-color: rgba(120, 170, 255, .45); box-shadow: 0 22px 50px -18px rgba(0, 0, 0, .8); }
.gal-card:hover img { transform: scale(1.05); opacity: 1; }
.gal-info {
  position: absolute; inset: auto 0 0 0; padding: 46px 16px 14px;
  background: linear-gradient(0deg, rgba(4, 6, 10, .92) 12%, rgba(4, 6, 10, .55) 55%, transparent 100%);
}
.gal-info h3 { margin: 0; font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.gal-info .meta { margin-top: 5px; display: flex; gap: 12px; font-size: 11.5px; color: rgba(226, 234, 250, .5); }
.gal-badge {
  position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px;
  font-size: 11px; letter-spacing: .3px; background: rgba(6, 9, 14, .62);
  border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px);
  display: flex; align-items: center; gap: 5px;
}
.gal-badge svg { width: 13px; height: 13px; opacity: .8; }

.gal-empty { text-align: center; padding: 60px 20px 80px; color: rgba(226, 234, 250, .5); }
.gal-foot {
  text-align: center; padding: 26px 20px 46px; font-size: 12px;
  color: rgba(226, 234, 250, .28); letter-spacing: .6px;
}

/* ---------------- 通用按钮 / 提示页 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 20px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06); color: #eef2fa; cursor: pointer;
  font-size: 13.5px; transition: background .18s, border-color .18s, transform .1s;
}
.btn:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.btn:active { transform: scale(.985); }
.btn.primary { background: linear-gradient(135deg, #5b9dff, #7a6bff); border-color: transparent; color: #fff; }
.btn.primary:hover { filter: brightness(1.08); }

.msg-body { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.msg-wrap { width: 100%; display: grid; place-items: center; }
.msg-card {
  width: min(420px, 100%); text-align: center; padding: 42px 30px;
  border-radius: 20px; background: rgba(15, 19, 28, .8);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9);
}
.msg-code { font-size: 44px; font-weight: 700; letter-spacing: 2px; color: rgba(120, 170, 255, .55); }
.msg-icon { font-size: 32px; margin-bottom: 6px; }
.msg-card h1 { font-size: 19px; margin: 12px 0 8px; font-weight: 620; }
.msg-card p { color: rgba(226, 234, 250, .55); font-size: 13.5px; line-height: 1.7; margin: 0 0 22px; }
.lockform { display: grid; gap: 10px; }
.lockform input {
  width: 100%; padding: 12px 14px; border-radius: 10px; font-size: 14px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14);
  color: #eef2fa; outline: none;
}
.lockform input:focus { border-color: rgba(91, 157, 255, .7); }
.lockerr { min-height: 18px; font-size: 12.5px; color: #ff8f8f; }

.player-body.embed .pl-top { display: none; }
