:root {
  --bg: #0f0f0f;
  --bg-soft: #161616;
  --card: #171717;
  --card-hover: #1f1f1f;
  --text: #ececec;
  --muted: #949494;
  --border: #262626;
  --accent: #d4b483;
  --accent-soft: rgba(212, 180, 131, .14);
  --shadow: 0 18px 44px rgba(0, 0, 0, .55);
  --nav-bg: rgba(15, 15, 15, .72);
  --overlay: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.28) 45%, rgba(0,0,0,0) 72%);
}
html.light {
  --bg: #fbfbfb;
  --bg-soft: #f2f2f2;
  --card: #ffffff;
  --card-hover: #ffffff;
  --text: #1a1a1a;
  --muted: #6b7280;
  --border: #e7e7e7;
  --accent: #a9843f;
  --accent-soft: rgba(169, 132, 63, .12);
  --shadow: 0 16px 40px rgba(0, 0, 0, .13);
  --nav-bg: rgba(251, 251, 251, .8);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  transition: background-color .35s ease, color .35s ease;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
.hidden { display: none !important; }

/* ---------------- nav ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background-color .35s, border-color .35s, backdrop-filter .35s;
}
.nav.solid { background: var(--nav-bg); backdrop-filter: saturate(160%) blur(16px); border-bottom-color: var(--border); }
.nav-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 26px;
  height: 64px; display: flex; align-items: center; gap: 24px;
}
.brand { font-size: 17px; font-weight: 700; letter-spacing: .18em; font-family: 'Noto Serif SC', serif; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 14px; letter-spacing: .06em; transition: color .2s; position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px;
  background: var(--accent); transition: right .3s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { right: 0; }
.icon-btn {
  background: none; border: none; color: var(--muted);
  padding: 8px; border-radius: 50%; display: grid; place-items: center;
  transition: background-color .2s, color .2s;
}
.icon-btn:hover { background: var(--accent-soft); color: var(--accent); }
.menu-btn { display: none; }
.ico-moon { display: none; }
html.light .ico-sun { display: none; }
html.light .ico-moon { display: block; }

/* ---------------- hero ---------------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: flex-end;
  padding: 0 26px 12vh; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; background: #050505; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 8s ease; }
.hero-media img.loaded { opacity: .92; transform: scale(1); }
/* 轮播：多张深空图叠放，靠 .active 交叉淡入淡出 */
.hero-media img.hero-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity 1.6s ease, transform 14s ease; }
.hero-media img.hero-slide.active { opacity: .92; transform: scale(1); }
.hero-shade { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.5) 42%, rgba(0,0,0,.25) 70%, rgba(0,0,0,.5) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 1440px; margin: 0 auto; width: 100%; color: #f5f5f5; }
.hero-kicker { font-size: 12px; letter-spacing: .5em; color: rgba(255,255,255,.62); margin: 0 0 18px; text-transform: uppercase; }
.hero h1 {
  font-size: clamp(40px, 7.2vw, 88px); margin: 0 0 14px; font-weight: 700;
  letter-spacing: .1em; font-family: 'Noto Serif SC', serif; line-height: 1.1;
  text-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.hero-sub { font-size: clamp(15px, 1.6vw, 19px); letter-spacing: .22em; color: var(--accent); margin: 0 0 22px; }
.hero-note { max-width: 620px; font-size: 14.5px; line-height: 2; color: rgba(255,255,255,.78); margin: 0; }
.hero-stats { margin-top: 34px; display: flex; gap: 34px; flex-wrap: wrap; color: rgba(255,255,255,.62); font-size: 13px; }
.hero-stats b { display: block; font-size: 22px; color: #fff; font-weight: 600; letter-spacing: .04em; margin-bottom: 3px; }
.hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; color: rgba(255,255,255,.5); font-size: 11px; letter-spacing: .3em; animation: bob 2.6s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); opacity: .5; } 50% { transform: translate(-50%, 8px); opacity: .95; } }

/* ---------------- page shell ---------------- */
.page { max-width: 1440px; margin: 0 auto; padding: 76px 26px 110px; }
.page-head { margin: 0 0 40px; }
.page-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 12px; font-weight: 600; font-family: 'Noto Serif SC', serif; letter-spacing: .08em; }
.page-head p { color: var(--muted); font-size: 14.5px; line-height: 1.95; max-width: 720px; margin: 0; }
.eyebrow { font-size: 12px; letter-spacing: .4em; color: var(--accent); text-transform: uppercase; margin: 0 0 14px; }
.divider { height: 1px; background: var(--border); margin: 0 0 34px; }

/* ---------------- toolbar ---------------- */
.feed-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.feed-note { color: var(--muted); font-size: 14px; line-height: 2; max-width: 760px; margin: 0; }
.seg { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 11px; padding: 4px; gap: 2px; }
.seg button {
  background: none; border: none; color: var(--muted); font-size: 13px;
  padding: 8px 16px; border-radius: 8px; transition: all .2s; white-space: nowrap;
}
.seg button:hover { color: var(--text); }
.seg button.active { background: var(--accent-soft); color: var(--accent); font-weight: 500; }

/* ---------------- feed / photo grid ---------------- */
.feed { margin-top: 8px; }
.feed.compact {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.feed.compact .ph { aspect-ratio: 4 / 3; }
.feed.wide { columns: 4 260px; column-gap: 14px; }
.feed.wide .ph { width: 100%; margin: 0 0 14px; break-inside: avoid; }
.feed.wide .ph img { width: 100%; height: auto; }
.ph {
  position: relative; overflow: hidden; border-radius: 10px; background: var(--bg-soft);
  cursor: pointer; border: 1px solid var(--border);
}
.feed.compact .ph img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease, transform .8s ease; }
.feed.compact .ph img.loaded { opacity: 1; }
.feed.wide .ph img { opacity: 0; transition: opacity .6s ease, transform .8s ease; }
.feed.wide .ph img.loaded { opacity: 1; }
.ph:hover img { transform: scale(1.045); }
.ph-cap {
  position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px;
  background: var(--overlay); color: #fff; opacity: 0; transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
}
.ph:hover .ph-cap { opacity: 1; transform: translateY(0); }
.ph-cap .t { font-size: 13px; font-weight: 500; line-height: 1.45; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph-cap .m { font-size: 11px; color: rgba(255,255,255,.72); margin-top: 4px; display: flex; gap: 8px; align-items: center; }
.tag { display: inline-block; font-size: 10.5px; padding: 1px 8px; border-radius: 20px; background: var(--accent-soft); color: var(--accent); letter-spacing: .06em; }
.ph-cap .tag { background: rgba(255,255,255,.16); color: #fff; }

/* ---------------- dual-track split view (home): 4 columns, 2 per side ---------------- */
.split-view { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.split-col { min-width: 0; }
.col-head {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border);
}
.col-ico { font-size: 17px; }
.col-name { font-size: 20px; font-weight: 600; letter-spacing: .1em; font-family: 'Noto Serif SC', serif; }
.col-sub { font-size: 12px; color: var(--muted); letter-spacing: .06em; margin-right: auto; }
.col-more { font-size: 12.5px; color: var(--accent); letter-spacing: .06em; }
.col-more:hover { text-decoration: underline; }
.split-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.split-grid .ph { aspect-ratio: 4 / 3; }
.split-grid .ph img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease, transform .8s ease; }
.split-grid .ph img.loaded { opacity: 1; }
.split-grid .ph-cap { padding: 24px 11px 10px; }
.split-grid .ph-cap .t { font-size: 12px; }

/* ---------------- four-column grid (group page) ---------------- */
.feed.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.feed.grid4 .ph { aspect-ratio: 4 / 3; }
.feed.grid4 .ph img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease, transform .8s ease; }
.feed.grid4 .ph img.loaded { opacity: 1; }

.more-btn.small { min-width: 0; width: 100%; margin: 18px auto 0; padding: 9px 16px; font-size: 13px; }

/* ---------------- sub-album cards ---------------- */
.sec-block { margin-bottom: 64px; }
.sec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.sec-head .ico { font-size: 22px; }
.sec-head h3 { font-size: 21px; margin: 0; font-weight: 600; letter-spacing: .06em; font-family: 'Noto Serif SC', serif; }
.sec-head .line { flex: 1; height: 1px; background: var(--border); }
.gal-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.gal-card {
  position: relative; border-radius: 14px; overflow: hidden; cursor: pointer;
  background: var(--card); border: 1px solid var(--border);
  transition: transform .4s ease, box-shadow .4s ease, border-color .25s;
}
.gal-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--accent); }
.gal-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.gal-cover img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease, transform .9s ease; }
.gal-cover img.loaded { opacity: 1; }
.gal-card:hover .gal-cover img { transform: scale(1.05); }
.gal-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.15) 55%, rgba(0,0,0,0) 100%); }
.gal-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px 20px; color: #fff; z-index: 2; }
.gal-name { font-size: 24px; font-weight: 600; letter-spacing: .1em; font-family: 'Noto Serif SC', serif; margin: 0 0 6px; }
.gal-count { font-size: 12px; color: rgba(255,255,255,.7); letter-spacing: .1em; }
.gal-desc { padding: 15px 20px 18px; color: var(--muted); font-size: 13.5px; line-height: 1.8; border-top: 1px solid var(--border); }

/* ---------------- sub-categories (albums page) ---------------- */
.sub-section { margin-top: 46px; }
.sub-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.sub-head h3 { font-size: 17px; font-weight: 600; letter-spacing: .1em; margin: 0; font-family: 'Noto Serif SC', serif; }
.sub-parent { font-size: 12px; color: var(--muted); letter-spacing: .12em; }
.sub-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.sub-chip {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 13px 16px; border: 1px solid var(--border); border-radius: 12px;
  background: var(--card); transition: border-color .25s, background-color .25s, transform .25s;
}
.sub-chip:hover { border-color: var(--accent); background: var(--card-hover); transform: translateY(-2px); }
.sub-chip-name { font-size: 14.5px; letter-spacing: .08em; }
.sub-chip-n { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.sub-chip:hover .sub-chip-n { color: var(--accent); }

/* ---------------- group detail ---------------- */
.group-hero { position: relative; min-height: 46vh; display: flex; align-items: flex-end; padding: 0 26px 46px; overflow: hidden; }
.group-hero .gmedia { position: absolute; inset: 0; background: #060606; }
.group-hero .gmedia img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.group-hero .gshade { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 2%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.55) 100%); }
.group-hero .ginner { position: relative; z-index: 2; max-width: 1440px; margin: 0 auto; width: 100%; color: #fff; }
.crumb { font-size: 12.5px; color: rgba(255,255,255,.62); margin-bottom: 14px; letter-spacing: .1em; }
.crumb a:hover { color: var(--accent); }
.group-hero h2 { font-size: clamp(30px, 4.6vw, 54px); margin: 0 0 12px; font-family: 'Noto Serif SC', serif; letter-spacing: .1em; }
.group-hero p { margin: 0; max-width: 640px; color: rgba(255,255,255,.8); font-size: 14.5px; line-height: 1.95; }
.group-meta { margin-top: 16px; font-size: 12.5px; color: rgba(255,255,255,.6); letter-spacing: .1em; }

/* ---------------- about ---------------- */
.about-wrap { max-width: 940px; margin: 0 auto; padding: 130px 26px 110px; }
.about-top { display: flex; align-items: center; gap: 28px; margin-bottom: 44px; flex-wrap: wrap; }
.about-avatar { width: 104px; height: 104px; border-radius: 50%; overflow: hidden; border: 1px solid var(--border); background: var(--bg-soft); flex: 0 0 auto; }
.about-avatar img { width: 100%; height: 100%; object-fit: cover; }
.about-top h1 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 8px; font-family: 'Noto Serif SC', serif; letter-spacing: .1em; }
.about-top .lead { color: var(--muted); font-size: 14.5px; margin: 0; }
.about-story p { font-size: 15.5px; line-height: 2.15; color: var(--text); opacity: .92; margin: 0 0 22px; }
.about-h { font-size: 19px; font-weight: 600; margin: 52px 0 20px; letter-spacing: .08em; font-family: 'Noto Serif SC', serif; display: flex; align-items: center; gap: 10px; }
.eq-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.eq-item .k { flex: 0 0 110px; color: var(--accent); font-size: 13.5px; letter-spacing: .06em; }
.eq-item .v { color: var(--muted); font-size: 14px; line-height: 1.95; }
.fp-list { display: flex; flex-wrap: wrap; gap: 10px; }
.fp {
  border: 1px solid var(--border); border-radius: 22px; padding: 8px 18px;
  font-size: 13.5px; color: var(--text); background: var(--card); transition: all .25s;
}
.fp:hover { border-color: var(--accent); color: var(--accent); }
.fp-note { color: var(--muted); font-size: 13.5px; margin-top: 16px; line-height: 1.9; }
.ct-list { display: flex; flex-direction: column; gap: 12px; }
.ct-item { display: flex; gap: 16px; font-size: 14.5px; }
.ct-item .k { flex: 0 0 110px; color: var(--accent); }
.ct-item .v { color: var(--muted); word-break: break-all; }
.ct-note { margin-top: 20px; color: var(--muted); font-size: 14px; }

/* ---------------- misc ---------------- */
.btn {
  background: var(--accent); color: #14110a; border: none; border-radius: 9px;
  padding: 11px 24px; font-size: 14px; font-weight: 600;
}
.btn.ghost { background: none; border: 1px solid var(--border); color: var(--text); font-weight: 400; }
.more-btn { display: block; margin: 34px auto 0; min-width: 300px; }
.building { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); padding: 70px 0; font-size: 14.5px; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; color: var(--muted); padding: 80px 0; font-size: 14.5px; }
.footer {
  border-top: 1px solid var(--border); padding: 30px 22px; text-align: center;
  color: var(--muted); font-size: 12.5px; display: flex; gap: 10px; justify-content: center; align-items: center;
  letter-spacing: .08em;
}
.footer a:hover { color: var(--accent); }
.footer .dot { opacity: .4; }

/* ---------------- lightbox ---------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: #050505;
  display: flex; align-items: stretch; justify-content: center;
  --lb-gal-h: min(40vh, 340px);
}
.lb-stage { flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; padding: 42px 96px calc(var(--lb-gal-h) + 26px); }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 3px; }
.lb-info {
  position: absolute; right: 0; top: 0; bottom: 0; width: 320px;
  background: rgba(12, 12, 12, .96); border-left: 1px solid rgba(255, 255, 255, .08);
  padding: 62px 24px 30px; overflow-y: auto; transform: translateX(100%);
  transition: transform .32s ease; color: #e8e8e8;
}
.lb-info.show { transform: translateX(0); }
.lb-title { font-size: 16px; font-weight: 500; margin-bottom: 6px; color: #f4f4f4; line-height: 1.6; font-family: 'Noto Serif SC', serif; letter-spacing: .04em; }
.lb-sub { font-size: 12px; color: #7f7f7f; margin-bottom: 20px; letter-spacing: .08em; }
.lb-note { font-size: 13.5px; line-height: 1.95; color: #c2c2c2; }
.lb-block { margin-bottom: 22px; }
.lb-secttl { font-size: 12px; color: var(--accent); letter-spacing: .12em; margin: 22px 0 12px; }
.lb-exif { display: flex; flex-direction: column; gap: 10px; }
.exif-row { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; border-bottom: 1px solid rgba(255, 255, 255, .07); padding-bottom: 8px; }
.exif-row .k { color: #828282; flex: 0 0 auto; }
.exif-row .v { color: #dedede; text-align: right; word-break: break-all; }
.exif-sect { font-size: 11px; letter-spacing: .18em; color: var(--accent); margin-top: 6px; padding-bottom: 5px; border-bottom: 1px solid var(--accent-soft); }
.lb-orig { display: inline-block; margin-top: 24px; color: var(--accent); font-size: 12.5px; }
button.lb-cover { display: block; margin-top: 10px; background: none; border: 1px solid rgba(212,180,131,.45); border-radius: 8px; padding: 8px 14px; cursor: pointer; font-family: inherit; transition: border-color .2s, background-color .2s; }
button.lb-cover:hover { border-color: var(--accent); background: rgba(212,180,131,.1); }
.lb-close { position: absolute; top: 14px; right: 20px; z-index: 5; background: none; border: none; color: #b9b9b9; font-size: 34px; line-height: 1; padding: 4px 10px; }
.lb-close:hover { color: #fff; }
.lb-nav { position: absolute; top: calc(50% - var(--lb-gal-h) / 2); transform: translateY(-50%); z-index: 5; background: rgba(255,255,255,.08); border: none; color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 16px; transition: background-color .2s; }
.lb-nav:hover { background: rgba(255,255,255,.2); }
.lb-prev { left: 20px; }
.lb-next { right: 340px; }
.lb-counter { position: absolute; bottom: calc(var(--lb-gal-h) + 12px); left: 50%; transform: translateX(-50%); color: #b0b0b0; font-size: 12.5px; background: rgba(0,0,0,.55); padding: 5px 15px; border-radius: 20px; letter-spacing: .08em; }

/* 灯箱底部：顶部机型筛选标签 + 全部照片的多行缩略图网格 */
.lb-thumbs {
  position: absolute; left: 0; right: 320px; bottom: 0; z-index: 8;
  height: var(--lb-gal-h); padding: 12px 16px 16px;
  overflow-y: auto; overflow-x: hidden;
  background: linear-gradient(to top, rgba(0,0,0,.94) 0%, rgba(0,0,0,.86) 55%, rgba(0,0,0,0) 100%);
  scrollbar-width: thin;
}
.lb-gal-tabs {
  position: sticky; top: -12px; z-index: 2;
  display: flex; gap: 8px; flex-wrap: wrap;
  margin: -2px -4px 10px; padding: 6px 4px 8px;
  background: rgba(0,0,0,.92);
}
.lb-gal-tab {
  display: inline-flex; align-items: baseline; gap: 7px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px; padding: 5px 14px; cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.lb-gal-tab .cam { font-size: 12px; color: #ccc; letter-spacing: .08em; font-weight: 600; font-family: 'Noto Serif SC', serif; }
.lb-gal-tab .num { font-size: 11px; color: #8a8a8a; letter-spacing: .04em; }
.lb-gal-tab:hover { border-color: rgba(255,255,255,.35); }
.lb-gal-tab.active { background: rgba(212,180,131,.14); border-color: var(--accent); }
.lb-gal-tab.active .cam { color: var(--accent); }
.lb-gal-tab.active .num { color: rgba(212,180,131,.75); }
.lb-gal-sp { flex: 1; }
.lb-gal-tool { background: none; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 5px 12px; color: #b5b5b5; font-size: 11.5px; cursor: pointer; font-family: inherit; transition: color .2s, border-color .2s, background-color .2s; }
.lb-gal-tool:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.lb-gal-tool.on { background: rgba(224,82,82,.15); border-color: #e05252; color: #ff8a8a; }
.lb-gal-tool.danger { border-color: rgba(224,82,82,.5); color: #ff8a8a; }
.lb-gal-tool.danger:hover { background: rgba(224,82,82,.15); border-color: #e05252; }
.lb-actbar { display: flex; align-items: center; gap: 12px; margin: -2px 0 10px; }
.lb-actbar .cnt { font-size: 12px; color: #ffb3b3; }
.lb-act { background: rgba(224,82,82,.15); border: 1px solid #e05252; color: #ff8a8a; border-radius: 8px; padding: 6px 16px; font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit; }
.lb-act:disabled { opacity: .35; cursor: default; }
.lb-gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 7px; }
.lb-thumb {
  position: relative;
  width: 100%; aspect-ratio: 4 / 3; padding: 0;
  border: 1px solid rgba(255,255,255,.16); border-radius: 5px;
  background: rgba(255,255,255,.05); overflow: hidden; opacity: .5;
  transition: opacity .2s, border-color .2s, transform .2s;
}
.lb-thumb.picked { opacity: 1; border-color: #e05252; }
.lb-thumb.picked::after {
  content: '✓'; position: absolute; top: 4px; right: 4px; z-index: 2;
  width: 18px; height: 18px; border-radius: 50%;
  background: #e05252; color: #fff; font-size: 11px; line-height: 18px; text-align: center;
}
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-thumb:hover { opacity: .85; }
.lb-thumb.active { opacity: 1; border-color: var(--accent); transform: translateY(-3px); }

/* ---------------- responsive ---------------- */
@media (max-width: 1100px) {
  .feed.wide { columns: 3 220px; }
  .feed.grid4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg-soft);
    border-bottom: 1px solid var(--border); padding: 6px 26px 14px;
  }
  .nav-links.open a { padding: 13px 0; border-bottom: 1px solid var(--border); }
  .menu-btn { display: grid; }
  .brand { margin-right: auto; }
  .page { padding: 40px 14px 80px; }
  .feed.compact { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
  .feed.wide { columns: 2 150px; column-gap: 8px; }
  .feed.wide .ph { margin-bottom: 8px; }
  .split-view { grid-template-columns: 1fr 1fr; gap: 12px; }
  .split-grid { grid-template-columns: 1fr; gap: 8px; }
  .col-head { gap: 6px; padding-bottom: 8px; margin-bottom: 10px; }
  .col-ico { font-size: 14px; }
  .col-name { font-size: 16px; letter-spacing: .04em; }
  .col-sub { font-size: 11px; }
  .col-more { font-size: 11px; }
  .feed.grid4 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gal-grid { grid-template-columns: 1fr; }
  .sub-section { margin-top: 34px; }
  .sub-chips { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .sub-chip { padding: 11px 13px; }
  .sub-chip-name { font-size: 13.5px; }
  .hero { min-height: 88vh; padding: 0 18px 9vh; }
  .lightbox { --lb-gal-h: 134px; }
  .lb-stage { padding: 16px 10px calc(48% + var(--lb-gal-h) + 14px); }
  .lb-nav { width: 40px; height: 40px; top: calc((100% - 48% - var(--lb-gal-h)) / 2); }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-thumbs { right: 0; bottom: 48%; height: var(--lb-gal-h); padding: 8px 10px 10px; }
  .lb-gal-grid { grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 5px; }
  .lb-thumb { width: 100%; }
  .lb-counter { bottom: calc(48% + var(--lb-gal-h) + 8px); }
  .lb-info { width: 100%; top: auto; height: 48%; border-left: none; border-top: 1px solid rgba(255,255,255,.1); padding: 22px 20px 30px; }
  .lb-info { transform: translateY(100%); }
  .lb-info.show { transform: translateY(0); }
  .about-top { gap: 18px; }
  .eq-item, .ct-item { flex-direction: column; gap: 6px; }
  .eq-item .k, .ct-item .k { flex: none; }
}

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #3a3a3a; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #555; }
html.light ::-webkit-scrollbar-thumb { background: #cfcfcf; }