:root{
  --bg: #05070c;
  --text: #eef2ff;
  --muted: rgba(238,242,255,.72);
  --line: rgba(255,255,255,.12);
  --shadow: 0 20px 70px rgba(0,0,0,.55);
  --accent: #7b76ff;
}

*{ box-sizing: border-box; }
html{
  height:100%;
  background: transparent;
  /* 预留滚动条占位，避免有无滚动条时导航品牌左右错位 */
  scrollbar-gutter: stable;
}
html,body{ height:100%; background: transparent; }

body{
  margin:0;
  font-family: "Arial Black", Impact, system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,"PingFang SC","Microsoft YaHei",sans-serif;
  background: linear-gradient(rgba(5, 7, 12, 0.75), rgba(5, 7, 12, 0.75)), 
              url("./assets/blue-sky.jpg") no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text);
}

/* =====================
   VIDEO CONTROLS (Common)
   ===================== */
.video-container {
  position: relative;
  overflow: hidden;
  display: flex;
}

.video-container video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 移除复杂的绝对定位，改用更稳定的填充方式 */
}

.video-play-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
  opacity: 0.6;
  font-size: 14px;
}

.video-play-btn:hover {
  opacity: 1;
  transform: scale(1.1);
  background: rgba(123, 118, 255, 0.6);
}

.video-play-btn .play-icon { display: none; margin-left: 2px; }
.video-play-btn .pause-icon { display: block; }

.video-container.paused .video-play-btn .play-icon { display: block; }
.video-container.paused .video-play-btn .pause-icon { display: none; }

/* =====================
   NAVIGATION
   ===================== */
.main-nav{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 7, 12, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner{
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand{
  flex-shrink: 0;
  white-space: nowrap;
  line-height: 1;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 2px;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(90deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu{
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
}

.nav-link{
  display: block;
  padding: 10px 18px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 8px;
  transition: all 200ms ease;
}

.nav-link:hover,
.nav-link.active{
  color: #fff;
  background: rgba(123, 118, 255, 0.15);
}

/* Dropdown Menu */
.nav-dropdown{
  position: relative;
}

.dropdown-menu{
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  margin-top: 8px;
  padding: 8px 0;
  background: rgba(10, 12, 20, 0.98);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 200ms ease;
}

.nav-dropdown:hover .dropdown-menu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link{
  display: block;
  padding: 12px 20px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 150ms ease;
}

.dropdown-link:hover{
  color: #fff;
  background: rgba(123, 118, 255, 0.15);
}

/* Mobile Toggle */
.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span{
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 200ms ease;
}

/* ===== 动画（必须存在，否则“漂浮感”会消失） ===== */
@keyframes floatSoft{
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* =====================
   HERO
   ===================== */
.hero{
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.hero-inner{
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 18px 0 64px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  position: relative;
}

/* 顶部标题（更像海报/更艺术的紧凑感） */
.brand-title{
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 8px;
  color: #fff;
  opacity: .95;
  margin: 0 0 18px;
  position: relative;
}

/* 上方细线 + 分割感 */
.brand-title::after{
  content:"";
  display:block;
  margin-top:14px;
  height:1px;
  width:100%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(155,140,255,.65), rgba(255,255,255,0));
}

.hero-title{
  margin: 0;
  font-size: clamp(46px, 6.2vw, 92px);
  line-height: .9;
  font-weight: 950;
  letter-spacing: -0.5px;
  text-shadow: 0 10px 40px rgba(0,0,0,.55);
}

/* PC 端布局隔离 (仅在 981px 以上生效) */
  @media (min-width: 981px) {
    .hero-collage{
      position: relative;
      height: 780px;
    }

    .hero-collage img,
    .hero-collage .video-container {
      object-fit: cover;
      border: 2px solid rgba(255,255,255,.10);
      box-shadow: 0 25px 80px rgba(0,0,0,.60);
      will-change: transform;
      animation: floatSoft 6.8s ease-in-out infinite;
      transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease;
    }

    .hero-collage img:hover,
    .hero-collage .video-container:hover {
      animation-play-state: paused;
      transform: scale(1.045);
      filter: saturate(1.06) contrast(1.03);
      box-shadow: 0 28px 90px rgba(0,0,0,.68);
    }

    /* 视频容器在 PC 端的定位（继承自原 circle-video） */
    .hero-collage .video-container {
      position: absolute;
      right: -200px;
      top: 118px;
      width: 460px;
      aspect-ratio: 1/1;
      border-radius: 50%;
      z-index: 4;
      animation-delay: .55s;
    }

    .hero-collage .video-container video {
      border-radius: 50%;
    }

    /* 左下横图（天空） */
    .hero-collage .banner{
      position: absolute;
      left: -550px;
      bottom: 0;
      width: 115%;
      max-width: 900px;
      aspect-ratio: 16/9;
      border-radius: 12px;
      z-index: 1;
      animation-delay: .15s;
    }

    /* 小圆头像：靠左标题旁 + 更大 */
    .hero-collage .avatar{
      position: absolute;
      left: -50px;
      top: 42px;
      width: 210px;
      aspect-ratio: 1/1;
      border-radius: 50%;
      z-index: 3;
      animation-delay: .35s;
    }
  }

/* =====================
   INTRO
   ===================== */
.intro{
  background: transparent;
  border-top: 1px solid var(--line);
  padding: 60px 0;
}

.intro-inner{
  width: min(1180px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 28px;
  align-items: center;
}

.intro-title{
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  letter-spacing: -0.3px;
}

.intro-title span{ opacity: .95; }

.intro-sub{
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
}

.intro-text{
  margin: 0;
  color: rgba(238,242,255,.84);
  line-height: 2;
  font-size: 15px;
}

.intro-right{
  position: relative;
  min-height: 420px;
}

.tile{
  position: absolute;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,.10);
  box-shadow: 0 25px 80px rgba(0,0,0,.60);
  will-change: transform;

  /* 漂浮 */
  animation: floatSoft 6.8s ease-in-out infinite;

  /* hover 统一 */
  transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease;
}

.tile:hover{
  animation-play-state: paused;
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.03);
  box-shadow: 0 28px 90px rgba(0,0,0,.68);
}

/* 三张图错开节奏（更自然） */
.tile.big{
  width: 80%;
  height: 80%;
  right: 0;
  top: 0;
  animation-delay: .25s;
}

.tile.small{
  width: 50%;
  height:60%;
  left: -20%;
  bottom: 0;
  opacity: .92;
  animation-delay: .55s;
}

/* =====================
   FOLLOW
   ===================== */
.follow{
  padding: 70px 0 80px;
  background: linear-gradient(90deg, #e7e8ff 0%, #b8b4ff 45%, #7b76ff 100%);
  color: #12131a;
}

.follow-inner{
  width: min(980px, 92vw);
  margin: 0 auto;
  text-align: center;
}

.follow-title{
  margin: 0 0 30px;
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: 2px;
  font-weight: 900;
}

.follow-links{
  display: flex;
  justify-content: center;
  gap: 46px;
  flex-wrap: wrap;
}

.social{
  width: 150px;
  display: grid;
  place-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: transform 180ms ease;
}

.social:hover{ transform: translateY(-3px); }

.social img{
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.25));
}

.social span{
  font-size: 14px;
  opacity: .85;
}

.follow-note{
  margin: 24px 0 0;
  font-size: 12px;
  opacity: .7;
}

/* =====================
   FOOTER
   ===================== */
.footer{
  padding: 18px 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
  gap: 18px;
  color: rgba(238,242,255,.6);
  font-size: 12px;
  background: transparent;
}

.footer a{
  color: rgba(238,242,255,.75);
  text-decoration: none;
}

.footer a:hover{ text-decoration: underline; }

/* =====================
   右下角二维码悬浮图
   默认收起，滚动到页面底部（footer 进入视口）时浮现
   ===================== */
.corner-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  width: 170px;
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid rgba(0,0,0,.75);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);

  opacity: 0;
  transform: translateY(28px) scale(.9);
  pointer-events: none;
  transition: opacity .45s cubic-bezier(.22,.9,.35,1),
              transform .45s cubic-bezier(.22,.9,.35,1);
}

.corner-float.visible{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  animation: cornerBob 4.5s ease-in-out .45s infinite;
}

@keyframes cornerBob{
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-8px) scale(1); }
}

.corner-float img{
  display:block;
  width:100%;
  height:auto;
}

/* =====================
   Responsive
   ===================== */
@media (max-width: 980px){
  .hero-inner, .intro-inner{ grid-template-columns: 1fr; }

  .hero-collage{
    display: grid;
    grid-template-areas: 
      "avatar banner"
      "video video";
    grid-template-columns: 0.8fr 1.2fr;
    gap: 0;
    height: auto;
    margin-top: 32px;
    padding: 0 10px;
  }

  .hero-collage .avatar,
  .hero-collage .video-container,
  .hero-collage .banner{
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    transform: none !important;
    animation: none !important;
    border-radius: 12px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.15);
    object-fit: cover; /* 核心：防止图片内容被拉伸变形 */
  }

  /* 针对不同元素的特定高度处理 */
  .hero-collage .avatar, .hero-collage .banner {
    height: auto !important;
  }

  .video-container {
    height: auto;
    grid-area: video;
    position: relative;
    overflow: hidden;
    z-index: 3;
    margin-top: -15px;
    transform: rotate(-1.5deg) scale(0.98) !important;
    aspect-ratio: 16/9;
    display: block !important; /* 确保不是 flex/grid 以免内部 video 受到意外约束 */
  }

  .video-container video {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .hero-collage .avatar{
    grid-area: avatar;
    border-radius: 50% !important;
    aspect-ratio: 1/1 !important; /* 强制保持 1:1 */
    height: auto !important;
    z-index: 5;
    transform: scale(1.1) rotate(-5deg) translate(10%, 15%) !important;
  }

  .hero-collage .banner{
    grid-area: banner;
    aspect-ratio: 1/1 !important; /* 交换大小：让 banner 在上方变成方块 */
    height: auto !important;
    z-index: 4;
    transform: rotate(3deg) translate(-5%, 0%) !important;
  }

  .intro-right{ min-height: 320px; }
  
  .corner-float{
    width: 120px;
    right: 10px;
    bottom: 10px;
  }

  /* Mobile Navigation */
  .nav-toggle{
    display: flex;
  }

  .nav-menu{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(5, 7, 12, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 300ms ease;
  }

  .nav-menu.active{
    max-height: 500px;
    opacity: 1;
  }

  .nav-link{
    padding: 14px 24px;
    border-radius: 0;
  }

  .dropdown-menu{
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 24px;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease;
  }

  .nav-dropdown.active .dropdown-menu{
    max-height: 200px;
  }

  .dropdown-link{
    padding: 10px 20px;
  }
}

@media (max-width: 600px){
  .hero-collage{
    grid-template-areas: 
      "avatar"
      "banner"
      "video";
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 40px;
  }

  .hero-collage .avatar{
    width: 100px !important;
    aspect-ratio: 1/1 !important; /* 再次确保 1:1 */
    justify-self: center;
    transform: rotate(-8deg) translateY(20px) !important;
  }

  .hero-collage .banner{
    width: 85% !important;
    aspect-ratio: 1/1 !important; /* 在窄屏也保持 1:1 */
    height: auto !important;
    justify-self: center;
    transform: rotate(4deg) translateY(0) !important;
  }

  .hero-collage .circle-video{
    width: 100% !important; /* 让视频填充容器 */
    margin: 0 !important;
    transform: none !important;
  }

  .video-container {
    width: 90% !important;
    justify-self: center;
    margin-top: -20px;
    transform: rotate(-3deg) !important;
    aspect-ratio: 16/9;
    display: block !important;
  }

  .intro-right{
    min-height: 380px;
    margin-top: 24px;
  }

  .tile.small{
    left: -5%;
    width: 55%;
  }

  .follow-links{
    gap: 30px;
  }
  
  .social{
    width: 120px;
  }
  
  .social img{
    width: 60px;
    height: 60px;
  }
}

@media (prefers-reduced-motion: reduce){
  .hero-collage img, .hero-collage .video-container { animation: none !important; }
}

/* =====================
   LIGHTBOX
   ===================== */
.clickable-img{
  cursor: zoom-in;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.clickable-img:hover{
  transform: scale(1.02);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}

.lightbox{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms ease, visibility 400ms ease;
}

.lightbox.active{
  opacity: 1;
  visibility: visible;
}

.lightbox-content{
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  transform: scale(0.7) translateY(30px);
  opacity: 0;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1), opacity 400ms ease;
}

.lightbox.active .lightbox-content{
  transform: scale(1) translateY(0);
  opacity: 1;
}

.lightbox-img,
.lightbox-video {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
  display: none; /* 默认隐藏，由 JS 控制显示 */
}

.lightbox.active .lightbox-img.active,
.lightbox.active .lightbox-video.active {
  display: block;
}

.lightbox-close{
  position: absolute;
  top: -60px;
  right: 0;
  color: #fff;
  font-size: 48px;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 200ms ease, transform 200ms ease;
}

.lightbox-close:hover{
  opacity: 1;
  transform: scale(1.15) rotate(90deg);
}

.page-content{
  background: transparent;
  padding: 100px 0;
  min-height: calc(100vh - 200px);
}

.page-inner{
  width: min(1180px, 92vw);
  margin: 0 auto;
  text-align: center;
}

.page-inner h1{
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 900;
  margin: 0 0 24px;
  background: linear-gradient(90deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-inner p{
  font-size: 18px;
  color: var(--muted);
}

.photo-page{
  background: radial-gradient(1200px 600px at 12% 0%, rgba(123, 118, 255, 0.28), transparent 55%),
              radial-gradient(900px 520px at 86% 18%, rgba(0, 200, 255, 0.16), transparent 60%),
              linear-gradient(rgba(5, 7, 12, 0.84), rgba(5, 7, 12, 0.88)),
              url("./assets/blue-sky.jpg") no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.gallery-hero{
  border-bottom: 1px solid var(--line);
  padding: 76px 0 44px;
}

.gallery-hero-inner{
  width: min(1180px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
}

.gallery-kicker{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(10px);
  font-size: 12px;
  letter-spacing: .8px;
  text-transform: uppercase;
  opacity: .92;
}

.gallery-title{
  margin: 14px 0 10px;
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 900;
  letter-spacing: -0.6px;
  line-height: 1.02;
  background: linear-gradient(90deg, #ffffff, rgba(238,242,255,.92), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gallery-subtitle{
  margin: 0 0 22px;
  color: rgba(238,242,255,.78);
  font-size: 16px;
  line-height: 1.9;
  max-width: 54ch;
}

.gallery-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.gallery-action{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(238,242,255,.92);
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(10px);
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.gallery-action:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.26);
  background: rgba(0,0,0,0.32);
}

.gallery-action.primary{
  background: rgba(123, 118, 255, 0.22);
  border-color: rgba(123, 118, 255, 0.55);
}

.gallery-action.primary:hover{
  background: rgba(123, 118, 255, 0.32);
  border-color: rgba(123, 118, 255, 0.75);
}

.gallery-upload-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(238,242,255,.92);
  border: 1px solid rgba(123, 118, 255, 0.55);
  background: rgba(123, 118, 255, 0.22);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 600;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.gallery-upload-btn:hover{
  transform: translateY(-1px);
  background: rgba(123, 118, 255, 0.32);
  border-color: rgba(123, 118, 255, 0.75);
}

.gallery-metrics{
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery-metric{
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(12px);
  min-width: 130px;
}

.gallery-metric-value{
  font-weight: 900;
  letter-spacing: -0.2px;
}

.gallery-metric-label{
  margin-top: 4px;
  font-size: 12px;
  color: rgba(238,242,255,.7);
}

.gallery-feature-card{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.18);
  box-shadow: 0 30px 90px rgba(0,0,0,0.6);
}

.gallery-feature-img{
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: scale(1.03);
  filter: contrast(1.02) saturate(1.05);
}

.gallery-feature-meta{
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(14px);
}

.gallery-feature-title{
  font-weight: 900;
  letter-spacing: -0.2px;
}

.gallery-feature-desc{
  margin-top: 4px;
  font-size: 12px;
  color: rgba(238,242,255,.72);
}

.gallery-section{
  padding: 56px 0 100px;
}

.gallery-inner{
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.gallery-section-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.gallery-h2{
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.2px;
}

.gallery-desc{
  margin: 0;
  color: rgba(238,242,255,.7);
  font-size: 13px;
  line-height: 1.7;
  max-width: 72ch;
}

.photo-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.photo-card{
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  box-shadow: 0 18px 55px rgba(0,0,0,0.45);
  transform: translateZ(0) rotate(var(--tilt, 0deg)) translate(var(--dx, 0px), var(--dy, 0px));
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  aspect-ratio: var(--card-ratio, 4 / 3);
}

.photo-card img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-card .photo-meta{
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 200ms ease, transform 200ms ease;
  pointer-events: none;
}

.photo-card:hover .photo-meta{
  opacity: 1;
  transform: translateY(0);
}

.photo-title{
  font-weight: 900;
  letter-spacing: -0.2px;
  font-size: 13px;
}

.photo-sub{
  margin-top: 4px;
  font-size: 12px;
  color: rgba(238,242,255,.72);
}

.photo-page .clickable-img:hover{
  transform: none;
  box-shadow: none;
}

.photo-page .photo-card .clickable-img{
  cursor: zoom-in;
}

.photo-page .photo-card:hover{
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 26px 80px rgba(0,0,0,0.6);
  transform: translateZ(0) rotate(0deg) translate(0px, 0px) scale(1.01);
}

.photo-card[data-span="2"]{
  grid-column: span 2;
}

@media (max-width: 980px){
  .gallery-hero-inner{
    grid-template-columns: 1fr;
  }

  .photo-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-card[data-span="2"]{
    grid-column: auto;
  }
}

@media (max-width: 560px){
  .gallery-hero{
    padding: 64px 0 34px;
  }

  .photo-grid{
    grid-template-columns: 1fr;
  }
}

/* =====================
   PROJECTS PAGE
   ===================== */
.projects-page .page-inner{
  text-align: left;
}

.projects-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.project-card{
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  padding: 28px;
  transition: all 220ms ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.project-card:hover{
  transform: translateY(-4px);
  border-color: rgba(123, 118, 255, 0.45);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.project-header{
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.project-icon{
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(123, 118, 255, 0.2);
  display: grid;
  place-items: center;
  font-size: 28px;
}

.project-icon img{
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.project-title h3{
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

.project-lang{
  display: inline-block;
  font-size: 12px;
  color: var(--accent);
  background: rgba(123, 118, 255, 0.15);
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: 4px;
}

.project-desc{
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.tech-stack{
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tech-item{
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  background: transparent;
  border: none;
  color: rgba(238, 242, 255, 0.7);
  font-size: 13px;
  transition: all 200ms ease;
}

.tech-item:hover{
  color: rgba(238, 242, 255, 0.9);
}

.tech-icon{
  font-size: 16px;
}

.tech-name{
  font-weight: 500;
}

.project-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(123, 118, 255, 0.3), rgba(123, 118, 255, 0.2));
  border: 1px solid rgba(123, 118, 255, 0.45);
  transition: all 200ms ease;
}

.project-link:hover{
  background: linear-gradient(90deg, rgba(123, 118, 255, 0.45), rgba(123, 118, 255, 0.3));
  transform: translateX(4px);
}

@media (max-width: 768px){
  .projects-grid{
    grid-template-columns: 1fr;
  }
  
  .project-card{
    padding: 22px;
  }
}

/* =====================
   GALLERY ADMIN PAGE
   ===================== */
.admin-wrap{
  width: min(980px, 92vw);
  margin: 0 auto;
  padding: 100px 0;
}

.admin-header{
  margin-bottom: 32px;
}

.admin-back{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  transition: all 200ms ease;
}

.admin-back:hover{
  color: #fff;
  transform: translateX(-4px);
}

.admin-title{
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.admin-sub{
  margin: 0;
  color: rgba(238, 242, 255, 0.7);
  line-height: 1.8;
  font-size: 15px;
}

.admin-card{
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.18);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.admin-row{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.admin-row + .admin-row{
  margin-top: 16px;
}

.admin-label{
  font-size: 14px;
  font-weight: 600;
  color: rgba(238, 242, 255, 0.85);
  min-width: 80px;
}

.admin-input{
  flex: 1;
  min-width: 200px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.3);
  color: rgba(238, 242, 255, 0.95);
  font-size: 14px;
  transition: all 200ms ease;
}

.admin-input:focus{
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(123, 118, 255, 0.2);
}

.admin-input::placeholder{
  color: rgba(238, 242, 255, 0.4);
}

.admin-btn{
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid rgba(123, 118, 255, 0.55);
  background: rgba(123, 118, 255, 0.22);
  color: rgba(238, 242, 255, 0.95);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms ease;
}

.admin-btn:hover:not(:disabled){
  background: rgba(123, 118, 255, 0.35);
  border-color: rgba(123, 118, 255, 0.75);
  transform: translateY(-2px);
}

.admin-btn:disabled{
  opacity: 0.5;
  cursor: not-allowed;
}

.admin-log{
  margin-top: 20px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
  max-height: 300px;
  overflow-y: auto;
  color: rgba(238, 242, 255, 0.85);
}

.admin-log-success{
  color: #7bffb0;
}

.admin-log-error{
  color: #ff7b7b;
}

.admin-tips{
  margin-top: 32px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.15);
}

.admin-tips h3{
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: rgba(238, 242, 255, 0.9);
}

.admin-tips ul{
  margin: 0;
  padding-left: 20px;
  color: rgba(238, 242, 255, 0.65);
  font-size: 14px;
  line-height: 2;
}

.gallery-hero-header{
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px){
  .admin-wrap{
    padding: 60px 0;
  }
  
  .admin-row{
    flex-direction: column;
    align-items: stretch;
  }
  
  .admin-label{
    min-width: auto;
  }
  
  .admin-btn{
    width: 100%;
    text-align: center;
  }
}

/* =====================
   写真分享 - 深色科技风
   ===================== */

.gallery-body {
  background: radial-gradient(1200px 600px at 12% 0%, rgba(123, 118, 255, 0.15), transparent 55%),
              radial-gradient(900px 520px at 86% 18%, rgba(0, 200, 255, 0.10), transparent 60%),
              linear-gradient(rgba(5, 7, 12, 0.92), rgba(5, 7, 12, 0.95)),
              url("./assets/blue-sky.jpg") no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
}

.gallery-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 7, 12, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.gallery-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gallery-nav-back,
.gallery-nav-upload {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}

.gallery-nav-back:hover,
.gallery-nav-upload:hover {
  color: #fff;
  background: rgba(123, 118, 255, 0.15);
}

.gallery-nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
}

.nikon-yellow {
  color: #FFD700;
  font-weight: 700;
  font-size: 11px;
  padding: 3px 8px;
  background: rgba(255, 215, 0, 0.15);
  border-radius: 4px;
  letter-spacing: 2px;
}

.brand-divider {
  color: var(--line);
}

.gallery-header {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.gallery-header-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.gallery-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--accent);
  box-shadow: 0 0 20px rgba(123, 118, 255, 0.3);
}

.gallery-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-name {
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 4px;
  background: linear-gradient(90deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gallery-bio {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 8px;
}

.gallery-stats {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}

.stat-item strong {
  color: #fff;
  font-weight: 600;
}

.btn-manage {
  margin-left: auto;
  padding: 8px 16px;
  background: rgba(123, 118, 255, 0.2);
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-manage:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.manage-header {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.manage-header-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.manage-back {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.manage-back:hover {
  color: #fff;
}

.manage-header-content h1 {
  flex: 1;
  margin: 0;
  font-size: 28px;
  background: linear-gradient(90deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.manage-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 20px;
}

.manage-section {
  margin-bottom: 40px;
}

.manage-section-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 16px;
}

.manage-upload-area {
  border: 2px dashed var(--line);
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.manage-upload-area:hover,
.manage-upload-area.dragover {
  border-color: var(--accent);
  color: #fff;
  background: rgba(123, 118, 255, 0.05);
}

.upload-icon {
  margin-bottom: 16px;
  opacity: 0.6;
}

.upload-text {
  font-size: 16px;
  margin: 0 0 8px;
}

.upload-hint {
  font-size: 13px;
  margin: 0;
  opacity: 0.6;
}

.upload-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.preview-item {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.preview-item img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.preview-name {
  display: block;
  padding: 8px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.preview-remove:hover {
  background: #ff4444;
}

.upload-actions {
  margin-top: 16px;
  text-align: right;
}

.btn-upload {
  padding: 12px 24px;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-upload:hover:not(:disabled) {
  background: #8b85ff;
  transform: translateY(-1px);
}

.btn-upload:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.manage-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.photo-count {
  color: var(--muted);
  font-size: 14px;
}

.btn-refresh {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-refresh:hover {
  border-color: var(--accent);
  color: #fff;
}

.manage-photo-list {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 200px;
}

.photo-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.photo-item:last-child {
  border-bottom: none;
}

.photo-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.photo-info {
  flex: 1;
  min-width: 0;
}

.photo-name {
  display: block;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.photo-size {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.btn-delete {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid #ff4444;
  border-radius: 6px;
  color: #ff4444;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-delete:hover {
  background: #ff4444;
  color: #fff;
}

.manage-empty-text {
  text-align: center;
  color: var(--muted);
  padding: 60px 0;
}

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 40px 20px;
}

.login-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
}

.login-title {
  margin: 0 0 8px;
  font-size: 24px;
  text-align: center;
  color: #fff;
}

.login-desc {
  margin: 0 0 24px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.login-field {
  margin-bottom: 16px;
}

.login-field input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
}

.login-field input:focus {
  border-color: var(--accent);
}

.login-field input::placeholder {
  color: var(--muted);
}

.login-error {
  color: #ff6b6b;
  font-size: 14px;
  margin-bottom: 16px;
  text-align: center;
  min-height: 20px;
}

.btn-login {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-login:hover:not(:disabled) {
  background: #8b85ff;
}

.btn-login:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-logout {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-logout:hover {
  border-color: #ff6b6b;
  color: #ff6b6b;
}

.gallery-upload-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, rgba(123, 118, 255, 0.3), rgba(123, 118, 255, 0.15));
  border: 1px solid rgba(123, 118, 255, 0.5);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.25s;
  margin-left: auto;
}

.gallery-upload-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(123, 118, 255, 0.25);
  background: linear-gradient(135deg, rgba(123, 118, 255, 0.4), rgba(123, 118, 255, 0.25));
}

.gallery-info {
  flex: 1;
}

.gallery-tabs {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  gap: 8px;
}

.gallery-tab {
  padding: 8px 18px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.gallery-tab:hover {
  color: #fff;
  border-color: rgba(123, 118, 255, 0.4);
}

.gallery-tab.active {
  background: rgba(123, 118, 255, 0.25);
  border-color: var(--accent);
  color: #fff;
}

.gallery-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.gallery-waterfall {
  columns: 2;
  column-gap: 14px;
}

@media (min-width: 640px) {
  .gallery-waterfall { columns: 3; column-gap: 16px; }
}

@media (min-width: 1024px) {
  .gallery-waterfall { columns: 4; column-gap: 18px; }
}

.waterfall-card {
  break-inside: avoid;
  margin-bottom: 14px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

@media (min-width: 640px) {
  .waterfall-card { margin-bottom: 16px; }
}

.waterfall-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(123, 118, 255, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(123, 118, 255, 0.15);
}

.card-image {
  width: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.4s;
  min-height: 200px;
  background: rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.card-image.loaded,
.waterfall-card.loaded .card-image {
  opacity: 1;
  min-height: auto;
  background: transparent;
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  opacity: 0;
  transition: opacity 0.25s;
}

.waterfall-card:hover .card-overlay {
  opacity: 1;
}

.card-date {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.gallery-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  color: var(--muted);
  font-size: 14px;
  gap: 16px;
}

.loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.gallery-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
  color: var(--muted);
}

.empty-icon {
  margin-bottom: 20px;
  opacity: 0.4;
}

.gallery-empty p {
  font-size: 16px;
  margin: 0 0 24px;
}

.empty-upload-btn {
  padding: 14px 28px;
  background: linear-gradient(135deg, rgba(123, 118, 255, 0.3), rgba(123, 118, 255, 0.15));
  border: 1px solid rgba(123, 118, 255, 0.5);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s;
}

.empty-upload-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(123, 118, 255, 0.25);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
}

.lightbox-container {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  z-index: 1;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-content {
  position: relative;
}

.lightbox-content img,
#lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s, filter 0.35s ease;
}

/* Blur-up：原图加载完成前，用放大的缩略图做模糊预览 */
#lightbox-img.preview {
  filter: blur(16px) brightness(.92);
}

/* ═══════════ 写真页加载体验：骨架屏 + 逐张淡入 ═══════════ */

.photo-card.skeleton-card {
  background: linear-gradient(100deg,
    rgba(255, 255, 255, 0.05) 40%,
    rgba(255, 255, 255, 0.11) 50%,
    rgba(255, 255, 255, 0.05) 60%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite;
  border-color: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

/* 缩略图下载完成后逐张淡入（backwards 保证延迟期间保持隐藏，
   动画结束后恢复普通样式，不影响 hover 缩放） */
.photo-grid .clickable-img {
  opacity: 0;
}

.photo-grid .clickable-img.loaded {
  opacity: 1;
  animation: photoReveal .55s ease backwards;
  animation-delay: var(--fade-delay, 0ms);
}

@keyframes photoReveal {
  from { opacity: 0; transform: scale(1.045); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .photo-grid .clickable-img { opacity: 1; }
  .photo-grid .clickable-img.loaded { animation: none; }
  .photo-card.skeleton-card { animation: none; }
}

/* ═══════════ 灯箱毛玻璃相框 + EXIF 参数栏 ═══════════ */

/* 关闭按钮直接挂在 .lightbox 下时，固定在视口右上角（修复原 top:-50px 被顶出屏幕的问题） */
.lightbox > .lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 2;
}

.lightbox-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  /* 两侧留白最宽，照片上方留白比照片与参数文字的间距稍大 */
  padding: 30px 52px 0;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.65);
}

/* 背景 = 照片自身的重度模糊放大（截图同款「光影」效果） */
.lightbox-frame-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  /* scale 放大裁掉模糊后的透明边缘，blur 足够大才有"光晕化开"的感觉 */
  transform: scale(1.35);
  filter: blur(48px) saturate(1.25) brightness(.9);
}

/* 轻压一层暗色，保证参数文字在亮部照片上也可读 */
.lightbox-frame-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
}

.lightbox-frame #lightbox-img {
  max-width: min(86vw, 1400px);
  max-height: 70vh;
  border-radius: 12px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

.lightbox-exif {
  position: relative;
  width: 100%;
  padding: 22px 24px 26px;
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.exif-camera {
  font-size: 16px;
  letter-spacing: 0.5px;
}

.exif-camera strong {
  font-weight: 800;
  margin-right: 10px;
}

.exif-camera span {
  opacity: 0.85;
  font-weight: 400;
}

.exif-params {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 1px;
}

@media (max-width: 600px) {
  .lightbox-frame { padding: 16px 26px 0; border-radius: 16px; }
  .lightbox-frame #lightbox-img { max-width: 88vw; max-height: 64vh; }
  .lightbox-exif { padding: 13px 14px 16px; }
  .exif-camera { font-size: 14px; }
  .exif-params { font-size: 12px; }
}

.lightbox-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
}

.lightbox-info {
  text-align: center;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  letter-spacing: 0.5px;
}

.gallery-footer {
  text-align: center;
  padding: 28px 20px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
}

/* ═══════════ 管理页 2.0：上传队列 ═══════════ */

.upload-queue {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.queue-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.3s;
}

.queue-item.success { border-color: rgba(80, 220, 130, 0.5); }
.queue-item.error   { border-color: rgba(255, 90, 90, 0.55); }

.queue-item.fade-out {
  opacity: 0;
  transform: translateY(-6px);
}

.queue-thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.queue-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.queue-name {
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.queue-status {
  color: var(--muted);
  font-size: 12px;
}

.queue-item.error .queue-status { color: #ff7b7b; }
.queue-item.success .queue-status { color: #6fe3a1; }

.queue-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.queue-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #9f9bff);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.queue-item.success .queue-bar-fill { background: #4ecb79; }

.queue-retry {
  padding: 7px 14px;
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.queue-retry:hover { background: var(--accent); }

/* ═══════════ 管理页 2.0：图库网格 ═══════════ */

.manage-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}

.photo-card-admin {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.photo-card-admin.enter {
  opacity: 0;
  transform: scale(0.92);
}

.photo-card-admin.removing {
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
}

.photo-card-admin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.82));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.photo-card-admin:hover .photo-card-overlay,
.photo-card-admin:focus-within .photo-card-overlay {
  opacity: 1;
}

@media (hover: none) {
  .photo-card-overlay { opacity: 1; }
}

.photo-card-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.photo-card-name {
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.photo-card-size {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

.photo-card-delete {
  align-self: flex-start;
  padding: 6px 12px;
  background: rgba(255, 68, 68, 0.15);
  border: 1px solid rgba(255, 68, 68, 0.6);
  border-radius: 7px;
  color: #ff8484;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.photo-card-delete:hover { background: rgba(255, 68, 68, 0.3); }

.photo-card-delete.confirming {
  background: #ff4444;
  color: #fff;
  border-color: #ff4444;
}

/* 骨架屏 */
.photo-card-admin.skeleton {
  background: linear-gradient(100deg,
    rgba(255, 255, 255, 0.05) 40%,
    rgba(255, 255, 255, 0.11) 50%,
    rgba(255, 255, 255, 0.05) 60%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite;
}

@keyframes skeleton-shimmer {
  from { background-position: 120% 0; }
  to   { background-position: -80% 0; }
}

/* ═══════════ Toast 通知 ═══════════ */

.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1000;
  pointer-events: none;
}

.toast {
  padding: 11px 20px;
  background: rgba(20, 22, 34, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  max-width: min(90vw, 480px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-success { border-color: rgba(80, 220, 130, 0.5); }
.toast-error   { border-color: rgba(255, 90, 90, 0.6); }

/* ═══════════ 主页 2.0：动态与漂浮感 ═══════════ */

html { scroll-behavior: smooth; }

/* 滚动浮现：进入视口时上浮显现（仅 JS 可用时启用初始隐藏） */
body.js-anim [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22,.9,.35,1),
              transform .8s cubic-bezier(.22,.9,.35,1);
}

body.js-anim [data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

body.js-anim [data-reveal-delay="1"].revealed { transition-delay: .18s; }

/* Hero 标题：柔和的流动渐变文字 */
.hero-title {
  background: linear-gradient(115deg, #fff 30%, #b9b4ff 50%, #fff 70%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* 透明文字下 text-shadow 会透出浑浊阴影，改用 drop-shadow */
  text-shadow: none;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .5));
  animation: heroShimmer 7s ease-in-out infinite;
}

@keyframes heroShimmer {
  0%, 100% { background-position: 0% 0; }
  50%      { background-position: 100% 0; }
}

/* Hero 背后的呼吸光晕（不改变布局，纯氛围） */
.hero-inner::before {
  content: "";
  position: absolute;
  top: 5%;
  left: 30%;
  width: 55%;
  height: 80%;
  background: radial-gradient(ellipse at center,
    rgba(123, 118, 255, .16), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
  z-index: -1;
  animation: glowBreath 9s ease-in-out infinite;
}

@keyframes glowBreath {
  0%, 100% { opacity: .55; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.12); }
}

/* 社交图标：轻微漂浮 + 错开节奏 */
.social img {
  animation: floatSoft 5.6s ease-in-out infinite;
}

.follow-links .social:nth-child(1) img { animation-delay: 0s; }
.follow-links .social:nth-child(2) img { animation-delay: .7s; }
.follow-links .social:nth-child(3) img { animation-delay: 1.4s; }

.social:hover img { animation-play-state: paused; }

/* 点击彩蛋 emoji：只动 transform/opacity，GPU 合成，不触发重排 */
.click-fx {
  position: fixed;
  z-index: 9998;
  pointer-events: none;
  user-select: none;
  transform: translate(-50%, -50%);
  animation: clickFxFloat 1.5s cubic-bezier(.25,.8,.4,1) forwards;
}

@keyframes clickFxFloat {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.3) rotate(0deg);
  }
  15% {
    opacity: 1;
    transform: translate(calc(-50% + var(--fx-drift) * .25), calc(-50% - 30px))
               scale(1.1) rotate(calc(var(--fx-rot) * .4));
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--fx-drift)), calc(-50% - 170px))
               scale(.9) rotate(var(--fx-rot));
  }
}

/* 尊重系统减弱动效设置 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  body.js-anim [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-title,
  .hero-inner::before,
  .social img,
  .corner-float.visible {
    animation: none !important;
  }

  .corner-float {
    transition: opacity .3s ease;
    transform: none;
  }
}

/* ═══════════ 博客公开页 + 管理页 ═══════════ */

.blog-page-inner {
  text-align: left;
  max-width: min(760px, 92vw);
  /* 正文不用全站海报粗体，改用常规阅读字体 */
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-weight: 400;
}

.blog-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.blog-page-header h1 {
  margin: 0;
  /* 覆盖 .page-inner h1 的超大渐变标题，页面标题保持克制 */
  font-size: clamp(28px, 4vw, 40px) !important;
  letter-spacing: -0.3px;
}

.btn-manage-blog {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: all .2s;
}

.btn-manage-blog:hover {
  color: #fff;
  border-color: var(--accent);
}

.blog-post-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blog-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, transform .2s, opacity .45s ease;
}

.blog-card-enter {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease, border-color .2s;
  transition-delay: var(--enter-delay, 0ms);
}

.blog-card-enter.show {
  opacity: 1;
  transform: translateY(0);
}

.blog-card:hover {
  border-color: rgba(123, 118, 255, 0.45);
  transform: translateY(-2px);
}

.blog-card-cover {
  width: 100%;
  height: 96px;
  object-fit: cover;
  border-radius: 10px;
}

.blog-card:not(:has(.blog-card-cover)) {
  grid-template-columns: 1fr;
}

.blog-card-body h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
}

.blog-card-body p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
}

.blog-card-body time {
  font-size: 12px;
  color: rgba(238, 242, 255, 0.5);
}

.blog-empty {
  text-align: center;
  color: var(--muted);
  padding: 48px 0;
}

/* 列表骨架 */
.blog-card-skel {
  pointer-events: none;
}

.blog-skel-cover,
.blog-skel-line {
  background: linear-gradient(100deg,
    rgba(255, 255, 255, 0.05) 40%,
    rgba(255, 255, 255, 0.11) 50%,
    rgba(255, 255, 255, 0.05) 60%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite;
  border-radius: 8px;
}

.blog-skel-cover {
  height: 96px;
  border-radius: 10px;
}

.blog-skel-line {
  height: 14px;
  margin-bottom: 10px;
}

.blog-skel-line.skel-title { height: 22px; width: 70%; }
.blog-skel-line.skel-meta { height: 12px; width: 30%; margin-bottom: 22px; }
.blog-skel-line.skel-short { width: 45%; }

.blog-detail-skeleton {
  margin-top: 20px;
}

.blog-detail-content {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s ease, transform .45s ease;
}

.blog-detail-content.show {
  opacity: 1;
  transform: translateY(0);
}

.blog-detail-title {
  margin: 12px 0 8px !important;
  font-size: clamp(26px, 3.6vw, 34px) !important;
  font-weight: 700 !important;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  background-clip: border-box !important;
}

.blog-detail-meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 28px;
}

.blog-back-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  font-size: 14px;
}

.blog-back-btn:hover { color: #fff; }

.blog-detail-body {
  line-height: 1.85;
  color: rgba(238, 242, 255, 0.92);
  font-size: 17px;
  font-weight: 400;
}

.blog-detail-body h1,
.blog-detail-body h2,
.blog-detail-body h3 {
  margin: 1.4em 0 .6em;
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  font-weight: 700;
}

.blog-detail-body h1 { font-size: 1.45em !important; }
.blog-detail-body h2 { font-size: 1.28em !important; }
.blog-detail-body h3 { font-size: 1.12em !important; }

.blog-detail-body p {
  margin: 0 0 1em;
  font-size: inherit !important;
  color: inherit !important;
  font-weight: 400;
}

.blog-detail-body img {
  display: block;
  max-width: min(100%, 720px);
  width: auto;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
  margin: 16px auto;
}

.blog-detail-body a {
  color: #b9b4ff;
}

.blog-detail-body code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.blog-detail-body pre {
  background: rgba(0, 0, 0, 0.35);
  padding: 14px;
  border-radius: 10px;
  overflow-x: auto;
}

.blog-detail-body pre code {
  background: none;
  padding: 0;
}

.blog-detail-files {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.blog-detail-files h3 {
  margin: 0 0 12px;
  font-size: 16px;
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
}

.blog-detail-files ul {
  margin: 0;
  padding-left: 18px;
}

.blog-detail-files a {
  color: #b9b4ff;
}

.blog-manage-main {
  max-width: 920px;
}

.blog-editor-toolbar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.draft-hint {
  color: var(--muted);
  font-size: 12px;
}

.blog-input,
.blog-textarea {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
}

.blog-input:focus,
.blog-textarea:focus {
  border-color: var(--accent);
}

.blog-textarea {
  min-height: 280px;
  resize: vertical;
  line-height: 1.7;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
}

.blog-media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 8px 0 18px;
}

.blog-media-block {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.blog-media-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.blog-media-head strong {
  color: #fff;
  font-size: 14px;
}

.blog-media-head span {
  color: var(--muted);
  font-size: 12px;
  flex: 1;
}

.blog-media-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 40px;
}

.blog-media-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.blog-media-item img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
}

.blog-media-item span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blog-media-item button {
  background: transparent;
  border: 1px solid rgba(255, 68, 68, 0.5);
  color: #ff8484;
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 12px;
}

.blog-media-empty {
  margin: 0;
  color: rgba(238, 242, 255, 0.4);
  font-size: 13px;
}

.blog-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-admin-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-admin-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.blog-status {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.blog-status.published {
  background: rgba(80, 220, 130, 0.15);
  color: #6fe3a1;
}

.blog-status.draft {
  background: rgba(255, 200, 80, 0.15);
  color: #ffd27a;
}

.blog-admin-meta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.blog-admin-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .blog-card {
    grid-template-columns: 1fr;
  }
  .blog-card-cover,
  .blog-skel-cover {
    height: 160px;
  }
  .blog-media-row {
    grid-template-columns: 1fr;
  }
  .blog-admin-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-card-enter,
  .blog-detail-content {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .blog-skel-cover,
  .blog-skel-line {
    animation: none;
  }
}
