:root {
  --bg-page: #eef1f4;
  --surface-solid: #ffffff;
  --ink: #1a1f27;
  --ink-muted: #66707c;
  --line: rgba(26, 31, 39, 0.1);
  --accent: #1f6f78;
  --accent-hover: #17585f;
  --accent-soft: rgba(31, 111, 120, 0.12);
  --chip-idle: #e7ebef;
  --shadow: 0 10px 28px rgba(26, 31, 39, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --font-display: "PingFang TC", "Hiragino Sans CNS", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --font-body: "PingFang TC", "Hiragino Sans CNS", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --overlay: rgba(12, 16, 20, 0.72);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

button,
input,
select,
textarea {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-page);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 28px 64px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

header {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.container h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: var(--ink);
  border: none;
  padding: 0;
}

header p {
  margin: 0 0 12px;
  max-width: 36em;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-menu {
  position: relative;
  flex-shrink: 0;
}

.site-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-solid);
  color: var(--ink);
  cursor: pointer;
}

.site-menu-toggle:hover,
.site-menu-toggle[aria-expanded="true"] {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent);
}

.site-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  min-width: 168px;
  padding: 8px;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.site-menu-panel a {
  display: block;
  padding: 10px 12px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-menu-panel a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.ghost-btn,
.text-btn {
  padding: 8px 12px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.text-btn {
  border: none;
  padding: 6px 4px;
  color: var(--accent);
}

.ghost-btn:hover,
.text-btn:hover {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: transparent;
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.sync-google-btn {
  padding: 10px 18px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--surface-solid);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.sync-google-btn:hover:not(:disabled) {
  background: var(--accent-soft);
}

.sync-google-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.data-source-banner {
  margin: 14px 0 0;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  line-height: 1.45;
}

.data-source-banner.is-local {
  color: #7a4d00;
  background: #fff6e5;
  border: 1px solid #f0d9a8;
}

.data-source-banner.is-google {
  color: var(--accent-hover);
  background: var(--accent-soft);
  border: 1px solid rgba(31, 111, 120, 0.25);
}

.filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 10px;
  padding: 0;
  background: transparent;
  border: none;
}

.chip-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.chip-row::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  background: var(--chip-idle);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

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

.chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.filter-search-input,
.filter-search input {
  width: 100%;
  max-width: none;
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
}

.filter-search-input:focus,
.filter-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.filter-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 18px;
}

.filter-summary {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.filter-status-actions {
  display: flex;
  gap: 12px;
}

.empty-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 36px;
}

.photo-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: #d8dee4;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.35s var(--ease);
}

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

.photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.photo-card:hover img {
  transform: scale(1.04);
}

a.album-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.album-card .media-frame {
  height: auto;
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.album-card-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px 12px;
  background: var(--overlay);
  color: #fff;
}

.album-card-text {
  min-width: 0;
}

.album-card-text h3 {
  margin: 0 0 2px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.album-card-text p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
}

.album-count-pill {
  flex-shrink: 0;
  min-width: 2.1em;
  padding: 4px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  color: var(--accent);
  background: #fff;
  border-radius: 999px;
}

.album-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.album-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.album-header .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  background: none;
  border-radius: 0;
}

.album-header .back-link:hover {
  color: var(--accent-hover);
  transform: none;
  background: none;
}

.album-header #shareStatus {
  min-height: 1.2em;
  margin: 0 0 8px;
}

.album-header h1 {
  margin: 4px 0 8px;
  font-size: clamp(1.45rem, 3.4vw, 2rem);
}

.album-header #albumMeta {
  margin: 0 0 8px;
  color: var(--ink-muted);
}

.album-header #albumDescription {
  margin: 0;
  color: var(--ink-muted);
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.thumb-card {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-solid);
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.thumb-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 111, 120, 0.3);
  box-shadow: 0 10px 24px rgba(28, 36, 48, 0.1);
}

.thumb-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.thumb-card:hover img {
  transform: scale(1.05);
}

.load-more-sentinel {
  height: 48px;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin: 8px 0 12px;
}

.load-more-btn {
  padding: 12px 28px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--surface-solid);
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.load-more-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.load-more-btn[hidden] {
  display: none;
}

.load-more-status {
  margin: 8px 0 16px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.upload-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 720px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 96px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.upload-progress {
  margin: 12px 0 4px;
}

.upload-progress-track {
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  overflow: hidden;
}

.upload-progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 0.25s ease;
}

.new-album-fields {
  padding: 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.submit-btn,
.reset-btn {
  padding: 12px 22px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.submit-btn {
  border: none;
  color: var(--surface-solid);
  background: var(--accent);
}

.submit-btn:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.reset-btn {
  color: var(--ink-muted);
  background: transparent;
  border: 1px solid var(--line);
}

.reset-btn:hover {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: transparent;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.form-status.is-success {
  color: var(--accent);
  font-weight: 600;
}

.form-status.is-error {
  color: #b42318;
  font-weight: 600;
}

.admin-gate {
  max-width: 420px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-gate h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
}

.admin-gate > p {
  margin: 0 0 18px;
  color: var(--ink-muted);
}

.admin-gate-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-gate-form .submit-btn {
  align-self: flex-start;
}

.google-signin-wrap {
  min-height: 44px;
  margin: 8px 0 4px;
}

.google-signin-wrap > div {
  display: inline-block;
}

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

.pagination button {
  min-width: 40px;
  padding: 8px 14px;
  margin: 0;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pagination button:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.pagination button.active {
  background: var(--accent);
  color: var(--surface-solid);
}

.pagination button:not(:first-child) {
  margin-left: 0;
}

.loading,
.no-photos {
  margin-top: 24px;
  padding: 36px 20px;
  text-align: center;
  color: var(--ink-muted);
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  box-shadow: none;
}

.page-loading {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 10px 16px 12px;
  background: color-mix(in srgb, var(--surface-solid) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.page-loading-track {
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  overflow: hidden;
}

.page-loading-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 0.25s ease;
}

.page-loading-fill.is-indeterminate {
  transition: width 0.12s linear;
}

.page-loading-text {
  margin: 8px 0 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
  text-align: center;
}

.media-frame {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(28, 36, 48, 0.06) 25%, rgba(28, 36, 48, 0.12) 37%, rgba(28, 36, 48, 0.06) 63%);
  background-size: 200% 100%;
  animation: mediaShimmer 1.2s ease-in-out infinite;
}

.thumb-card .media-frame {
  height: 100%;
  min-height: 140px;
  aspect-ratio: 4 / 3;
}

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

.media-frame img.is-loading {
  opacity: 0;
}

.media-frame img.is-broken {
  opacity: 0.35;
}

@keyframes mediaShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(18, 28, 36, 0.72);
  backdrop-filter: blur(4px);
}

.modal.is-visible {
  display: flex;
  animation: modalFadeIn 0.28s var(--ease);
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  position: relative;
  display: block;
  width: min(900px, calc(100vw - 40px));
  max-width: 900px;
  max-height: calc(100vh - 40px);
  margin: 0;
  padding: 24px;
  overflow: auto;
  box-sizing: border-box;
  background: var(--surface-solid);
  border-radius: 16px;
}

.viewer-modal {
  padding: 0;
  background: #0b0d10;
}

.viewer-modal.is-visible {
  display: flex;
}

.viewer-modal .modal-content.viewer {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  height: 100vh;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  animation: none;
}

.viewer-modal .modal-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 88px 12px;
  background: transparent;
}

.viewer-modal .modal-stage img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  margin: 0;
  background: transparent;
}

.viewer-modal .modal-nav {
  position: fixed;
  top: 50%;
  z-index: 100001;
  width: 56px;
  height: 56px;
  margin-top: -28px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

.viewer-modal .modal-nav:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.28);
}

.viewer-modal .modal-nav:disabled {
  opacity: 0.2;
  cursor: default;
}

.viewer-modal .modal-nav-prev { left: 20px; }
.viewer-modal .modal-nav-next { right: 20px; }

.viewer-modal .modal-close {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 100001;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.viewer-modal .modal-details {
  flex-shrink: 0;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 8px 24px 24px;
  text-align: center;
}

.viewer-modal .modal-details h2 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.viewer-modal .modal-details p {
  margin: 0 0 4px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

.viewer-modal .modal-counter {
  margin: 0 0 6px !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45) !important;
}

.modal-details {
  display: block;
  width: 100%;
  padding-top: 18px;
  box-sizing: border-box;
}

.modal-details h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}

.modal-details h2,
.modal-details p {
  display: block;
  width: 100%;
  writing-mode: horizontal-tb;
  white-space: normal;
}

.modal-details p {
  margin: 0 0 6px;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.modal-details p:last-child {
  margin-top: 10px;
  color: var(--ink);
  line-height: 1.55;
}

.viewer-modal .modal-details p:last-child {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.7);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--surface-solid);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  background: var(--accent);
  transform: scale(1.05);
}

@media (max-width: 720px) {
  .container {
    margin: 0;
    max-width: none;
    padding: 12px 16px 36px;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .filters {
    position: sticky;
    top: 0;
    z-index: 30;
    margin: 0 -16px 8px;
    padding: 8px 16px 10px;
    background: var(--bg-page);
    border-bottom: 1px solid var(--line);
  }

  .filter-search-input,
  .filter-search input {
    max-width: none;
  }

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

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

  .viewer-modal .modal-stage {
    padding: 52px 16px 8px;
  }

  .viewer-modal .modal-nav {
    width: 44px;
    height: 44px;
    margin-top: -22px;
    font-size: 30px;
  }

  .viewer-modal .modal-nav-prev { left: 8px; }
  .viewer-modal .modal-nav-next { right: 8px; }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
  }

  .submit-btn,
  .reset-btn {
    width: 100%;
  }
}

@media (min-width: 900px) {
  .container {
    max-width: 1320px;
    padding: 28px 48px 80px;
  }

  .filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: center;
    column-gap: 20px;
    row-gap: 8px;
  }

  #yearChips {
    grid-column: 1;
    grid-row: 1;
  }

  .filter-search-input {
    grid-column: 2;
    grid-row: 1;
    width: 260px;
    justify-self: end;
  }

  #monthChips {
    grid-column: 1 / -1;
    grid-row: 2;
  }

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

  .thumb-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
  }

  .album-card .media-frame {
    aspect-ratio: 16 / 10;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1440px;
  }

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

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