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

.brand-mark {
  object-fit: cover;
  border-radius: 7px;
}

.tabbar button {
  min-width: 0;
  min-height: 54px;
  position: relative;
  z-index: 1;
  pointer-events: auto;
  touch-action: manipulation;
}

.tabbar button > i,
.tabbar button > span {
  pointer-events: none;
}

.tabbar i {
  position: relative;
}

.tabbar .tab-icon {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.tabbar .tab-icon-on {
  display: none;
}

.tabbar button.is-active .tab-icon-off {
  display: none;
}

.tabbar button.is-active .tab-icon-on {
  display: block;
}

.start-row:last-child {
  border-bottom: 0;
}

button.event-row {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.event-inline-dialog {
  width: min(560px, calc(100% - 28px));
  max-height: min(86vh, 880px);
  overflow-y: auto;
}

.inline-event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 20px;
}

.inline-event-tags span {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  font-size: 9px;
}

.inline-event-facts {
  margin: 0 0 22px;
  border-top: 1px solid var(--line);
}

.inline-event-facts > div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.inline-event-facts dt {
  color: #86958f;
  font-size: 10px;
}

.inline-event-facts dd {
  margin: 0;
  color: #3f5951;
  font-size: 12px;
}

.inline-event-poster {
  display: block;
  width: min(100%, 390px);
  max-height: 620px;
  margin: 22px auto;
  object-fit: contain;
  border: 1px solid var(--line);
}

.inline-event-poster[hidden] {
  display: none;
}

.inline-event-note {
  margin-top: 20px;
}

.event-inline-dialog .copy-button,
.inline-name-button {
  width: 100%;
  padding: 11px 14px;
  border-radius: 0;
  cursor: pointer;
}

.event-inline-dialog .copy-button {
  border: 0;
  background: var(--green);
  color: white;
}

.inline-name-button {
  margin-top: 10px;
  border: 1px solid var(--green);
  background: transparent;
  color: var(--green);
}

.event-inline-dialog .copy-status {
  min-height: 20px;
  color: var(--green);
}

.home-author {
  width: 100%;
  max-width: 540px;
  margin-top: 28px;
  padding: 18px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 18px;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 254, 249, .72);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, transform .2s, background .2s;
}

.home-author:hover {
  border-color: var(--green);
  background: var(--white);
  transform: translateY(-2px);
}

.home-author img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.home-author-copy,
.home-author-copy strong,
.home-author-copy small,
.home-author-copy em {
  display: block;
}

.home-author-copy strong {
  color: var(--green);
  font-size: 14px;
}

.home-author-copy small {
  margin-top: 2px;
  color: #74877f;
  font-size: 9px;
}

.home-author-copy em {
  margin-top: 8px;
  color: #536a62;
  font-size: 10px;
  font-style: normal;
  line-height: 1.7;
}

.home-author > i {
  align-self: end;
  color: var(--green);
  font-style: normal;
}

.listen-reading {
  margin-top: 42px;
}

@media (max-width: 560px) {
  .tabbar button {
    min-height: 58px;
  }

  .home-author {
    grid-template-columns: 62px minmax(0, 1fr) 14px;
    gap: 13px;
    margin-top: 24px;
    padding: 15px;
  }

  .home-author img {
    width: 62px;
    height: 62px;
  }

  .listen-reading {
    margin-top: 34px;
  }
}
/* 移动端完整展示访谈双人横图。 */
@media (max-width: 560px) {
  .episode-card { display: block; }
  .episode-card img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
  .episode-card > div { padding: 16px 18px 18px; }
}
