.toc-card{padding:18px}
.toc-container{display:grid;gap:6px}
.toc-item{
  --toc-depth:1;
  display:block;padding:8px 12px;
  padding-left:calc(12px + (var(--toc-depth) - 1) * 14px);
  border-radius:12px;border-left:2px solid transparent;color:var(--text-2);
  font-size:.94rem;line-height:1.5;overflow-wrap:anywhere;
  transition:background .2s ease,color .2s ease,border-color .2s ease
}
.toc-item:hover,.toc-item.is-active{background:var(--bg-soft);border-left-color:var(--brand);color:var(--text)}

.comments-section{display:grid;gap:18px}
.comment-list{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.comment-card{display:flex;gap:14px;padding:14px;border-radius:18px;background:var(--bg-soft);border:1px solid var(--line)}
.comment-avatar img{width:48px;height:48px;border-radius:50%}
.comment-head{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.comment-head time{color:var(--text-3);font-size:.9rem}
.comment-content{margin-top:8px;color:var(--text-2)}
.comment-actions{margin-top:10px}
.comment-actions a{color:var(--brand);font-size:.94rem}
.comment-children{margin-left:24px;margin-top:12px}
.respond-box{padding-top:6px;border-top:1px solid var(--line)}
.respond-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.comment-form{display:grid;gap:14px}
.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.comment-form label{display:grid;gap:8px}
.comment-form input,.comment-form textarea{
  width:100%;padding:12px 14px;border-radius:16px;border:1px solid var(--line);
  background:var(--bg-soft);outline:none
}
.form-tip{color:var(--text-2)}
.cancel-comment-reply a{color:var(--brand)}

.links-plugin-wrap .LinksPlus-list,
.links-plugin-wrap .links-plus-list,
.links-plugin-wrap .links-plus-wrapper{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

@media (max-width: 760px){
  .form-grid,.links-plugin-wrap .LinksPlus-list,.links-plugin-wrap .links-plus-list,.links-plugin-wrap .links-plus-wrapper{grid-template-columns:1fr}
  .comment-children{margin-left:12px}
}






/* ========== Instagram 风格照片页 ========== */
.ig-page{max-width:960px;margin:0 auto;padding:30px 20px 60px}

/* Profile Header */
.ig-profile{
  display:flex;gap:30px;align-items:flex-start;
  margin-bottom:32px;padding:0 12px;
}
.ig-profile-avatar{
  width:150px;height:150px;border-radius:50%;overflow:hidden;
  flex-shrink:0;position:relative;
}
.ig-profile-avatar img{width:100%;height:100%;object-fit:cover}

.ig-profile-info{flex:1;padding-top:8px}
.ig-username{font-size:22px;font-weight:400;margin:0 0 16px;display:flex;align-items:center;gap:12px}
.ig-stats{
  display:flex;gap:24px;margin-bottom:12px;
  font-size:15px;
}
.ig-stats strong{font-weight:600}
.ig-bio{font-size:14px;line-height:1.6;margin:0;color:#555}

/* Highlights */
.ig-highlights{
  display:flex;gap:20px;padding:8px 0 24px 12px;
  border-bottom:1px solid #dbdbdb;margin-bottom:0;
  overflow-x:auto;
}
.ig-highlight-item{display:flex;flex-direction:column;align-items:center;gap:6px;cursor:pointer}
.ig-highlight-ring{
  width:77px;height:77px;border-radius:50%;
  padding:3px;background:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045);
  display:flex;align-items:center;justify-content:center;
}
.ig-highlight-icon{
  width:100%;height:100%;border-radius:50%;
  background:#fafafa;display:flex;align-items:center;
  justify-content:center;font-size:1.3rem;
}
.ig-highlight-item span{font-size:11px;color:#555}

/* Tab Bar */
.ig-tabs{
  display:flex;justify-content:center;gap:0;
  border-top:1px solid transparent;position:relative;
  margin-bottom:0;
}
.ig-tab{
  flex:1;text-align:center;padding:14px 0;
  font-size:13px;font-weight:500;color:#8e8e8e;
  text-transform:uppercase;letter-spacing:.02em;
  cursor:pointer;border-bottom:1px solid #dbdbdb;
  transition:all .2s;
}
.ig-tab-active{color:#262626;border-bottom-color:#262626}
.ig-tab:hover{color:#262626}

/* Photo Grid (3列正方形) */
.ig-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:3px;margin:0 -20px;
}
.ig-photo{
  aspect-ratio:1/1;
  background:linear-gradient(135deg,#eee,#ddd);
  cursor:pointer;transition:all .3s;
  position:relative;overflow:hidden;
}
.ig-photo:hover{filter:brightness(.9)}
.ig-photo::after{
  content:'';position:absolute;inset:0;
  background:rgba(255,255,255,0);
  transition:background .3s;
}
.ig-photo:hover::after{background:rgba(255,255,255,.1)}

/* Load More */
.ig-loadmore{text-align:center;padding:40px 0}
.ig-loadmore-btn{
  border:1px solid #dbdbdb;background:#fff;
  font-size:14px;font-weight:500;color:#262626;
  padding:10px 40px;border-radius:8px;
  cursor:pointer;transition:all .2s;
}
.ig-loadmore-btn:hover{background:#fafafa}

@media(max-width:640px){
  .ig-profile{flex-direction:column;align-items:center;text-align:center}
  .ig-profile-avatar{width:100px;height:100px}
  .ig-stats{justify-content:center}
  .ig-highlights{justify-content:center}
}




/* ——— Section 基础 ——— */

/* 全部用！important 避免被其他 CSS 覆盖，照片页是完整的 Apple 风格，不需要混搭其他规则 */

/* 全宽 Section */
.section{
  width:100vw !important;
  margin-left:calc(-1 * ((100vw - 960px) / 2 + 28px)) !important;
  padding:120px 28px !important;
  overflow:hidden !important;
}
.section-content{
  max-width:980px;margin:0 auto;
  text-align:center;
}

/* ——— 暗色/亮色主题 ——— */
.theme-dark{
  --section-bg:#000 !important;
  --section-text:#f5f5f7 !important;
  --section-text-2:#86868b !important;
  --section-accent:#0071e3 !important;
  background-color:var(--section-bg) !important;
  color:var(--section-text) !important;
}
.background-alt.theme-dark{
  --section-bg:#1d1d1f !important;
}
.background-alt{
  background-color:#f5f5f7 !important;
}

/* ——— Hero (Welcome) ——— */
.section-hero-photos{
  padding:140px 28px 160px !important;
  min-height:80vh;display:flex;align-items:center;
  background:linear-gradient(180deg,#000 0%,#1a1a1a 100%) !important;
  position:relative;
}
.section-hero-photos::before{
  content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse at 50% 0,rgba(0,113,227,.08) 0%,transparent 60%);
  pointer-events:none;
}
.section-content-hero{max-width:980px;margin:0 auto;text-align:center;position:relative;z-index:1}

.hero-eyebrow{
  font-size:1.1rem;font-weight:600;color:var(--section-accent);
  letter-spacing:.08em;text-transform:uppercase;
  margin:0 0 20px;
}
.hero-headline{
  font-size:5rem;font-weight:700;letter-spacing:-.03em;
  margin:0 0 20px;line-height:1.05;
  background:linear-gradient(180deg,#fff 0%,rgba(255,255,255,.7) 100%);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;
  background-clip:text;
}
.hero-copy{
  font-size:1.6rem;color:var(--section-text-2);margin:0 0 36px;
  font-weight:400;letter-spacing:0;
}
.hero-cta{margin-top:12px}

/* ——— CTA 链接 ——— */
.cta-link{
  display:inline-flex;align-items:center;gap:6px;
  font-size:1.15rem;font-weight:500;color:var(--section-accent,#0071e3);
  text-decoration:none;cursor:pointer;
  transition:all .2s ease;
}
.cta-link:hover{color:#47a6ff}
.cta-arrow{transition:transform .2s ease}
.cta-link:hover .cta-arrow{transform:translateX(4px)}

/* ——— Section 排版 ——— */
.section-eyebrow{
  font-size:1rem;font-weight:600;color:var(--section-accent,#0071e3);
  letter-spacing:.06em;text-transform:uppercase;
  margin:0 0 16px;
}
.section-headline{
  font-size:3.2rem;font-weight:700;letter-spacing:-.02em;
  margin:0 0 24px;line-height:1.1;
}
.section-copy{
  font-size:1.3rem;color:var(--section-text-2);margin:0 0 56px;
  max-width:640px;margin-left:auto;margin-right:auto;
}

/* ——— Highlights (Get the highlights) ——— */
.section-highlights{padding:100px 28px 120px !important}
.highlights-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:20px;
  max-width:900px;margin:0 auto;
}
.highlight-card{
  padding:40px 24px;border-radius:20px;
  background:rgba(255,255,255,.05);
  text-align:center;
  transition:transform .3s ease,background .3s ease;
}
.highlight-card:hover{transform:scale(1.02);background:rgba(255,255,255,.08)}
.highlight-icon{font-size:2.2rem;margin-bottom:16px}
.highlight-title{font-size:1.2rem;font-weight:600;margin:0 0 8px}
.highlight-desc{font-size:.95rem;color:var(--section-text-2);margin:0}

/* ——— Gallery Lockup (类似 Design section) ——— */
.gallery-lockup{
  display:grid;grid-template-columns:2fr 1fr;gap:16px;
  max-width:1050px;margin:40px auto 0;padding:0 28px;
}
.gallery-secondary{display:grid;grid-template-rows:1fr 1fr;gap:16px}
.gallery-primary .gallery-card{aspect-ratio:auto;min-height:400px}

.gallery-card{
  border-radius:24px;overflow:hidden;
  background:linear-gradient(145deg,#2a2a2a,#1a1a1a);
  transition:transform .4s cubic-bezier(.25,.1,.25,1),
              box-shadow .4s ease;
  cursor:pointer;
}
.gallery-card:hover{
  transform:scale(1.015);
  box-shadow:0 12px 40px rgba(0,0,0,.3);
}
.gallery-card-accent{
  height:100%;border:1px solid rgba(255,255,255,.08);
}
.gallery-card-square{aspect-ratio:1/1;min-height:180px}
.gallery-secondary .gallery-card{aspect-ratio:auto;min-height:192px}

/* ——— Life Gallery Carousel (3列+滚动) ——— */
.gallery-carousel{
  display:grid;grid-template-columns:repeat(5,1fr);gap:14px;
  max-width:1050px;margin:0 auto;padding:0 28px;
}

/* ——— Performance Grid (类似 Cameras) ——— */
.performance-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:20px;
  max-width:1050px;margin:0 auto;padding:0 28px;
}
.performance-card{
  border-radius:20px;overflow:hidden;
  background:#2a2a2a;cursor:pointer;
  transition:transform .4s ease;
}
.performance-card:hover{transform:scale(1.02)}
.performance-card-thumb{
  aspect-ratio:16/9;
  background:linear-gradient(135deg,#1a1a1a,#333);
}
.performance-card-info{padding:18px}
.performance-card-info h4{margin:0 0 4px;font-size:1.05rem}
.performance-card-info p{margin:0;color:var(--section-text-2);font-size:.88rem}

/* ——— Accessories ——— */
.accessories-row{
  display:grid;grid-template-columns:repeat(3,1fr);gap:24px;
  max-width:800px;margin:0 auto;
}
.accessory-item{text-align:center;padding:28px 16px}
.accessory-icon{font-size:2rem;margin-bottom:12px}
.accessory-item h4{font-size:1.1rem;margin:0 0 8px}
.accessory-desc{font-size:.9rem;color:var(--section-text-2);margin:0}

/* ——— Responsive ——— */
@media(max-width:900px){
  .hero-headline{font-size:3.5rem}
  .section-headline{font-size:2.4rem}
  .gallery-lockup{grid-template-columns:1fr}
  .gallery-carousel{grid-template-columns:repeat(3,1fr)}
  .highlights-grid,.performance-grid,.accessories-row{grid-template-columns:1fr}
}
@media(max-width:640px){
  .section{padding:80px 20px !important}
  .hero-headline{font-size:2.6rem}
  .hero-copy{font-size:1.2rem}
  .gallery-carousel{grid-template-columns:repeat(2,1fr)}
}




/* Base — 全屏全宽容器 */
.section{
  width:100vw;
  margin-left:calc(-1 * ((100vw - 960px) / 2 + 28px));
  padding:100px 28px;
  overflow:hidden;
}
.section-content{
  max-width:1100px;margin:0 auto;
  text-align:center;
}

/* Hero */
.section-hero{
  padding:120px 28px 100px;
  background:linear-gradient(180deg,var(--bg-strong) 0%,var(--bg) 80%);
}
.section-hero::after{
  content:'';display:block;
  width:60px;height:4px;border-radius:2px;
  background:linear-gradient(90deg,var(--brand-light),var(--brand-dark));
  margin:32px auto 0;
}
.hero-headline{
  font-size:4rem;font-weight:700;letter-spacing:-.04em;
  margin:0 0 16px;line-height:1.05;
}
.hero-subhead{
  font-size:1.4rem;color:var(--text-2);margin:0;
  font-weight:400;
}

/* Section 标题 */
.section-headline{
  font-size:2.4rem;font-weight:700;letter-spacing:-.02em;
  margin:0 0 12px;
}
.section-subhead{
  font-size:1.15rem;color:var(--text-2);margin:0 0 56px;
}

/* 交替色 */
.gallery-alt{background:var(--bg-strong)}

/* Gallery Lockup — 主图+副图 */
.gallery-lockup{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:16px;
  max-width:1050px;margin:0 auto;
}
.gallery-secondary{
  display:grid;grid-template-rows:1fr 1fr;gap:16px;
}
.gallery-card{
  border-radius:20px;overflow:hidden;
  aspect-ratio:4/3;
  background:linear-gradient(145deg,var(--bg-strong),color-mix(in srgb,var(--bg) 80%,var(--brand-light)));
  transition:transform .4s cubic-bezier(.25,.1,.25,1),
              box-shadow .4s ease;
  cursor:pointer;
}
.gallery-card:hover{
  transform:scale(1.02);
  box-shadow:0 8px 32px rgba(0,0,0,.15);
}
.gallery-card-cover{aspect-ratio:auto}
.gallery-lockup .gallery-primary .gallery-card{
  height:100%;min-height:380px;
}
.gallery-card-square{aspect-ratio:1/1}

/* Gallery 行 */
.gallery-row{
  display:grid;grid-template-columns:repeat(4,1fr);gap:14px;
  max-width:1050px;margin:0 auto;
}
.gallery-row-3{grid-template-columns:repeat(3,1fr)}
.gallery-card-wide{aspect-ratio:16/9}

/* 视频 */
.video-featured{
  max-width:900px;margin:0 auto;
  aspect-ratio:16/9;border-radius:24px;overflow:hidden;
  background:linear-gradient(135deg,var(--bg-strong) 0%,var(--bg) 100%);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  cursor:pointer;transition:transform .4s ease;
  position:relative;
}
.video-featured:hover{transform:scale(1.015)}
.video-featured::before{
  content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse,transparent 50%,rgba(0,0,0,.3));
}
.play-icon-lg{font-size:3.5rem;opacity:.7;position:relative;z-index:1}
.video-featured-info{text-align:center;position:relative;z-index:1;margin-top:16px}
.video-featured-info h3{margin:0 0 4px;font-size:1.3rem}
.video-featured-info p{margin:0;color:var(--text-2);font-size:.95rem}

.video-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:20px;
  max-width:1050px;margin:0 auto;
}
.video-card{
  border-radius:16px;overflow:hidden;
  background:var(--bg);
  transition:transform .4s ease;cursor:pointer;
}
.video-card:hover{transform:scale(1.02)}
.video-thumb{
  aspect-ratio:16/9;
  background:linear-gradient(135deg,var(--bg-strong),var(--bg));
  display:flex;align-items:center;justify-content:center;
}
.play-icon-sm{font-size:2rem;opacity:.5}
.video-card-info{padding:16px;text-align:left}
.video-card-info h4{margin:0 0 4px;font-size:1.05rem}
.video-card-info p{margin:0;color:var(--text-2);font-size:.85rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* 正文区域 */
.page-body{padding:32px 0}
.page-body p{max-width:680px}
