@font-face {
  font-family: "Limelight";
  src: url("./assets/fonts/limelight-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #263b34;
  --pine: #28463d;
  --muted: #656d63;
  --paper: #f8f6ef;
  --card: #fffef9;
  --line: #dcdcd0;
  --rust: #a64f36;
  --serif: Georgia, "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --display: "Limelight", var(--serif);
  --sans:
    "DM Sans", -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Microsoft Yahei", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.55 var(--sans);
}
[hidden] {
  display: none !important;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button,
select,
input,
textarea {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #a45437;
}
button:disabled {
  opacity: 0.48;
  cursor: default;
}
a {
  color: var(--rust);
}
button {
  border: 0;
  background: none;
}
svg.icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  flex: none;
  stroke-width: 1.7;
}
.mast {
  height: 74px;
  background: #fffdf6;
  border-bottom: 1px solid var(--line);
}
.mast-inner,
.shell {
  max-width: 1460px;
  width: calc(100% - clamp(36px, 8vw, 136px));
  margin: auto;
}
.mast-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 90px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #253e35;
  white-space: nowrap;
  font: 400 28px/1.15 var(--display);
  letter-spacing: -0.018em;
}
.brand img {
  width: 35px;
  height: 35px;
}
.mast nav {
  display: flex;
  align-self: stretch;
  gap: 28px;
}
.nav-link {
  position: relative;
  white-space: nowrap;
  font-size: 14px;
  color: var(--muted);
  padding: 2px 1px;
}
.nav-link.active {
  color: var(--ink);
  font-weight: 650;
}
.nav-link.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 2px;
  right: 2px;
  background: var(--rust);
  height: 3px;
}
.mast-actions,
.heading-line,
.panel-head,
.section-heading,
.btn,
.text-btn,
.icon-btn,
.row,
.line-actions,
.list-tools,
.links,
.tags,
.detail-actions {
  display: flex;
  align-items: center;
}
.mast-actions {
  margin-left: auto;
  gap: 14px;
}
#language {
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background-color: var(--card);
  padding: 6px 8px;
  min-height: 38px;
  cursor: pointer;
  font-size: 13px;
}
#add,
#import {
  font-family: var(--display);
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: 0.06px;
}
.btn {
  border-radius: 8px;
  justify-content: center;
  gap: 8px;
  padding: 9px 15px;
  font-weight: 600;
  font-size: 14px;
  min-height: 40px;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn:hover,
.icon-btn:hover,
.text-btn:hover,
.list-card:hover,
.filters button:hover {
  filter: brightness(0.95);
}
.btn.pine {
  background: var(--pine);
  color: white;
}
.btn.line,
.icon-btn {
  background: var(--card);
  border: 1px solid var(--line);
}
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  justify-content: center;
  flex-shrink: 0;
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(25px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  min-width: 0;
}
.hero h1 {
  font: 400 clamp(34px, 3.6vw, 54px) / 1.12 var(--display);
  letter-spacing: 0.035em;
  margin: 0 0 8px;
}
html:lang(en) .hero h1 {
  letter-spacing: -.02em;
  text-wrap: balance;
}
html:lang(en) .hero p {
  letter-spacing: 0;
}
.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.hero .btn {
  display: inline-flex;
  flex: none;
}
.list-tools { flex-wrap: wrap; gap: 12px; }
.collection-head { flex-wrap: wrap; }
#shortlist-view[aria-pressed="true"] { color: var(--pine); text-decoration: underline; text-underline-offset: 3px; }
.shortlisted { background: #e4ede2; color: var(--pine); }
.shortlisted .icon { fill: #c5d9bf; }
.section-heading {
  justify-content: space-between;
  margin: 25px 0 12px;
}
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}
h2 {
  font: 600 23px/1.3 var(--serif);
  margin: 0;
}
.section-heading h2,
.panel-head h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.heading-line {
  gap: 9px;
}
.text-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--pine);
  padding: 6px 1px;
  gap: 4px;
}
.list-strip {
  display: flex;
  gap: 10px;
  overflow: auto;
  padding: 2px 1px 5px;
}
.list-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 1 0 145px;
  min-height: 66px;
  padding: 10px;
  text-align: left;
}
.list-card.active {
  border-color: #587467;
  background: #edf1e7;
  box-shadow: inset 0 0 0 1px #587467;
}
.list-icon,
.row-thumbnail,
.empty-art {
  background: #e9eee0;
  color: #51644b;
  display: grid;
  place-items: center;
}
.list-icon {
  width: 33px;
  height: 33px;
  border-radius: 9px;
  flex: none;
}
.list-emoji {
  font: 17px/1 "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", emoji;
  white-space: nowrap;
}
.list-card > span:last-child {
  min-width: 0;
}
.list-card:nth-child(4n + 2) .list-icon {
  background: #f4e2d7;
  color: #964d36;
}
.list-card:nth-child(4n + 3) .list-icon {
  background: #efe5c5;
  color: #816830;
}
.list-card:nth-child(4n) .list-icon {
  background: #f1dfe1;
  color: #96535d;
}
.list-card strong {
  display: block;
  font: 400 14px/1.35 var(--display);
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.list-card small {
  display: block;
  line-height: 16px;
}
.list-card small,
.muted,
.map-city,
.map-foot,
.meta,
.help {
  color: var(--muted);
  font-size: 12px;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 23px;
  align-items: start;
}
.notebook,
.map-panel,
.journal-card,
.journal-empty {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.notebook,
.journal-empty,
.journal-card {
  padding: 21px;
}
.panel-head {
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}
.panel-head h2 {
  font-size: 21px;
}
.number {
  font: 600 12px/1 var(--sans);
  background: #ebece1;
  border-radius: 100px;
  padding: 4px 8px;
  color: #52624d;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 10px;
  color: var(--muted);
}
.search input {
  width: 100%;
  border: 0;
  line-height: 24px;
  outline: none;
}
.search:focus-within {
  outline: 2px solid #879e89;
}
.filters {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin: 11px 0;
}
.filters select,
.filters button {
  max-width: 100%;
  font-size: 12px;
  border: 1px solid var(--line);
  background: #f7f7ef;
  border-radius: 20px;
  padding: 5px 9px;
  color: #39463c;
  min-height: 30px;
}
.filters button {
  display: flex;
  gap: 4px;
  align-items: center;
}
.filters .icon {
  width: 14px;
  height: 14px;
}
.filters .chosen {
  background: #e7eee1;
  border-color: #8da58f;
  color: #274534;
}
.cuisine-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr));
  gap: 5px 10px;
  padding: 9px 11px 12px;
}
.cuisine-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 14px;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.cuisine-options label:has(:checked) { background: #e7eee1; }
.cuisine-options input { accent-color: var(--pine); flex: none; }
.budget-help, .budget-coverage { margin: 10px 0 0; font-size: 13px; }
.budget-coverage { color: var(--muted); }
#budget-filter-form .line-actions > .text-btn,
#cuisine-filter-form .line-actions > .text-btn { margin-inline-end: auto; }
.empty {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 25px 12px 20px;
  border-top: 1px solid var(--line);
  margin-top: 14px;
}
.empty-art {
  border-radius: 18px;
  transform: rotate(-6deg);
  width: 46px;
  height: 46px;
  background: #f0eadb;
  color: #8c6641;
  margin-bottom: 4px;
}
.empty-art .icon {
  width: 25px;
  height: 25px;
}
.empty strong {
  font-family: var(--serif);
  font-size: 18px;
}
.empty p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  max-width: 390px;
}
.empty .text-btn {
  color: var(--rust);
}
.map-panel .panel-head {
  padding: 17px 19px 0;
}
.map-city {
  font: italic 15px/1.2 var(--serif);
  color: #586b60;
  white-space: nowrap;
}
.map-foot {
  margin: 0;
  padding: 9px 15px;
  border-top: 1px solid var(--line);
}
#map {
  width: 100%;
  min-height: 300px;
  height: clamp(320px, 30vw, 450px);
  position: relative;
}
.result-order {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 10px;
  margin: 5px 0;
  color: var(--muted);
}
.list-fold {
  min-height: 36px;
}
.place-row {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid #e5e5d9;
  padding: 12px 0;
  cursor: pointer;
}
.place-row.on-map {
  background: #f0f2e7;
}
.row-open {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
  text-align: left;
  padding: 2px 4px;
  border-radius: 8px;
}
.row-open > span:last-child {
  min-width: 0;
}
.row-open strong {
  display: block;
  font: 600 17px/1.35 var(--serif);
  overflow-wrap: anywhere;
}
.row-thumbnail {
  position: relative;
  overflow: hidden;
  color: #7d684a;
  background: #eee8d8;
  flex: none;
  border-radius: 10px;
  width: 52px;
  height: 52px;
  font: 600 18px/1 var(--serif);
}
.row-thumbnail::before {
  content: attr(data-initials);
}
.row-thumbnail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.row-photo-credit {
  display: none;
  font-size: 11px;
  line-height: 1.35;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.row-open:has(.row-thumbnail img) .row-photo-credit {
  display: block;
  margin-top: 3px;
}
.meta {
  display: block;
  margin-top: 3px;
}
.row-actions {
  display: flex;
  gap: 3px;
  align-items: center;
}
.small-icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 36px;
  border-radius: 8px;
}
.small-icon:hover {
  background: #eeeee3;
}
.small-icon.liked,
.heart-on {
  color: #ac4538;
}
.small-icon.liked .icon,
.heart-on .icon {
  fill: currentColor;
}
.small-icon.pinned {
  color: #8e5721;
  background: #f5e8d2;
}
.bulk {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px;
  background: #eef1e7;
  border-radius: 8px;
  flex-wrap: wrap;
  margin: 6px 0;
}
.bulk .btn {
  padding: 5px 8px;
  min-height: 30px;
  font-size: 12px;
}
.journal-card {
  margin: 12px 0;
}
.journal-card h3 {
  margin: 3px 0;
  font-family: var(--serif);
}
.journal-card p {
  white-space: pre-wrap;
  margin: 6px 0;
}
.journal-empty {
  text-align: center;
}
.journal-empty .btn {
  display: inline-flex;
}
.photo-strip {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 4px 0;
}
.photo-strip img {
  width: 80px;
  height: 76px;
  object-fit: cover;
  border-radius: 8px;
}
.photo-strip a {
  flex-shrink: 0;
}
.photo-strip figure {
  margin: 0;
}
.photo-strip figcaption {
  font-size: 11px;
}
footer {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  margin: 32px 0 16px;
  padding-top: 14px;
  font-size: 12px;
}
footer span {
  display: flex;
  align-items: center;
  gap: 5px;
}
footer .icon {
  width: 13px;
  height: 13px;
}
.foot-brand {
  font: 400 20px/1.35 var(--display);
  letter-spacing: -0.01em;
}
dialog {
  border: 1px solid #d7d7cb;
  border-radius: 16px;
  width: min(570px, calc(100vw - 24px));
  max-height: 88dvh;
  padding: 0;
  color: var(--ink);
  background: #fffdf6;
  box-shadow: 0 24px 100px #15292140;
}
dialog::backdrop {
  background: #18272165;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  background: #fffdf6;
  position: sticky;
  top: 0;
  z-index: 2;
}
.dialog-head h2 {
  font-size: 22px;
}
#dialog-body {
  padding: 19px 22px 23px;
}
form {
  margin: 0;
}
.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.full {
  grid-column: 1/-1;
}
.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
}
.field input,
.field textarea,
.field select,
.bulk select {
  width: 100%;
  min-width: 0;
  background: #fff;
  border: 1px solid #c9cfc3;
  border-radius: 7px;
  padding: 8px 9px;
  color: var(--ink);
  font-weight: 400;
}
.field textarea {
  resize: vertical;
  min-height: 66px;
}
.file-picker {
  position: relative;
  display: inline-flex;
  align-self: flex-start;
}
.file-picker input[type=file] {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.file-picker:focus-within .btn {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}
.file-status {
  font-weight: 400;
  overflow-wrap: anywhere;
}
.field small,
.help {
  font-weight: 400;
  line-height: 1.5;
}
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
}
.checks label {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.checks input {
  accent-color: var(--pine);
}
fieldset {
  min-inline-size: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 10px;
}
legend {
  font-size: 13px;
  font-weight: 600;
}
.line-actions,
.detail-actions,
.links,
.tags {
  gap: 8px;
  flex-wrap: wrap;
}
.line-actions {
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  margin-top: 17px;
  padding-top: 14px;
}
.detail-actions {
  margin: 12px 0;
}
.link-pill,
.tag {
  display: inline-block;
  background: #eff2e8;
  padding: 4px 9px;
  border-radius: 20px;
  font-size: 12px;
  text-decoration: none;
  color: var(--pine);
  max-width: 100%;
  overflow-wrap: anywhere;
}
.tags {
  margin: 8px 0;
}
.tag {
  background: #efe9da;
  color: #72573c;
}
.detail-section {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 12px;
}
.detail-section h3 {
  font-size: 16px;
  margin: 0 0 8px;
}
.detail-section p {
  white-space: pre-wrap;
  margin: 6px 0;
}
.failure {
  color: #922e27;
  background: #ffefe6;
  padding: 8px 10px;
  border-radius: 6px;
}
.import-block + .import-block {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 15px;
}
.import-block h3 {
  margin: 0 0 6px;
  font-size: 16px;
}
.import-block p {
  font-size: 13px;
  color: var(--muted);
}
#notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  background: var(--pine);
  color: white;
  border-radius: 10px;
  padding: 9px 15px;
  max-width: calc(100% - 24px);
  box-shadow: 0 5px 20px #13221f33;
}
details {
  grid-column: 1/-1;
}
summary {
  cursor: pointer;
  font-size: 13px;
  color: var(--pine);
  padding: 6px 0;
}
.live-panel {
  background: #f4f5ef;
  border-radius: 8px;
  padding: 10px;
}
.live-panel ul {
  padding-left: 20px;
  font-size: 13px;
}
.top-error {
  border: 1px solid #b35b46;
  padding: 12px;
  background: #fff3e3;
}
.demo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  background: #f4eadb;
  color: #72583c;
  border-radius: 7px;
  padding: 5px 10px;
  margin: 10px 0;
}
.live-matches {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}
.live-matches button {
  text-align: left;
  border: 1px solid var(--line);
  padding: 7px;
  border-radius: 5px;
}
.live-matches small {
  display: block;
}
@media (max-width: 900px) {
  .mast-inner,
  .shell {
    width: calc(100% - 40px);
  }
  .mast-inner {
    gap: 32px;
  }
  .notebook {
    padding: 15px;
  }
  .workspace {
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  }
  .list-card {
    padding: 9px 11px;
    gap: 7px;
  }
}
.mobile-map-jump { display: none; }
@media (max-width: 720px) {
  .mast {
    height: auto;
  }
  .mast-inner {
    flex-wrap: wrap;
    gap: 0;
    padding: 12px 0 0;
  }
  .brand {
    font-size: 25px;
  }
  .mast nav {
    order: 3;
    width: 100%;
    gap: 22px;
    margin-top: 5px;
  }
  .nav-link {
    padding: 8px 1px;
  }
  .mast-actions {
    gap: 8px;
  }
  .mast-actions .btn {
    padding: 6px 10px;
    min-height: 34px;
  }
  .mast-actions .icon-btn {
    height: 34px;
    width: 34px;
  }
  .hero {
    flex-wrap: wrap;
    gap: 12px;
    padding: 24px 0;
  }
  .hero h1 {
    font-size: clamp(30px, 7vw, 38px);
  }
  .hero p {
    font-size: 13px;
  }
  .hero .btn {
    font-size: 12px;
    padding: 5px 9px;
    min-height: 32px;
  }
  #add,
  #import {
    font-size: 13.5px;
    padding-inline: 10px;
  }
  .section-heading {
    margin-top: 20px;
  }
  .workspace {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 14px;
  }
  .list-card {
    flex: 0 0 auto;
    min-width: 116px;
    min-height: 54px;
  }
  .list-card .list-icon {
    width: 29px;
    height: 29px;
  }
  .section-heading h2,
  .panel-head h2 {
    font-size: 20px;
  }
  #map {
    height: 355px;
  }
  .mast-inner,
  .shell {
    width: calc(100% - 28px);
  }
  .map-panel {
    order: 2;
  }
  .fields {
    gap: 9px;
  }
  .dialog-head {
    padding: 12px 15px;
  }
  #dialog-body {
    padding: 14px;
  }
  .section-heading .text-btn {
    white-space: nowrap;
  }
  .mobile-map-jump {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    color: var(--pine);
    font-size: 13px;
  }
  .map-panel > .mobile-map-jump { margin: 0 15px 8px; }
}
@media (max-width: 550px) {
  .mast-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "brand language backup"
      "nav import import";
    align-items: center;
    gap: 3px 8px;
    padding-top: 8px;
  }
  .brand {
    grid-area: brand;
    gap: 7px;
    font-size: clamp(19px, calc(6vw - 0.2px), 25px);
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .mast-actions { display: contents; }
  #language {
    grid-area: language;
    min-height: 36px;
  }
  #backup { grid-area: backup; }
  #import {
    grid-area: import;
    justify-self: end;
    margin-block: 4px 6px;
  }
  .mast nav {
    grid-area: nav;
    margin: 0;
    gap: clamp(8px, 3vw, 17px);
    width: auto;
  }
  .nav-link { font-size: 13px; }
  .hero .btn { line-height: 1.3; }
  .list-tools { gap: 8px; }
  .row-actions { gap: 1px; }
  .row-open { gap: 8px; }
  .row-thumbnail { width: 44px; height: 44px; }
  .place-row:has(.pick) { gap: 4px; }
  .place-row:has(.pick) .row-thumbnail { width: 32px; height: 32px; }
  .list-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .list-card { min-width: 0; }
  .list-icon { flex: none; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .field input, .field select, .field textarea, .search input {
    font-size: 16px;
  }
  .demo-bar { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}

.week-hours { padding: 0; margin: 8px 0; list-style: none; }
.list-members { max-height: min(42vh, 360px); overflow: auto; }
.list-members label { display: flex; gap: 8px; align-items: center; padding: 6px 2px; }
.list-members label[hidden] { display: none; }
#edit-list-form > .field { margin-bottom: 12px; }
body[data-share-mode="public"] :is(#new-list,#edit-list,#add,#backup,#import,[data-page="journal"]) { display: none; }
.week-hours li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.week-hours li span:last-child { text-align: right; }
#place-hours details { margin-top: 8px; }
#arrival-form select { width: 100%; }

.gallery-heading,
.media-viewer-head,
.media-viewer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.gallery-heading { margin-bottom: 8px; }
.gallery-heading h3 { margin: 0; }
.gallery-heading .text-btn { white-space: nowrap; }
.restaurant-photo-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(72%, 215px);
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  padding: 3px 3px 6px;
  scrollbar-width: thin;
}
.restaurant-photo-track figure {
  margin: 0;
  min-width: 0;
  scroll-snap-align: start;
}
.gallery-photo {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  background: #efeee5;
  cursor: zoom-in;
}
.gallery-photo img,
.media-viewer-frame img { display: block; width: 100%; height: 100%; }
.gallery-photo img { object-fit: cover; }
.gallery-photo:focus-visible { outline-offset: 1px; }
#place-menu .gallery-photo img { object-fit: contain; }
.gallery-credit,
.restaurant-photo-track figcaption strong,
.media-viewer figcaption strong {
  display: block;
  overflow-wrap: anywhere;
}
.restaurant-photo-track figcaption { padding-top: 4px; line-height: 1.35; }
.restaurant-photo-track figcaption strong { font-size: 12px; }
.gallery-credit { color: var(--muted); font-size: 11px; }
.gallery-credit a { color: inherit; text-underline-offset: 2px; }
.gallery-source,
.full-image-link {
  display: inline-block;
  color: var(--pine);
  font-size: 13px;
  text-underline-offset: 3px;
  margin-top: 6px;
}
.restaurant-media-section a.btn { text-decoration: none; }
.media-viewer { width: min(880px, calc(100vw - 20px)); }
.media-viewer-head { padding: 10px 16px; border-bottom: 1px solid var(--line); }
.media-viewer-head strong { font-family: var(--serif); font-size: 18px; }
.media-viewer figure { margin: 0; }
.media-viewer-frame {
  background: #efeee5;
  height: min(58dvh, 600px);
  display: grid;
  place-items: center;
}
.media-viewer-frame img { object-fit: contain; }
.media-viewer figure figcaption { margin: 8px 16px; }
.photo-unavailable { color: var(--muted); font-size: 13px; }
.media-viewer-nav { justify-content: center; padding: 4px 12px 12px; }
.media-viewer-nav:empty { display: none; }
.media-viewer-nav button:disabled { opacity: .45; }
