.trip-calendar {
  margin: 0 0 26px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(20, 27, 35, .72);
  box-shadow: 0 20px 54px rgba(0, 0, 0, .18);
}

.calendar-kicker {
  margin: 0 0 10px;
  color: #8f8779;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .17em;
}

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

.calendar-title h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 1.22rem;
}

.calendar-title h2 > span {
  width: 4px;
  height: 20px;
  border-radius: 99px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(228, 184, 91, .45);
}

.calendar-title > p {
  margin: 0;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}

.calendar-lead {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.7;
}

.calendar-lead b {
  color: var(--ink);
}

.cal-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 17px;
}

.cal {
  min-width: 0;
  padding: 14px 12px 16px;
  border: 1px solid rgba(244, 238, 225, .11);
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
}

.cal .cm {
  margin-bottom: 10px;
  text-align: center;
  font-size: .88rem;
  font-weight: 900;
  letter-spacing: .06em;
}

.cal .cm em {
  color: var(--gold);
  font-style: normal;
}

.cal .wd,
.cal .days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.cal .wd {
  margin-bottom: 6px;
}

.cal .wd span {
  color: #706a61;
  font-size: .62rem;
  font-weight: 800;
  text-align: center;
}

.cal .d {
  position: relative;
  display: flex;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  overflow: visible;
  border-radius: 50%;
  color: #a89f92;
  font-size: .72rem;
  font-weight: 700;
}

.cal .d.mute {
  color: #3a3d42;
}

.cal .d.trip {
  color: #fff;
  background: rgba(228, 184, 91, .18);
  box-shadow: inset 0 0 0 2px var(--gold);
  font-weight: 900;
}

.cal .d.trip.start,
.cal .d.trip.end {
  color: #0b0b0c;
  background: var(--gold);
}

.cal .d.trip.start::after,
.cal .d.trip.end::after {
  position: absolute;
  inset: -3px;
  border: 2px solid #e65b5b;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.cal .d .mk {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.cal .d .mk.hol {
  background: #3ddc84;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .3), 0 0 6px rgba(61, 220, 132, .45);
}

.cal .d .mk.leave {
  background: #4da3ff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .3), 0 0 6px rgba(77, 163, 255, .45);
}

.cal .d.trip .mk {
  top: 0;
  right: 0;
}

.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 14px;
  margin-top: 13px;
  color: #a89f92;
  font-size: .69rem;
}

.cal-legend span {
  display: inline-flex;
  align-items: center;
}

.cal-legend i {
  display: inline-block;
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  margin-right: 6px;
  border-radius: 50%;
}

.cal-legend .lg-trip {
  background: rgba(216, 178, 74, .25);
  box-shadow: inset 0 0 0 2px var(--gold);
}

.cal-legend .lg-edge {
  background: var(--gold);
  box-shadow: 0 0 0 2px #e65b5b;
}

.cal-legend .lg-hol {
  background: #3ddc84;
}

.cal-legend .lg-leave {
  background: #4da3ff;
}

.cal-note {
  margin-top: 13px;
  padding: 13px 14px;
  border: 1px solid rgba(244, 238, 225, .11);
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
  color: #a89f92;
  font-size: .74rem;
  line-height: 1.68;
}

.cal-note b {
  color: var(--ink);
}

.cal-note .g {
  color: #3ddc84;
  font-weight: 800;
}

.cal-note .b {
  color: #4da3ff;
  font-weight: 800;
}

.rental-plan {
  margin: 0 0 26px;
  padding: 22px;
  border: 1px solid rgba(228, 184, 91, .3);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(228, 184, 91, .1), transparent 48%),
    rgba(20, 27, 35, .72);
  box-shadow: 0 20px 54px rgba(0, 0, 0, .18);
}

.rental-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.rental-kicker {
  margin: 0 0 9px;
  color: #8f8779;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .17em;
}

.rental-head h2 {
  margin: 0;
  font-size: 1.22rem;
}

.rental-status {
  padding: 6px 10px;
  border: 1px solid rgba(61, 220, 132, .3);
  border-radius: 99px;
  background: rgba(61, 220, 132, .08);
  color: #67e59a;
  font-size: .68rem;
  font-weight: 800;
  white-space: nowrap;
}

.rental-vehicle {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 17px 0 0;
  padding: 13px 14px;
  border: 1px solid rgba(244, 238, 225, .1);
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
}

.rental-vehicle strong {
  color: var(--ink);
  font-size: .9rem;
}

.rental-vehicle span {
  color: #8f8779;
  font-size: .7rem;
}

.rental-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}

.rental-stop p {
  margin: 0 0 7px;
  color: var(--gold);
  font-size: .7rem;
  font-weight: 800;
}

.rental-times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rental-times > div {
  min-width: 0;
}

.rental-times small {
  display: block;
  margin-bottom: 5px;
  color: #8f8779;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
}

.rental-times strong {
  display: block;
  color: var(--ink);
  font-size: 1.75rem;
  letter-spacing: -.04em;
  line-height: 1;
}

.rental-times .beijing-time {
  padding-left: 10px;
  border-left: 1px solid rgba(244, 238, 225, .12);
}

.rental-times .beijing-time small {
  color: #77b6ff;
}

.rental-times .beijing-time strong {
  color: #d7e9ff;
  font-size: 1.2rem;
  line-height: 1.45;
}

.rental-stop > span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: .77rem;
  line-height: 1.45;
}

.rental-return {
  text-align: right;
}

.rental-line {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 7px;
  align-items: center;
  color: #766f64;
  font-size: .62rem;
  white-space: nowrap;
}

.rental-line i {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(228, 184, 91, .72));
}

.rental-line i:last-child {
  background: linear-gradient(90deg, rgba(228, 184, 91, .72), transparent);
}

@media (max-width: 560px) {
  .trip-calendar {
    padding: 17px 15px;
  }

  .cal-wrap {
    grid-template-columns: 1fr;
  }

  .cal .d {
    font-size: .78rem;
  }

  .rental-plan {
    padding: 17px 15px;
  }

  .rental-route {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rental-line {
    grid-template-columns: 1fr auto 1fr;
  }

  .rental-return {
    text-align: left;
  }
}

@media (max-width: 360px) {
  .rental-times {
    grid-template-columns: 1fr;
  }

  .rental-times .beijing-time {
    padding: 8px 0 0;
    border-top: 1px solid rgba(244, 238, 225, .12);
    border-left: 0;
  }
}
