:root {
  --bg: #f8faf9;
  --warm-bg: #fff9f4;
  --surface: #ffffff;
  --surface-soft: #edf3f1;
  --text: #1f2926;
  --muted: #68736f;
  --warm-text: #2f2a27;
  --warm-muted: #756960;
  --line: #dde4e1;
  --warm-line: #f0dfd5;
  --green: #2f5f59;
  --green-soft: #e8f0ee;
  --coral: #db7f67;
  --coral-soft: #f3e1d9;
  --blue-soft: #eaf0f7;
  --cream-soft: #f2efe5;
  --radius: 8px;
  --shadow: 0 18px 50px rgb(42 50 47 / 8%);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family:
    "Noto Sans KR",
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    system-ui,
    sans-serif;
}

body {
  margin: 0;
}

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

button,
input {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.app-shell {
  min-height: 100vh;
  padding-bottom: 76px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e1b2a3, #9ec3bc);
}

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

.brand strong {
  font-size: 18px;
  line-height: 1.15;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-nav a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
}

.top-nav a.is-active {
  background: var(--green-soft);
  color: var(--green);
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

.page-section,
.page-intro,
.album-detail {
  max-width: 720px;
  margin: 0 auto;
}

.page-section + .page-section,
.page-section + .soft-note {
  margin-top: 36px;
}

.warm-panel {
  background: var(--warm-bg);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 36px;
  border: 1px solid var(--warm-line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin-top: 16px;
  max-width: 920px;
  padding: 32px;
}

.eyebrow {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 14px;
}

.warm-panel .eyebrow,
.album-detail .eyebrow {
  color: #9a5c4c;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  color: var(--text);
  font-size: clamp(34px, 4.4vw, 52px);
  letter-spacing: 0;
  line-height: 1.12;
  margin-bottom: 16px;
}

.warm-panel h1 {
  color: var(--warm-text);
}

h2 {
  color: var(--text);
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 0;
}

.hero-copy,
.page-intro p,
.detail-intro p {
  color: var(--muted);
  line-height: 1.65;
}

.warm-panel .hero-copy {
  color: var(--warm-muted);
}

.hero-photo {
  align-self: start;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.hero-photo img {
  aspect-ratio: 4 / 5;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-photo span,
.detail-hero figcaption {
  background: rgb(0 0 0 / 15%);
  bottom: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  left: 0;
  padding: 10px 12px;
  position: absolute;
  right: 0;
}

.search-box {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  gap: 12px;
  height: 46px;
  margin-top: 24px;
  max-width: 360px;
  padding: 0 16px;
}

.warm-panel .search-box {
  border-color: var(--warm-line);
}

.search-box span {
  background: #d0dbd6;
  border-radius: 50%;
  flex: 0 0 auto;
  height: 14px;
  width: 14px;
}

.search-box input {
  background: transparent;
  border: 0;
  color: var(--text);
  min-width: 0;
  outline: 0;
  width: 100%;
}

.summary-strip,
.info-strip {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding: 18px 20px;
}

.summary-strip span,
.summary-strip p,
.info-strip span,
.section-heading span {
  color: var(--muted);
  font-size: 13px;
}

.summary-strip strong {
  color: var(--warm-text);
  display: block;
  font-size: 24px;
  line-height: 1.2;
  margin-top: 8px;
}

.summary-strip p {
  line-height: 1.45;
  margin-bottom: 0;
}

.section-heading,
.year-head,
.month-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.section-heading a {
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.timeline {
  margin-top: 24px;
  position: relative;
}

.timeline::before {
  background: #e8cfc3;
  border-radius: 4px;
  bottom: 10px;
  content: "";
  left: 13px;
  position: absolute;
  top: 12px;
  width: 3px;
}

.timeline-row {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 30px 120px 1fr;
  margin-bottom: 26px;
  position: relative;
}

.timeline-row.muted {
  grid-template-columns: 30px 1fr;
  margin-bottom: 0;
}

.timeline-dot {
  background: #bfd5b5;
  border-radius: 50%;
  display: block;
  height: 17px;
  justify-self: center;
  width: 17px;
  z-index: 1;
}

.timeline-dot.strong {
  background: var(--coral);
}

.timeline-row img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
}

.timeline-row small,
.timeline-row em {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-style: normal;
}

.timeline-row strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
  margin: 6px 0;
}

.page-intro {
  padding: 36px 0 8px;
}

.clean-intro h1 {
  font-size: clamp(34px, 4vw, 46px);
  margin-bottom: 10px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.filter-chip,
.person-chip {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  min-height: 30px;
  padding: 6px 12px;
}

.filter-chip {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
}

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

.person-chip {
  background: var(--blue-soft);
  color: #405c77;
}

.person-chip:nth-child(2n) {
  background: var(--cream-soft);
  color: #735f43;
}

.person-chip.warm {
  background: var(--coral-soft);
  color: #8a5546;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.year-group {
  margin-top: 28px;
}

.year-head {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.year-head strong {
  font-size: 16px;
}

.year-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.month-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 28px;
  padding: 16px;
}

.month-head {
  margin-bottom: 16px;
}

.month-head strong {
  font-size: 24px;
}

.month-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.album-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  display: grid;
  gap: 16px;
  padding: 16px;
}

.album-card + .album-card {
  margin-top: 14px;
}

.album-card.large {
  grid-template-columns: 1fr;
}

.album-card.compact {
  align-items: center;
  grid-template-columns: 88px 1fr;
}

.album-card img {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  object-fit: cover;
  width: 100%;
}

.album-card.compact img {
  aspect-ratio: 4 / 3;
}

.album-card strong,
.album-card small {
  display: block;
}

.album-card strong {
  font-size: 20px;
  line-height: 1.25;
}

.album-card small {
  color: var(--muted);
  font-size: 13px;
  margin: 8px 0 14px;
}

.soft-note,
.detail-note {
  background: var(--surface-soft);
  border-radius: var(--radius);
  color: #50635f;
  font-size: 13px;
  line-height: 1.45;
  padding: 14px 16px;
}

.album-detail {
  padding-top: 24px;
}

.back-link {
  color: var(--warm-muted);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.detail-hero {
  border-radius: var(--radius);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.detail-hero img {
  aspect-ratio: 16 / 8;
  object-fit: cover;
  width: 100%;
}

.detail-intro {
  margin-top: 30px;
}

.detail-intro h1 {
  color: var(--warm-text);
  font-size: clamp(34px, 5vw, 48px);
}

.info-strip {
  border-color: #e5ddd5;
  margin: 24px 0 36px;
}

.info-strip div {
  min-width: 0;
}

.info-strip strong,
.info-strip span {
  display: block;
}

.info-strip strong {
  font-size: 15px;
  line-height: 1.25;
  margin-top: 3px;
}

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

.photo-tile,
.video-tile {
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  display: block;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: left;
}

.photo-tile img,
.video-tile img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.photo-tile span {
  bottom: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  left: 10px;
  position: absolute;
}

.video-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.video-tile {
  background: var(--surface);
  border: 1px solid #e5ddd5;
  padding: 10px;
}

.video-tile img {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
}

.video-tile strong,
.video-tile small {
  display: block;
}

.video-tile strong {
  color: var(--warm-text);
  font-size: 15px;
  line-height: 1.3;
  margin-top: 10px;
}

.video-tile small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.play-mark {
  align-items: center;
  background: rgb(255 255 255 / 88%);
  border-radius: 999px;
  display: flex;
  height: 38px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: calc((100% - 56px) / 2);
  transform: translate(-50%, -50%);
  width: 38px;
}

.play-mark::before {
  border-bottom: 8px solid transparent;
  border-left: 12px solid var(--green);
  border-top: 8px solid transparent;
  content: "";
  margin-left: 3px;
}

.detail-note {
  background: var(--surface);
  border: 1px solid #e5ddd5;
  color: #7d7167;
  margin-top: 18px;
}

.tagging-callout,
.tagging-summary {
  background: var(--surface);
  border: 1px solid #e5ddd5;
  border-radius: var(--radius);
}

.tagging-callout {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
  padding: 16px;
}

.tagging-callout strong,
.tagging-callout span {
  display: block;
}

.tagging-callout span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin-top: 4px;
}

.tagging-callout a {
  background: var(--green);
  border-radius: var(--radius);
  color: #fff;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 12px;
}

.callout-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.tagging-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tagging-actions button {
  cursor: pointer;
}

.tagging-summary {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 16px;
}

.tagging-summary span,
.tagging-summary strong {
  display: block;
}

.tagging-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.tagging-summary strong {
  color: var(--green);
  font-size: 18px;
  margin-top: 4px;
}

.tagging-bulk {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.tagging-bulk-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.tagging-bulk-grid button {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
  padding: 12px;
  text-align: left;
}

.tagging-bulk-grid button:first-child {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.tagging-bulk-grid strong,
.tagging-bulk-grid span {
  display: block;
}

.tagging-bulk-grid strong {
  font-size: 13px;
  line-height: 1.25;
}

.tagging-bulk-grid span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  margin-top: 5px;
}

.tagging-bulk-grid button:first-child span {
  color: rgb(255 255 255 / 82%);
}

.tagging-list {
  display: grid;
  gap: 14px;
}

.tagging-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 14px;
  grid-template-columns: 112px minmax(0, 1fr);
  padding: 12px;
}

.tagging-card > img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  object-fit: cover;
  width: 100%;
}

.tagging-card-body {
  min-width: 0;
}

.tagging-card-head {
  align-items: start;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.tagging-card-head strong,
.tagging-card-head span {
  display: block;
}

.tagging-card-head strong {
  font-size: 16px;
  line-height: 1.25;
}

.tagging-card-head span {
  color: var(--muted);
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
}

.tagging-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tagging-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tagging-presets button {
  background: transparent;
  border: 1px solid #d7dfdc;
  border-radius: 999px;
  color: var(--green);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  min-height: 28px;
  padding: 5px 9px;
}

.tagging-chip {
  cursor: pointer;
  display: inline-flex;
}

.tagging-chip input {
  position: absolute;
  opacity: 0;
}

.tagging-chip span {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  min-height: 30px;
  padding: 7px 11px;
}

.tagging-chip input:checked + span {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.tagging-chip input:focus-visible + span {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.tagging-current {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  margin-top: 12px;
}

.tagging-export textarea {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  margin-top: 14px;
  min-height: 260px;
  padding: 14px;
  resize: vertical;
  width: 100%;
}

.content-review-panel,
.content-review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.content-review-panel {
  padding: 16px;
}

.content-review-list {
  display: grid;
  gap: 14px;
}

.content-review-card {
  display: grid;
  gap: 14px;
  grid-template-columns: 132px minmax(0, 1fr);
  padding: 12px;
}

.content-review-card.needs-review {
  border-color: #ead2c7;
}

.content-review-card.is-reviewed {
  border-color: #cddcd8;
}

.review-media {
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: left;
}

.review-media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.review-media span {
  background: rgb(31 41 38 / 68%);
  border-radius: 999px;
  bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  left: 8px;
  padding: 5px 8px;
  position: absolute;
}

.review-card-body {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.review-field {
  display: grid;
  gap: 6px;
}

.review-field span,
.review-favorite span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.review-field input,
.review-field textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  line-height: 1.45;
  padding: 10px 11px;
  width: 100%;
}

.review-field textarea {
  resize: vertical;
}

.review-field input:focus,
.review-field textarea:focus {
  border-color: var(--green);
  outline: 2px solid rgb(47 95 89 / 14%);
}

.review-favorite {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.review-favorite input {
  accent-color: var(--green);
}

.people-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.person-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.person-avatar {
  align-items: center;
  background: linear-gradient(135deg, var(--green-soft), var(--coral-soft));
  border-radius: 50%;
  display: inline-flex;
  font-weight: 800;
  height: 44px;
  justify-content: center;
  margin-bottom: 14px;
  width: 44px;
}

.person-card strong,
.person-card small,
.person-card em,
.person-card-meta {
  display: block;
}

.person-card small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.person-card em {
  color: var(--green);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  margin-top: 12px;
}

.person-card-meta {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin-top: 4px;
}

.bottom-nav {
  display: none;
}

.photo-modal {
  align-items: center;
  background: rgb(17 20 19 / 84%);
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 20;
}

.photo-modal:not([hidden]) {
  display: flex;
}

.modal-card {
  margin: 0;
  max-width: min(920px, 82vw);
}

.modal-card img,
.modal-card video {
  border-radius: var(--radius);
  max-height: 74vh;
  object-fit: contain;
  width: 100%;
}

.modal-card figcaption {
  color: #fff;
  line-height: 1.5;
  margin-top: 14px;
}

.modal-card strong,
.modal-card span {
  display: block;
}

.modal-card span {
  color: rgb(255 255 255 / 76%);
  font-size: 14px;
  margin-top: 4px;
}

.modal-close,
.modal-arrow {
  background: #fff;
  border: 0;
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
  position: fixed;
}

.modal-close {
  padding: 10px 14px;
  right: 24px;
  top: 24px;
}

.modal-arrow {
  font-size: 32px;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
}

.modal-prev {
  left: 24px;
}

.modal-next {
  right: 24px;
}

.modal-open {
  overflow: hidden;
}

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

@media (max-width: 760px) {
  .app-shell {
    padding-bottom: 78px;
  }

  .site-header {
    display: none;
  }

  main {
    padding: 0 24px 28px;
  }

  .page-section,
  .page-intro,
  .album-detail {
    max-width: 390px;
  }

  .home-hero {
    border: 0;
    box-shadow: none;
    column-gap: 16px;
    grid-template-columns: minmax(0, 1fr) 82px;
    margin: 0 -24px;
    max-width: none;
    padding: 24px;
  }

  .home-hero h1 {
    font-size: 28px;
    max-width: 100%;
  }

  .hero-copy {
    font-size: 14px;
  }

  .hero-photo {
    margin-top: 86px;
  }

  .search-box {
    max-width: none;
  }

  .home-hero .search-box {
    grid-column: 1 / -1;
    margin-top: 22px;
  }

  .summary-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 22px;
  }

  .summary-strip strong {
    font-size: 24px;
  }

  .timeline-row {
    gap: 12px;
    grid-template-columns: 30px minmax(78px, 94px) minmax(0, 1fr);
  }

  .timeline-row strong {
    font-size: 17px;
  }

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

  .album-card.compact strong {
    font-size: 17px;
  }

  .filter-row {
    flex-wrap: nowrap;
    margin-left: -24px;
    margin-right: -24px;
    overflow-x: auto;
    padding-left: 24px;
    padding-right: 24px;
    scrollbar-width: none;
  }

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

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

  .detail-hero img {
    aspect-ratio: 16 / 9;
  }

  .info-strip {
    gap: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 14px 16px;
  }

  .info-strip strong {
    font-size: 14px;
  }

  .photo-grid {
    gap: 10px;
  }

  .tagging-callout {
    align-items: stretch;
    flex-direction: column;
  }

  .callout-actions {
    justify-content: stretch;
  }

  .tagging-callout a {
    flex: 1 1 0;
    text-align: center;
  }

  .tagging-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 14px;
  }

  .tagging-summary strong {
    font-size: 16px;
  }

  .tagging-bulk-grid {
    grid-template-columns: 1fr;
  }

  .tagging-card {
    grid-template-columns: 92px minmax(0, 1fr);
    padding: 10px;
  }

  .content-review-card {
    grid-template-columns: 96px minmax(0, 1fr);
    padding: 10px;
  }

  .content-review-card .tagging-card-head {
    display: block;
  }

  .review-card-body {
    gap: 9px;
  }

  .review-field input,
  .review-field textarea {
    padding: 9px 10px;
  }

  .tagging-card-head {
    display: block;
  }

  .tagging-card-head span {
    margin-top: 4px;
  }

  .tagging-options {
    gap: 6px;
    margin-top: 12px;
  }

  .tagging-chip span {
    padding-left: 10px;
    padding-right: 10px;
  }

  .bottom-nav {
    background: var(--surface);
    border-top: 1px solid var(--line);
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 62px;
    left: 0;
    position: fixed;
    right: 0;
    z-index: 10;
  }

  .bottom-nav a {
    align-items: center;
    color: var(--muted);
    display: flex;
    font-size: 13px;
    font-weight: 700;
    justify-content: center;
    position: relative;
  }

  .bottom-nav a.is-active {
    color: var(--green);
  }

  .bottom-nav a.is-active::before {
    background: var(--green);
    border-radius: 2px;
    content: "";
    height: 3px;
    position: absolute;
    top: 10px;
    width: 20px;
  }

  .modal-arrow {
    display: none;
  }

  .modal-card {
    max-width: 100%;
  }
}

@media (max-width: 374px) {
  main {
    padding-left: 18px;
    padding-right: 18px;
  }

  .home-hero {
    grid-template-columns: minmax(0, 1fr) 74px;
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .home-hero h1 {
    font-size: 26px;
  }

  .hero-photo {
    margin-top: 82px;
  }

  .filter-row {
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .timeline-row {
    grid-template-columns: 26px 74px minmax(0, 1fr);
  }

  .timeline::before {
    left: 11px;
  }

  .timeline-row strong {
    font-size: 16px;
  }

  .album-card {
    padding: 14px;
  }

  .album-card strong {
    font-size: 18px;
  }

  .info-strip {
    gap: 8px;
    padding-left: 12px;
    padding-right: 12px;
  }
}
