.mag-tp-now-shell {
  width: 100%;
}

.mag-tp-now-box {
  background: linear-gradient(180deg, #fff7f7 0%, #ffffff 100%);
  border: 1px solid #f0d3d6;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(111, 11, 18, .08);
  overflow: hidden;
}

.mag-tp-now-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  background: linear-gradient(135deg, #6f0b12, #b11b27);
  color: #fff;
}

.mag-tp-now-eyebrow {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .8;
}

.mag-tp-now-list {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.mag-tp-now-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #f0d3d6;
}

.mag-tp-now-time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 14px;
  background: #fff2f3;
  color: #8f111a;
  font-weight: 700;
}

.mag-tp-now-content h3 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.25;
  color: #33171a;
}

.mag-tp-now-content p {
  margin: 0;
  color: #7b5b5e;
}

.mag-tp-empty-state {
  padding: 24px 22px;
  color: #7b5b5e;
}

@media (max-width: 767px) {
  .mag-tp-now-head,
  .mag-tp-now-item {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .mag-tp-now-item {
    display: flex;
  }

  .mag-tp-now-time {
    width: fit-content;
  }
}

.mag-tp-now-item {
  border-left: 6px solid var(--mag-tp-place-color, #8f111a);
  background: linear-gradient(180deg, color-mix(in srgb, var(--mag-tp-place-color, #8f111a) 6%, white), #fff);
}

.mag-tp-now-item--no-time {
  grid-template-columns: 1fr;
}

.mag-tp-now-place {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px !important;
  padding: 8px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--mag-tp-place-color, #8f111a) 10%, white);
  border: 1px solid color-mix(in srgb, var(--mag-tp-place-color, #8f111a) 24%, #f0d3d6);
  width: fit-content;
  color: #5b2329 !important;
}

.mag-tp-now-place-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--mag-tp-place-color, #8f111a);
  display: inline-block;
}

.mag-tp-widget {
  width: 100%;
}

.mag-tp-widget__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mag-tp-widget__section-list {
  display: grid;
  gap: 14px;
}

.mag-tp-widget__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px;
  border: 1px solid #ead7dc;
  border-left: 5px solid var(--mag-tp-place-color, #1f8f39);
  border-radius: 18px;
  background-color: #fff;
  background-image: none;
  box-sizing: border-box;
}

.mag-tp-widget__section--current .mag-tp-widget__item {
  background-color: #fff;
}

.mag-tp-widget--has-current .mag-tp-widget__section--upcoming .mag-tp-widget__item {
  background-color: #fcf7f2;
  border-style: dashed;
}

.mag-tp-widget--no-current .mag-tp-widget__section--upcoming .mag-tp-widget__item {
  background-color: #fff7ed;
}

.mag-tp-widget__section-title {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: #8f111a;
}

.mag-tp-widget--has-current .mag-tp-widget__section--upcoming .mag-tp-widget__section-title {
  color: #8f111a;
}

.mag-tp-widget--no-current .mag-tp-widget__section--upcoming .mag-tp-widget__section-title {
  color: #9c6613;
}

.mag-tp-widget__time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 12px;
  background: #f7efe5;
  color: #b1791f;
  font-weight: 600;
}

.mag-tp-widget__title {
  display: block;
  max-width: 100%;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  color: #9c6613;
}

.mag-tp-widget__place {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--mag-tp-place-color, #1f8f39);
  color: #fff;
  font-weight: 600;
}

.mag-tp-widget__placeholder {
  padding: 18px;
  border-radius: 16px;
  border: 1px dashed #d8c0c6;
  color: #7b5b5e;
}


.mag-tp-widget__item--current {}
.mag-tp-widget__item--upcoming_with_current {}
.mag-tp-widget__item--upcoming_without_current {}

.mag-tp-widget__slider-shell {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mag-tp-widget__slider {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 12px;
}

.mag-tp-widget__slider--has-arrows {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.mag-tp-widget__slider-viewport {
  overflow: hidden;
  min-width: 0;
}

.mag-tp-widget__section-list--slider {
  display: flex;
  flex-wrap: nowrap;
  transition: transform .35s ease;
  will-change: transform;
}

.mag-tp-widget__section-list--slider > .mag-tp-widget__item {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
}

.mag-tp-widget__slider-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #ead7dc;
  border-radius: 999px;
  background: #fff;
  color: #8f111a;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease, background-color .2s ease;
}

.mag-tp-widget__slider-arrow:hover {
  transform: translateY(-1px);
  background: #fff7f7;
}

.mag-tp-widget__slider-arrow:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}

.mag-tp-widget__slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mag-tp-widget__slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d9c1c7;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease, background-color .2s ease;
}

.mag-tp-widget__slider-dot.is-active {
  background: #8f111a;
  transform: scale(1.15);
}

@media (max-width: 767px) {
  .mag-tp-widget__slider--has-arrows {
    grid-template-columns: minmax(0, 1fr);
  }

  .mag-tp-widget__slider-arrow {
    display: none;
  }
}


.mag-tp-info-top-bar {
  display: block;
  width: 100%;
  padding: 12px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #6f0b12 0%, #8f111a 100%);
  color: #fff;
  box-sizing: border-box;
}

.mag-tp-info-top-bar a {
  color: inherit;
  text-decoration: underline;
}

.mag-tp-info-top-bar p:last-child {
  margin-bottom: 0;
}

@media (max-width: 782px) {
  .mag-tp-info-top-bar {
    padding: 10px 14px;
    border-radius: 14px;
  }
}

.mag-tp-day-plan {
  width: 100%;
}

.mag-tp-day-plan__inner,
.mag-tp-day-plan__shell {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mag-tp-day-plan__header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.mag-tp-day-plan__date {
  display: block;
  text-align: center;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  color: #8f111a;
}

.mag-tp-day-plan__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid #ead7dc;
  background: #fff;
  color: #8f111a;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}

.mag-tp-day-plan__nav:hover:not([disabled]) {
  transform: translateY(-1px);
}

.mag-tp-day-plan__nav[disabled] {
  opacity: .45;
  cursor: not-allowed;
}

.mag-tp-day-plan__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mag-tp-day-plan__item {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid #ead7dc;
  border-left: 6px solid var(--mag-tp-place-color, #8f111a);
  background: #fff;
  box-sizing: border-box;
  min-width: 0;
}

.mag-tp-day-plan__item--now {
  background: linear-gradient(180deg, color-mix(in srgb, var(--mag-tp-place-color, #8f111a) 8%, white), #fff);
  box-shadow: 0 12px 30px rgba(111, 11, 18, .08);
}

.mag-tp-day-plan__time {
  display: inline-block;
  flex: 0 0 auto;
  min-width: calc(var(--mag-tp-time-ch, 0) * 1ch);
  box-sizing: border-box;
  padding: 8px 14px;
  border-radius: 12px;
  background: #f7efe5;
  color: #b1791f;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.mag-tp-day-plan__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mag-tp-day-plan__title {
  flex: 0 1 auto;
  min-width: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: #32171a;
}

.mag-tp-day-plan__place {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 9px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--mag-tp-place-color, #8f111a) 12%, white);
  color: #5b2329;
  border: 1px solid color-mix(in srgb, var(--mag-tp-place-color, #8f111a) 22%, #ead7dc);
}

.mag-tp-day-plan__badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--mag-tp-place-color, #8f111a);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.mag-tp-day-plan__empty {
  padding: 18px;
  border-radius: 16px;
  border: 1px dashed #d8c0c6;
  color: #7b5b5e;
}

@media (max-width: 767px) {
  .mag-tp-day-plan__header {
    grid-template-columns: 1fr auto auto;
  }

  .mag-tp-day-plan__date {
    grid-column: 1 / -1;
    order: -1;
    text-align: left;
  }

  .mag-tp-day-plan__item {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .mag-tp-day-plan__content {
    width: 100%;
  }

  .mag-tp-day-plan__badge,
  .mag-tp-day-plan__time,
  .mag-tp-day-plan__place {
    width: fit-content;
  }
}
