.crab-h5 .scene-weekend .activity-tabs {
  gap: 7px;
  align-items: stretch;
  margin: 12px 0 16px;
  padding: 3px 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.crab-h5 .scene-weekend .activity-tabs button {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  min-width: 44px;
  padding: 7px 12px;
  border: 1px solid #c8bda9;
  border-radius: 11px;
  background: #fffaf0;
  color: #383027;
  font: 600 14px/1.35 var(--sans);
  cursor: pointer;
}
.crab-h5 .scene-weekend .activity-tabs .activity-script-entry { background: #e3eff5; border-color: #b4c6cf; }
.crab-h5 .scene-weekend .activity-tabs button[aria-pressed="true"] { background: #ffda72; border-color: #897341; font-weight: 750; }
.activity-tabs svg { width: 23px; height: 23px; flex: none; }
@media (max-width: 599px) {
  .crab-h5 .scene-weekend .activity-tabs {
    margin: 10px 0 12px;
    gap: 5px;
  }
  .crab-h5 .scene-weekend .activity-tabs button {
    flex: 1 0 auto;
    flex-direction: column;
    gap: 3px;
    padding: 6px 7px;
    font-size: 13px;
  }
  html:is(:lang(zh), :lang(ja), :lang(ko)) .scene-weekend .activity-tabs {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
  }
  html:is(:lang(zh), :lang(ja), :lang(ko)) .scene-weekend .activity-tabs button {
    min-width: 0;
    padding-inline: 1px;
    overflow-wrap: anywhere;
  }
}
@media (hover: hover) {
  .crab-h5 .scene-weekend .activity-tabs button:hover { border-color: #8b7d68; }
}
/* Photos span the reading width. The host link is outside the detail button. */
.crab-h5 .scene-weekend .activity-directory {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.activity-directory .activity-row {
  --activity-inset: clamp(14px, 4vw, 22px);
  min-width: 0;
  border: 1px solid #d8cbb8;
  border-radius: 15px;
  background: var(--surface, #fffefb);
}
.activity-row-main {
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 14px 14px 0 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.activity-row-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: 14px 14px 0 0;
  object-fit: cover;
}
.activity-row-copy {
  display: grid;
  gap: 9px;
  padding: 16px var(--activity-inset) 13px;
}
.activity-row-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.activity-row-headline {
  display: grid;
  min-width: 0;
  justify-items: start;
  gap: 5px;
}
.activity-row-kind {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #635442;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.activity-row-kind::before {
  content: '';
  width: 12px;
  height: 3px;
  flex: none;
  border-radius: 2px;
  background: #e58a67;
}
.activity-row-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.28;
  overflow-wrap: anywhere;
}
.activity-row-date {
  display: grid;
  flex: 0 0 auto;
  max-width: 32%;
  justify-items: center;
  align-content: center;
  padding-inline-start: 13px;
  border-inline-start: 1px solid #e2d7c3;
  color: #514035;
  font-variant-numeric: tabular-nums;
  text-align: center;
  line-height: 1;
}
.activity-row-date > span { color: #8e5038; font-size: 12px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.activity-row-date > b { margin-block: 1px; font-size: 28px; font-weight: 750; }
.activity-row-date > small { color: #6e655d; font-size: 11px; line-height: 1.3; }
.activity-row-description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #615a53;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.activity-row-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 15px;
  color: #4f4a43;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.5;
}
.activity-row-fact { display: inline-flex; align-items: baseline; min-width: 0; gap: 5px; }
.activity-row-fact :is(span, time) { min-width: 0; overflow-wrap: anywhere; }
.activity-row-fact svg { position: relative; top: 2px; flex: none; width: 14px; height: 14px; color: #746957; }
.activity-row-fact.is-tentative { color: #81522e; }
.activity-row-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 12px;
  margin-inline: var(--activity-inset);
  padding-block: 3px 4px;
  border-top: 1px solid #e9e1d4;
  color: #645d53;
}
.crab-h5 .activity-row-footer .event-card-host {
  flex: 0 1 auto;
  min-width: 44px;
  min-height: 44px;
  max-width: 100%;
  gap: 7px;
  color: #544b43;
  font-size: 13px;
}
.crab-h5 .activity-row-footer .event-card-avatar { width: 28px; height: 28px; }
.activity-row-count { margin-inline-start: auto; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.activity-row-count strong { color: #3c332c; font-size: 14px; font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.crab-h5 .scene-weekend .activity-list-empty {
  padding: 22px 17px;
  border: 1px solid #cfc3ae;
  border-radius: 15px;
  background: #fffdf7;
}
.activity-list-empty p { margin: 0 0 10px; font-size: 16px; font-weight: 650; }
.activity-list-empty button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #b8aa96;
  border-radius: 10px;
  background: #f7efdf;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
@media (hover: hover) {
  .activity-row-main:hover .activity-row-title,
  .activity-row-footer a:hover span { text-decoration: underline; text-underline-offset: 3px; }
  .activity-list-empty button:hover { background: #f4e5c9; }
}
@media (max-width: 359px) {
  .activity-row-heading { gap: 8px; }
  .activity-row-title { font-size: 20px; }
  .activity-row-date { padding-inline-start: 10px; }
}
@media (min-width: 600px) and (max-width: 767px) {
  .activity-row-photo { aspect-ratio: 1.85; }
}
@media (min-width: 768px) {
  .crab-h5 .scene-weekend .activity-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 26px);
  }
  .activity-directory .activity-row { --activity-inset: clamp(15px, 1.5vw, 22px); }
}
@media (min-width: 1200px) {
  .activity-row-title { font-size: 24px; }
  .activity-row-description { font-size: 15px; }
}
