:root {
  --bg: #f6f7f5;
  --surface: #ffffff;
  --text: #202521;
  --muted: #647068;
  --line: #dfe5df;
  --brand: #ff6900;
  --brand-dark: #d94f00;
  --accent: #c34836;
  --ink-soft: #fff3e8;
  --shadow: 0 18px 48px rgba(33, 43, 37, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, "Microsoft YaHei", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.topbar {
  z-index: 20;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18);
}

.topbar__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 24px;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.92);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  min-height: 68px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
}

.show-header {
  background: #f5f8f7;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.show-header__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(320px, 420px);
  gap: 18px 32px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px 0;
}

.show-header__brand {
  font-size: 20px;
}

.header-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 68px;
  overflow: hidden;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: #fff;
}

.header-search input {
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  outline: 0;
}

.header-search button {
  border: 0;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.show-header .nav {
  grid-column: 1 / 2;
  align-self: end;
  gap: 28px;
}

.show-header .nav > a,
.category-menu summary {
  position: relative;
  padding: 0 0 22px;
  cursor: pointer;
  list-style: none;
}

.show-header .nav > a.is-active {
  color: var(--brand);
}

.show-header .nav > a.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--brand);
}

.category-menu {
  position: static;
}

.category-menu summary::-webkit-details-marker {
  display: none;
}

.category-menu summary::after {
  content: "▾";
  margin-left: 6px;
  color: var(--muted);
  font-size: 11px;
}

.category-menu__panel {
  position: absolute;
  top: calc(100% - 10px);
  left: 24px;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 8px;
  width: min(650px, calc(100vw - 36px));
  max-height: 360px;
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.mobile-note,
.qr-menu {
  grid-column: 2 / 3;
  justify-self: end;
  align-self: end;
  padding-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
}

.qr-menu {
  position: relative;
}

.qr-menu summary {
  cursor: default;
  list-style: none;
}

.qr-menu summary::-webkit-details-marker {
  display: none;
}

.qr-menu__panel {
  position: absolute;
  right: 0;
  top: 28px;
  z-index: 35;
  display: none;
  gap: 8px;
  justify-items: center;
  width: 178px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.qr-menu:hover .qr-menu__panel {
  display: grid;
}

.qr-menu__panel img {
  width: 150px;
  height: 150px;
}

.qr-menu__panel small {
  color: var(--muted);
}

.notice-strip {
  padding: 18px 24px;
  background: #f4f4f4;
  color: var(--text);
  text-align: center;
}

.contact-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px 80px;
}

.contact-profile {
  max-width: 680px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(35, 44, 38, 0.07);
}

.contact-profile h1 {
  margin: 0 0 22px;
  font-size: 26px;
}

.contact-profile dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.contact-profile dl div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.contact-profile dt {
  color: var(--muted);
}

.contact-profile dd {
  margin: 0;
}

.contact-profile a {
  color: var(--brand-dark);
  font-weight: 800;
}

.hero {
  background: linear-gradient(110deg, rgba(255, 105, 0, 0.92), rgba(166, 68, 0, 0.8)),
    url("https://images.unsplash.com/photo-1523398002811-999ca8dec234?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: #fff;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  max-width: 1180px;
  min-height: 160px;
  margin: 0 auto;
  padding: 28px 24px 22px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(26px, 4.2vw, 44px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero__copy {
  max-width: 620px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.5;
}

.hero code {
  color: #fff;
}

.contact-strip {
  display: grid;
  gap: 6px;
  min-width: 210px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.contact-strip span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  text-transform: uppercase;
}

.contact-strip a {
  font-weight: 800;
}

.toolbar,
.category-panel,
.albums {
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: 24px;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding-top: 20px;
}

.search {
  position: relative;
  display: block;
}

.search input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px 0 44px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  outline: none;
}

.search input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255, 105, 0, 0.16);
}

.search__icon {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 22px;
}

.view-tools {
  display: flex;
  gap: 8px;
}

.icon-button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
}

.icon-button.is-active {
  border-color: var(--brand);
  color: var(--brand-dark);
  background: var(--ink-soft);
}

.category-panel {
  padding-top: 18px;
}

.category-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
}

.category-panel h2 {
  margin: 0;
  font-size: 18px;
}

.category-panel__head span {
  color: var(--muted);
  font-size: 14px;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-chip {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.category-menu .category-chip {
  min-height: 34px;
  justify-content: flex-start;
  padding: 0 10px;
  text-align: left;
  white-space: nowrap;
}

.category-chip.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.albums {
  padding-top: 34px;
  padding-bottom: 72px;
}

.category-section + .category-section {
  margin-top: 44px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-size: 25px;
  font-weight: 800;
}

.section-title::before {
  content: "";
  width: 5px;
  height: 28px;
  background: var(--brand);
  border-radius: 999px;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 18px;
}

.album-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(35, 44, 38, 0.07);
}

.albums.is-compact .album-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}

.album-card__media-button,
.album-card__title-button {
  display: grid;
  width: 100%;
  padding: 0;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.album-card:hover {
  border-color: rgba(255, 105, 0, 0.6);
  transform: translateY(-2px);
  transition: border-color 160ms ease, transform 160ms ease;
}

.album-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: #fff1e5;
}

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

.album-card__thumbs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 6px 9px 0;
  background: var(--surface);
}

.album-card__thumb {
  display: block;
  min-width: 0;
  aspect-ratio: 1 / 1;
  padding: 2px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: none;
  cursor: pointer;
}

.album-card__thumb.is-active {
  border-color: var(--brand);
}

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

.image-count {
  position: absolute;
  z-index: 1;
  justify-self: end;
  margin: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(23, 30, 26, 0.66);
  color: #fff;
  font-size: 12px;
}

.album-card__title-button {
  display: grid;
  align-items: center;
  min-height: 54px;
  padding: 12px 14px;
}

.album-card__title-button strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.albums.is-compact .album-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
}

.albums.is-compact .album-card__media {
  aspect-ratio: auto;
  height: 94px;
}

.albums.is-compact .album-card__title-button {
  align-content: center;
}

.albums.is-compact .album-card__thumbs {
  display: none;
}

.empty-state {
  padding: 34px;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.pagination__button {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
}

.pagination__button.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.pagination__button:disabled {
  color: #a8b0aa;
  cursor: default;
  opacity: 0.55;
}

.floating-support {
  position: fixed;
  z-index: 80;
  right: max(16px, env(safe-area-inset-right));
  top: 60vh;
  display: grid;
  gap: 12px;
  transform: translateY(-50%);
}

.floating-support__item {
  position: relative;
}

.floating-support__button {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  padding: 0;
  color: #fff;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(17, 24, 20, 0.2);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.floating-support__item:hover .floating-support__button,
.floating-support__button:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(17, 24, 20, 0.26);
}

.floating-support__button svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.floating-support__button span {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  padding: 7px 10px;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  background: rgba(17, 24, 20, 0.86);
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translate(6px, -50%);
  transition: opacity 140ms ease, transform 140ms ease;
}

.floating-support__item:hover .floating-support__button span,
.floating-support__button:hover span {
  opacity: 1;
  transform: translate(0, -50%);
}

.floating-support__item.is-wechat .floating-support__button {
  background: #07c160;
}

.floating-support__item.is-whatsapp .floating-support__button {
  background: #25d366;
}

.floating-support__top {
  background: var(--brand);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.floating-support__top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-support__top.is-visible:hover {
  transform: translateY(0) scale(1.08);
}

.floating-support__qr {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  z-index: 82;
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 260px;
  padding: 16px;
  color: var(--text);
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(17, 24, 20, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity 140ms ease, transform 140ms ease;
}

.floating-support__item:hover .floating-support__qr,
.floating-support__item.is-open .floating-support__qr {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%);
}

.floating-support__qr img {
  width: 220px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.floating-support__qr strong {
  color: var(--brand-dark);
  font-size: 17px;
}

.floating-support__qr b {
  color: var(--brand-dark);
  font-size: 15px;
  line-height: 1.25;
}

.floating-support__qr small {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}

.album-dialog {
  position: relative;
  width: min(1000px, calc(100vw - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.album-dialog.is-album-page {
  width: min(1120px, calc(100vw - 28px));
}

.album-dialog::backdrop {
  background: rgba(15, 21, 18, 0.58);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.dialog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  min-height: 560px;
  background: var(--surface);
}

.album-dialog.is-album-page .dialog-grid {
  display: block;
  min-height: auto;
}

.dialog-media {
  display: block;
  padding: 18px;
  background: #fff3e8;
  overflow: hidden;
  max-height: 82vh;
}

.album-dialog.is-album-page .dialog-media {
  max-height: 86vh;
  overflow: auto;
  padding: 24px 28px 34px;
  background: #fff;
}

.album-dialog.is-album-page .dialog-info {
  display: none;
}

.album-detail__breadcrumb {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

.album-detail__header {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.album-detail__cover {
  width: 136px;
  height: 136px;
  padding: 4px;
  border: 1px solid var(--line);
  background: #fff;
}

.album-detail__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-detail__meta h2 {
  margin: 0 0 74px;
  font-size: 20px;
  font-weight: 500;
}

.album-detail__meta h2 span {
  margin: 0 8px;
  color: var(--muted);
}

.album-detail__actions {
  display: flex;
  gap: 10px;
}

.album-detail__actions a,
.album-detail__actions button {
  min-width: 86px;
  padding: 8px 14px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-dark);
  text-align: center;
  font-size: 14px;
  cursor: pointer;
}

.album-detail__tabs {
  display: flex;
  align-self: end;
  border: 1px solid #cfd8d2;
  border-radius: 8px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
}

.album-detail__tabs button {
  padding: 8px 16px;
  border: 0;
  border-right: 1px solid #cfd8d2;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
}

.album-detail__tabs button:last-child {
  border-right: 0;
}

.album-detail__tabs button.is-active {
  color: var(--brand-dark);
  background: var(--ink-soft);
}

.album-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 22px 16px;
}

.album-photo-grid.is-thumb {
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 12px;
}

.album-photo-grid.is-large {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  gap: 28px;
}

.album-photo-card {
  position: relative;
  display: grid;
  gap: 7px;
  min-width: 0;
}

.album-photo-card__open {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.album-photo-card.is-selected .album-photo-card__image {
  outline: 3px solid var(--brand);
  outline-offset: -3px;
}

.copy-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 20px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 105, 0, 0.28);
  border-radius: 8px;
  background: #fff3e8;
}

.copy-tools strong,
.copy-tools span {
  display: block;
}

.copy-tools strong {
  margin-bottom: 3px;
  color: var(--brand-dark);
}

.copy-tools span {
  color: var(--muted);
  font-size: 13px;
}

.copy-tools__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.copy-tools button,
.copy-select {
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-dark);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}

.copy-tools button {
  min-height: 32px;
  padding: 0 12px;
}

.copy-select {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  min-height: 28px;
  padding: 0 10px;
  box-shadow: 0 6px 16px rgba(20, 35, 27, 0.14);
}

.album-photo-card.is-selected .copy-select {
  background: var(--brand);
  color: #fff;
}

.collage-preview {
  position: absolute;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(12, 18, 15, 0.72);
}

.collage-preview__panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(760px, calc(100vw - 36px));
  height: min(820px, calc(100vh - 36px));
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.collage-preview__panel header,
.collage-preview__panel footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.collage-preview__panel footer {
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.collage-preview__panel button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: #fff;
  color: var(--brand-dark);
  cursor: pointer;
  font: inherit;
}

.collage-preview__panel [data-collage-close] {
  width: 34px;
  padding: 0;
  border-color: var(--line);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}

.collage-preview__stage {
  min-height: 0;
  overflow: auto;
  padding: 14px;
  background: #fff3e8;
}

.collage-preview__stage img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.album-photo-card__image {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff1e5;
}

.album-photo-grid.is-large .album-photo-card__image {
  aspect-ratio: auto;
  background: #f3f5f3;
}

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

.album-photo-grid.is-large .album-photo-card__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.album-photo-card strong,
.album-photo-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.album-photo-card strong {
  font-size: 13px;
  font-weight: 400;
}

.album-photo-card small {
  color: var(--muted);
  font-size: 13px;
}

.album-photo-grid.is-thumb .album-photo-card strong,
.album-photo-grid.is-thumb .album-photo-card small {
  display: none;
}

.album-photo-grid.is-large .album-photo-card strong {
  font-size: 14px;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 0;
  background: rgba(14, 20, 17, 0.78);
}

.image-lightbox__shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #4b4f4b;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
}

.image-lightbox__image-pane {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  min-width: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.image-lightbox__stage {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
  padding: 28px 70px 28px;
}

.image-lightbox__stage img {
  max-width: 100%;
  max-height: min(78vh, 720px);
  object-fit: contain;
  background: #fff;
}

.image-lightbox__counter {
  position: absolute;
  top: 16px;
  left: 18px;
  color: #fff;
  font-size: 14px;
}

.image-lightbox__close,
.image-lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.image-lightbox__close {
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  z-index: 2;
  font-size: 28px;
}

.image-lightbox__nav {
  top: 50%;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  font-size: 40px;
  line-height: 1;
}

.image-lightbox__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.image-lightbox__nav--prev {
  left: 18px;
}

.image-lightbox__nav--next {
  right: 18px;
}

.image-lightbox__bottom {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 12px 14px 14px;
}

.image-lightbox__bottom a,
.image-lightbox__bottom button {
  min-height: 30px;
  padding: 0 14px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: transparent;
  color: #ffb366;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}

.image-lightbox__bottom button:nth-child(2) {
  background: #fff;
  color: var(--brand-dark);
}

.image-lightbox__thumbs {
  display: flex;
  gap: 8px;
  min-height: 74px;
  padding: 0 14px 14px;
  overflow-x: auto;
}

.image-lightbox__thumb {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  background: #fff;
  cursor: pointer;
}

.image-lightbox__thumb.is-active {
  border-color: var(--brand);
}

.image-lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-lightbox__info {
  padding: 42px 28px;
  color: #fff;
  background: #464946;
}

.image-lightbox__info h3 {
  margin: 0 0 22px;
  font-size: 20px;
  font-weight: 500;
}

.image-lightbox__info dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.image-lightbox__info dt {
  color: #fff;
  font-size: 14px;
}

.image-lightbox__info dd {
  margin: 0 0 10px;
  color: #ffb366;
  font-size: 14px;
}

.image-viewer {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  height: 100%;
  min-height: 520px;
}

.image-viewer__stage {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  background: #ffe0c2;
  border-radius: 8px;
}

.image-viewer__stage img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: calc(82vh - 126px);
  object-fit: contain;
}

.image-viewer__counter {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(18, 26, 22, 0.68);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.image-viewer__nav {
  position: absolute;
  top: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
}

.image-viewer__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.image-viewer__nav--prev {
  left: 12px;
}

.image-viewer__nav--next {
  right: 12px;
}

.image-viewer__thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.image-viewer__thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #ffe0c2;
  cursor: pointer;
}

.image-viewer__thumb.is-active {
  border-color: var(--brand);
}

.image-viewer__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dialog-info {
  padding: 44px 30px 30px;
}

.dialog-info h2 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.12;
}

.dialog-info p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.spec-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  color: var(--muted);
}

.spec-list dd {
  margin: 0;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 800;
}

.primary-action {
  background: var(--brand);
  color: #fff;
}

.secondary-action {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

  @media (max-width: 760px) {
  .topbar__inner,
  .topbar__bar,
  .show-header__inner,
  .hero__inner,
  .toolbar,
  .category-panel,
  .albums {
    padding-inline: 16px;
  }

  .topbar__inner {
    min-height: 62px;
  }

  .brand small {
    display: none;
  }

  .show-header__inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 20px;
  }

  .header-search,
  .show-header .nav,
  .mobile-note {
    grid-column: 1;
  }

  .show-header .nav {
    gap: 18px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .category-menu__panel {
    right: 16px;
    left: 16px;
    width: auto;
    grid-template-columns: 1fr;
  }

  .floating-support {
    right: max(10px, env(safe-area-inset-right));
    top: 60vh;
    gap: 9px;
  }

  .floating-support__button {
    width: 48px;
    height: 48px;
  }

  .floating-support__button svg {
    width: 27px;
    height: 27px;
  }

  .floating-support__button span {
    display: none;
  }

  .floating-support__qr {
    right: calc(100% + 10px);
    width: min(230px, calc(100vw - 82px));
    padding: 12px;
  }

  .floating-support__qr img {
    width: min(190px, calc(100vw - 122px));
  }

  .copy-tools {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-note,
  .qr-menu {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    min-height: 220px;
    padding-top: 28px;
  }

  .contact-strip {
    min-width: 0;
  }

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

  .view-tools {
    justify-content: end;
  }

  .album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .album-card__title-button {
    min-height: 58px;
    padding: 11px;
  }

  .album-card__title-button strong {
    white-space: normal;
  }

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

  .dialog-media {
    max-height: none;
    overflow: visible;
  }

  .album-dialog.is-album-page .dialog-media {
    padding: 18px 14px 28px;
  }

  .album-detail__header {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
  }

  .album-detail__cover {
    width: 92px;
    height: 92px;
  }

  .album-detail__meta h2 {
    margin-bottom: 18px;
    font-size: 18px;
  }

  .album-detail__tabs {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .album-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 10px;
  }

  .image-viewer {
    min-height: 360px;
  }

  .image-viewer__stage {
    min-height: 320px;
  }

  .image-viewer__stage img {
    max-height: 58vh;
  }

  .image-viewer__thumb {
    flex-basis: 60px;
    width: 60px;
    height: 60px;
  }

  .dialog-info {
    padding: 28px 18px 20px;
  }

  .image-lightbox__shell {
    grid-template-columns: 1fr;
    height: min(760px, calc(100vh - 24px));
  }

  .image-lightbox__info {
    display: none;
  }

  .image-lightbox__stage {
    padding: 46px 48px 22px;
  }

  .image-lightbox__stage img {
    max-width: 82%;
    max-height: 56vh;
  }
}

@media (max-width: 430px) {
  .album-grid {
    grid-template-columns: 1fr;
  }

  .albums.is-compact .album-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }
}
