/* ============================================================
   Campus photo wall — standalone page
   ============================================================ */
[hidden] { display: none !important; }
:root {
  --ph-ink: #2f2748;
  --ph-soft: #6e6384;
  --ph-muted: #9b8da9;
  --ph-gutter: 14px;
  --ph-font: "Segoe UI Variable Display", "Manrope", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: #fff8fc !important; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  padding-bottom: calc(78px + env(safe-area-inset-bottom));
  color: var(--ph-ink);
  background:
    radial-gradient(circle at 8% -6%, rgba(255, 177, 211, .5), transparent 24rem),
    radial-gradient(circle at 96% 1%, rgba(184, 218, 255, .62), transparent 26rem),
    radial-gradient(circle at 50% 109%, rgba(226, 211, 255, .5), transparent 30rem),
    linear-gradient(180deg, #fff9fd 0%, #fbfbff 52%, #fff8f2 100%);
  font-family: var(--ph-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, textarea { font: inherit; }
img { max-width: 100%; }
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 58px; padding: 0 max(var(--ph-gutter), env(safe-area-inset-left)) 0 max(var(--ph-gutter), env(safe-area-inset-right));
  background: rgba(255, 250, 253, .86);
  border-bottom: 1px solid rgba(104, 80, 132, .12);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand img { width: 32px; height: 32px; flex: none; object-fit: contain; }
.brand span { display: flex; flex-direction: column; min-width: 0; color: #3b2a50; font-size: 10.5px; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; }
.brand small { margin-top: 1px; color: #9a83a9; font-size: 6px; font-weight: 600; letter-spacing: .14em; }
.page-tag { flex: none; padding: 4px 8px; color: #8e4e82; background: #fff2f9; border: 1px solid #f0d3e4; border-radius: 999px; font-size: 6.5px; font-weight: 700; }
.personal-bar { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 7px 12px; color: #7a688c; background: rgba(255,255,255,.5); border-bottom: 1px solid rgba(126,101,166,.1); font-size: 7px; line-height: 1.5; text-align: center; }
.personal-bar strong { color: #a84e88; font-weight: 600; }
.photos-shell { width: min(100%, 760px); margin: 0 auto; padding: 14px var(--ph-gutter) 20px; }
.photos-hero { position: relative; overflow: hidden; padding: 18px 16px; background: linear-gradient(135deg,#ffe1ee,#e9e4ff 54%,#dcf1ff); border: 1px solid #fff; border-radius: 21px; box-shadow: 0 14px 34px rgba(107,78,137,.1); }
.photos-hero::after { content: "✦"; position: absolute; right: 18px; top: 12px; color: #fff; font-size: 20px; }
.photos-kicker { margin: 0; color: #a35b8b; font-size: 6px; font-weight: 800; letter-spacing: .18em; }
.photos-hero h1 { margin: 4px 0 0; color: #3b2a50; font-size: 28px; font-weight: 900; letter-spacing: -.055em; line-height: 1.1; }
.photos-hero p { margin: 5px 0 0; color: #796787; font-size: 8px; line-height: 1.7; }
.photos-tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 10px 0 7px; }
.photos-count { color: #9a83a6; font-size: 7px; }
.photos-actions { display: flex; gap: 5px; }
.photos-actions button { min-height: 30px; padding: 4px 10px; color: #8b5a89; background: rgba(255,255,255,.72); border: 1px solid #efd8e7; border-radius: 999px; font-size: 7px; font-weight: 600; cursor: pointer; }
.photos-actions .primary { color: #fff; background: linear-gradient(135deg,#ff87bf,#a57fff); border-color: transparent; box-shadow: 0 6px 16px rgba(174,104,214,.22); }
.photos-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.photo-card { position: relative; overflow: hidden; background: rgba(255,255,255,.8); border: 1px solid #fff; border-radius: 14px; box-shadow: 0 8px 22px rgba(100,73,132,.08); }
.photo-image { display: block; width: 100%; aspect-ratio: 1; padding: 0; overflow: hidden; background: #f7e9f3; border: 0; cursor: pointer; }
.photo-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.photo-image:hover img { transform: scale(1.045); }
.photo-info { padding: 7px; }
.photo-author { display: flex; align-items: center; gap: 5px; min-width: 0; }
.photo-author img { width: 20px; height: 20px; flex: none; border-radius: 50%; object-fit: cover; border: 1.5px solid #fff; }
.photo-author strong { min-width: 0; color: #4a335d; font-size: 7px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.photo-caption { margin: 5px 0 0; color: #7e6d8b; font-size: 7px; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.photo-bottom { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-top: 5px; }
.photo-time { color: #a18da8; font-size: 5.5px; }
.photo-follow { flex: none; padding: 4px 7px; color: #8a4e82; background: #fff2f9; border: 1px solid #f0d4e5; border-radius: 999px; font-size: 6px; font-weight: 700; cursor: pointer; }
.photos-empty { padding: 40px 16px; color: #95829f; background: rgba(255,255,255,.55); border: 1px dashed #ead6e5; border-radius: 16px; text-align: center; font-size: 8.5px; line-height: 1.9; }
.photos-empty strong { display: block; margin-bottom: 3px; color: #4d395f; font-size: 14px; font-weight: 800; }
.photo-lightbox { position: fixed; inset: 0; z-index: 13000; display: grid; place-items: center; padding: 18px; background: rgba(45,28,58,.75); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.photo-lightbox img { max-width: 100%; max-height: 76vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.photo-lightbox p { max-width: 90vw; margin: 10px 0 0; color: #fff; font-size: 9px; text-align: center; line-height: 1.6; }
.photo-lightbox button { position: absolute; top: 20px; right: 16px; width: 34px; height: 34px; color: #fff; background: rgba(255,255,255,.14); border: 0; border-radius: 50%; font-size: 21px; cursor: pointer; }
.app-dock { position: fixed; left: 50%; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 80; transform: translateX(-50%); display: grid; grid-template-columns: repeat(6, 1fr); width: min(calc(100% - 18px), 480px); padding: 5px; background: rgba(255,251,253,.9); border: 1px solid rgba(255,255,255,.96); border-radius: 18px; box-shadow: 0 12px 32px rgba(103,76,136,.18); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.app-dock-link { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 40px; padding: 4px 1px 3px; color: #927f9f; border-radius: 11px; font-size: 6.8px; line-height: 1.15; }
.app-dock-link .icon { width: 13px; height: 13px; }
.app-dock-link.is-active { color: #4d2f62; background: linear-gradient(135deg,#ffe0ef,#eae1ff); font-weight: 700; }
.app-dock-link.is-active::after { content: ""; position: absolute; top: 3px; left: 50%; width: 3px; height: 3px; transform: translateX(-50%); border-radius: 50%; background: #b84f8a; }
@media (max-width: 380px) {
  .photos-shell { padding: 11px 10px 18px; }
  .photos-hero h1 { font-size: 25px; }
  .photos-grid { gap: 5px; }
  .photo-info { padding: 5px; }
  .app-dock { width: calc(100% - 12px); }
  .app-dock-link { font-size: 6.3px; }
}
