/* Dotonmap Travelers — buttons on places and cards, the account area, dialog, toast. Brand red + bright accents. */

:root {
  --dtv-navy: #21294a;
  --dtv-text: #4a4f63;
  --dtv-muted: #6b6f80;
  --dtv-line: #ececf4;
  --dtv-red: #be0000;
  --dtv-red-dk: #9a0000;
  --dtv-red-bg: #ffebee;
  --dtv-green: #15803d;
  --dtv-green-bg: #dcfce7;
  --dtv-sky: #0369a1;
  --dtv-sky-bg: #e0f2fe;
  --dtv-amber: #b45309;
  --dtv-amber-bg: #fef3c7;
  --dtv-violet: #6d28d9;
  --dtv-violet-bg: #ede9fe;
  --dtv-shadow: 0 10px 30px rgba(33, 41, 74, 0.08);
  --dtv-head: 64px; /* bottom of the fixed site header, measured by tv.js */
}

.dotm-tv-ic {
  flex: none;
  display: block;
}

/* ---------- place page: next to the like ---------- */

.dotm-tv-likebar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 12px 0 18px;
}
.dotm-tv-likebar > .wpulike {
  margin: 0;
}
.dotm-tv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dotm-tv-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  background: #ffffff;
  font: 600 14px/1 Roboto, sans-serif;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.dotm-tv-btn:active,
.dotm-tv-round:active {
  transform: scale(0.94);
}
.dotm-tv-btn--want { color: var(--dtv-red); }
.dotm-tv-btn--want:hover { background: var(--dtv-red-bg); }
.dotm-tv-btn--want.is-on { background: var(--dtv-red); border-color: var(--dtv-red); color: #ffffff; }
.dotm-tv-btn--been { color: var(--dtv-green); }
.dotm-tv-btn--been:hover { background: var(--dtv-green-bg); }
.dotm-tv-btn--been.is-on { background: var(--dtv-green); border-color: var(--dtv-green); color: #ffffff; }
.dotm-tv-btn:focus-visible,
.dotm-tv-round:focus-visible,
.dotm-tv-layerbtn:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 2px;
}

/* ---------- cards: small round buttons left of the like badge (same look as the badge) ---------- */

.dotm-tv-cardbar {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dotm-tv-cardbar > .va-like-badge {
  position: static;
}
.dotm-tv-round {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
/* A bigger invisible target for fingers. */
.dotm-tv-round::after {
  content: "";
  position: absolute;
  inset: -7px -3px;
}
.dotm-tv-round:hover { background: #ffffff; }
.dotm-tv-round--want { color: var(--dtv-red); }
.dotm-tv-round--want.is-on { background: var(--dtv-red); color: #ffffff; }
.dotm-tv-round--been { color: var(--dtv-green); }
.dotm-tv-round--been.is-on { background: var(--dtv-green); color: #ffffff; }

/* ---------- header entry ---------- */

.dotm-tv-head {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--dtv-red-bg);
  color: var(--dtv-red);
  font: 700 14px/1 Roboto, sans-serif;
  text-decoration: none;
}
.dotm-tv-head:hover {
  background: #ffcdd2;
  color: var(--dtv-red-dk);
}
.dotm-tv-head__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  box-sizing: border-box;
  border-radius: 9px;
  background: var(--dtv-red);
  color: #ffffff;
  font-size: 11px;
}
.dotm-tv-head__count[hidden] {
  display: none;
}
.dotm-tv-head--in,
.dotm-tv-head--in:hover {
  padding: 0;
  background: none;
}
.dotm-tv-head__avatar,
.dotm-tv-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dtv-red);
  color: #ffffff;
  font: 700 15px/1 Roboto, sans-serif;
}
/* Person icon + "Sign in"; phones show just the icon in a round button. */
.dotm-tv-head__label {
  white-space: nowrap;
}
.dotm-tv-head .dotm-tv-head__avatar {
  width: 32px;
  height: 32px;
  font-size: 14px;
}
@media (max-width: 640px) {
  .dotm-tv-head {
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 7px;
  }
  .dotm-tv-head__label {
    display: none;
  }
}

/* ---------- "My places" control on the site's maps ---------- */

.dotm-tv-layerbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  background: #ffffff;
  background-clip: padding-box;
  color: var(--dtv-red);
  cursor: pointer;
}
.dotm-tv-layerbtn.is-on {
  background: var(--dtv-red);
  color: #ffffff;
}

/* ---------- toast ---------- */

.dotm-tv-toast {
  position: fixed;
  left: 16px;
  bottom: 44px;
  z-index: 10002;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  box-sizing: border-box;
  max-width: min(540px, calc(100vw - 32px));
  padding: 12px 10px 12px 16px;
  border-radius: 16px;
  background: var(--dtv-navy);
  color: #ffffff;
  font: 400 15px/1.4 Roboto, sans-serif;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.dotm-tv-toast.is-shown {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.dotm-tv-toast__ic { color: #4ade80; }
.dotm-tv-toast.is-warn .dotm-tv-toast__ic { color: #fbbf24; }
.dotm-tv-toast__text { flex: 1 1 220px; }
.dotm-tv-toast__btn {
  padding: 9px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--dtv-red);
  font-weight: 700;
  text-decoration: none;
}
.dotm-tv-toast__x {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.dotm-tv-testing {
  position: fixed;
  left: 8px;
  bottom: 8px;
  z-index: 10001;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--dtv-violet);
  color: #ffffff;
  font: 600 11px/1.2 Roboto, sans-serif;
  opacity: 0.9;
  pointer-events: none;
}

/* ---------- "When were you here?" dialog ---------- */

.dotm-tv-dlg {
  width: min(420px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  color: var(--dtv-text);
  font-family: Roboto, sans-serif;
}
.dotm-tv-dlg::backdrop {
  background: rgba(33, 41, 74, 0.5);
}
.dotm-tv-dlg__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 22px;
}
.dotm-tv-dlg__title {
  margin: 0;
  color: var(--dtv-navy);
  font-size: 20px;
  font-weight: 700;
}
.dotm-tv-dlg__row {
  display: flex;
  gap: 10px;
}
.dotm-tv-dlg__field {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  color: var(--dtv-navy);
  font-size: 13px;
  font-weight: 500;
}
.dotm-tv-dlg select,
.dotm-tv-dlg textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d9dbe6;
  border-radius: 10px;
  background: #ffffff;
  color: var(--dtv-navy);
  font: 400 15px/1.4 Roboto, sans-serif;
}
.dotm-tv-dlg select { height: 44px; padding-top: 0; padding-bottom: 0; }
.dotm-tv-dlg textarea { resize: vertical; }
.dotm-tv-dlg__stars {
  display: flex;
  gap: 2px;
}
.dotm-tv-dlg__stars button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.dotm-tv-dlg__stars svg {
  fill: #e3e4ec;
  stroke: #d0d2de;
  stroke-width: 1;
}
.dotm-tv-dlg__stars button.is-on svg {
  fill: #f5b400;
  stroke: #d99a00;
}
/* "Publish as a review" switch and messages of the visit dialog */
.dotm-tv-dlg__pub {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff4f4;
  color: var(--dtv-navy);
  cursor: pointer;
}
.dotm-tv-dlg__pub[hidden] { display: none; }
.dotm-tv-dlg__pub input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: #be0000;
  cursor: pointer;
}
.dotm-tv-dlg__pub span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.dotm-tv-dlg__pub b {
  font-size: 15px;
  font-weight: 700;
}
.dotm-tv-dlg__pub small {
  color: #545454;
  font-size: 12.5px;
  line-height: 1.35;
}
.dotm-tv-dlg__done,
.dotm-tv-dlg__err {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.35;
}
.dotm-tv-dlg__done { background: #f1f2f8; color: #545454; }
.dotm-tv-dlg__err { background: #fdecec; color: #be0000; font-weight: 500; }
.dotm-tv-dlg__done[hidden],
.dotm-tv-dlg__err[hidden] { display: none; }
.dotm-tv-dlg__acts {
  display: flex;
  gap: 10px;
}
.dotm-tv-dlg__save,
.dotm-tv-dlg__skip {
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  font: 700 15px Roboto, sans-serif;
  cursor: pointer;
}
.dotm-tv-dlg__save {
  flex: 1;
  background: var(--dtv-green);
  color: #ffffff;
}
.dotm-tv-dlg__skip {
  background: #f1f2f8;
  color: var(--dtv-navy);
}

/* ---------- account area ---------- */

.dotm-tv {
  padding: calc(var(--dtv-head) + 28px) 0 64px; /* clears the fixed header */
  color: var(--dtv-text);
  font-family: Roboto, sans-serif;
}
.dotm-tv *,
.dotm-tv *::before,
.dotm-tv *::after {
  box-sizing: border-box;
}
.dotm-tv__wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}
.dotm-tv__wrap--auth {
  flex-direction: column;
  align-items: stretch;
  max-width: 1100px;
}

/* Sidebar: the main menu of the account, always beside the content on desktop and laptop. */
.dotm-tv-side {
  position: sticky;
  top: calc(var(--dtv-head) + 20px);
  flex: 0 0 264px;
  padding: 18px 12px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--dtv-shadow);
}
.dotm-tv-side__me {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 16px;
}
.dotm-tv-side .dotm-tv-avatar {
  width: 52px;
  height: 52px;
  font-size: 22px;
}
.dotm-tv-side__name {
  color: var(--dtv-navy);
  font-size: 17px;
  font-weight: 700;
  word-break: break-word;
}
.dotm-tv-side__sub {
  color: var(--dtv-muted);
  font-size: 13px;
}
.dotm-tv-side__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dotm-tv-side__link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--dtv-navy);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.dotm-tv-side__link .dotm-tv-ic { color: var(--dtv-red); }
.dotm-tv-side__link:hover {
  background: var(--dtv-red-bg);
  color: var(--dtv-navy);
}
.dotm-tv-side__link.is-active {
  background: var(--dtv-red);
  color: #ffffff;
  font-weight: 700;
}
.dotm-tv-side__link.is-active .dotm-tv-ic { color: #ffffff; }
.dotm-tv-side__label { flex: 1; }
.dotm-tv-side__count {
  min-width: 26px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f2f8;
  color: var(--dtv-navy);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.dotm-tv-side__link.is-active .dotm-tv-side__count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.dotm-tv-side__link--out {
  margin-top: 8px;
  border-top: 1px solid var(--dtv-line);
  border-radius: 0 0 12px 12px;
  color: var(--dtv-muted);
}
.dotm-tv-side__link--out .dotm-tv-ic { color: var(--dtv-muted); }

.dotm-tv-main {
  flex: 1 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Phones and small tablets: the menu is a drawer that slides in from the left, opened by a red
   tab peeking out of the left edge. The tab sits under the site header (z-index 20), so the
   theme's own burger menu covers it; the open drawer and its backdrop start below the header. */
.dotm-tv-sidetab,
.dotm-tv-sideback,
.dotm-tv-side__close {
  display: none;
}
@media (max-width: 900px) {
  .dotm-tv {
    padding-top: calc(var(--dtv-head) + 16px);
  }
  .dotm-tv-sidetab {
    position: fixed;
    top: 50%;
    left: 0;
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 42px;
    height: 68px;
    margin: -34px 0 0;
    padding: 0 4px 0 0;
    border: 0;
    border-radius: 0 18px 18px 0;
    background: var(--dtv-red);
    box-shadow: 0 6px 18px rgba(190, 0, 0, 0.35);
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.25s ease;
  }
  .dotm-tv-sidetab .dotm-tv-ic:last-child { opacity: 0.8; }
  .dotm-tv-sidetab:focus-visible { outline: 3px solid var(--dtv-navy); outline-offset: 2px; }
  .dotm-tv-side-open .dotm-tv-sidetab { transform: translateX(-110%); }
  .dotm-tv-sideback {
    position: fixed;
    top: var(--dtv-head);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    background: rgba(33, 41, 74, 0.45);
  }
  .dotm-tv-sideback[hidden] { display: none; }
  .dotm-tv-side {
    position: fixed;
    top: var(--dtv-head);
    bottom: 0;
    left: 0;
    z-index: 1001;
    flex: none;
    width: min(300px, 86vw);
    padding: 18px 12px 24px;
    border-radius: 0 20px 20px 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
  }
  .dotm-tv-side-open .dotm-tv-side {
    transform: none;
    visibility: visible;
    transition: transform 0.25s ease;
  }
  .dotm-tv-side__me { padding-right: 44px; }
  .dotm-tv-side__close {
    position: absolute;
    top: 14px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f2f8;
    color: var(--dtv-navy);
    cursor: pointer;
  }
  html.dotm-tv-side-open { overflow: hidden; } /* no page scrolling behind the open menu */
}
@media (prefers-reduced-motion: reduce) {
  .dotm-tv-side,
  .dotm-tv-side-open .dotm-tv-side,
  .dotm-tv-sidetab { transition: none; }
}

/* Greeting */
.dotm-tv-hello {
  padding: 24px 28px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--dtv-shadow);
}
.dotm-tv-hello__title {
  margin: 0;
  color: var(--dtv-navy);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}
.dotm-tv-hello__sub {
  max-width: 640px;
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.5;
}
.dotm-tv-page-title {
  margin: 0;
  color: var(--dtv-navy);
  font-size: 30px;
  font-weight: 700;
}

/* Numbers */
.dotm-tv-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
}
.dotm-tv-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 18px;
  border-radius: 20px;
}
.dotm-tv-stat .dotm-tv-ic { grid-row: 1 / 3; }
.dotm-tv-stat b {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}
.dotm-tv-stat span {
  color: var(--dtv-navy);
  font-size: 14px;
  font-weight: 500;
}
.dotm-tv-stat--sky { background: var(--dtv-sky-bg); color: var(--dtv-sky); }
.dotm-tv-stat--green { background: var(--dtv-green-bg); color: var(--dtv-green); }
.dotm-tv-stat--red { background: var(--dtv-red-bg); color: var(--dtv-red); }
.dotm-tv-stat--amber { background: var(--dtv-amber-bg); color: var(--dtv-amber); }
@media (max-width: 900px) {
  .dotm-tv-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .dotm-tv-stat {
    column-gap: 10px;
    padding: 14px;
    border-radius: 16px;
  }
  .dotm-tv-stat .dotm-tv-ic { width: 22px; height: 22px; }
  .dotm-tv-stat b { font-size: 28px; }
  .dotm-tv-stat span { font-size: 13px; line-height: 1.25; }
}
@media (max-width: 359.98px) {
  .dotm-tv-stats { grid-template-columns: minmax(0, 1fr); }
}

/* Sections */
.dotm-tv-card {
  padding: 20px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--dtv-shadow);
}
.dotm-tv-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.dotm-tv-card__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--dtv-navy);
  font-size: 20px;
  font-weight: 700;
}
.dotm-tv-card__title--page { font-size: 28px; }
.dotm-tv-card__sub {
  margin: -8px 0 16px;
  color: var(--dtv-muted);
  font-size: 14px;
}
.dotm-tv-card__n {
  padding: 2px 10px;
  border-radius: 999px;
  background: #f1f2f8;
  font-size: 14px;
}
.dotm-tv-card__more {
  color: var(--dtv-red);
  font-weight: 700;
  text-decoration: none;
}
.dotm-tv-chip-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
}
.dotm-tv-chip-ic--red { background: var(--dtv-red-bg); color: var(--dtv-red); }
.dotm-tv-chip-ic--green { background: var(--dtv-green-bg); color: var(--dtv-green); }
.dotm-tv-chip-ic--violet { background: var(--dtv-violet-bg); color: var(--dtv-violet); }
.dotm-tv-chip-ic--amber { background: var(--dtv-amber-bg); color: var(--dtv-amber); }
.dotm-tv-chip-ic--sky { background: var(--dtv-sky-bg); color: var(--dtv-sky); }

.dotm-tv-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--dtv-muted);
  font-size: 13px;
}
.dotm-tv-legend__dot {
  flex: none;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  border-radius: 50%;
}
.dotm-tv-legend__dot--been { background: var(--dtv-green); --dtv-dot: var(--dtv-green); }
.dotm-tv-legend__dot--want { background: var(--dtv-red); --dtv-dot: var(--dtv-red); }
/* Legend entries are switches: pressed = shown on the map; off = hollow dot, faded label. */
.dotm-tv-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: auto;
  margin: 0;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font: inherit;
  line-height: 1.2;
  text-transform: none;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}
.dotm-tv-legend__item .dotm-tv-legend__dot { margin-left: 0; }
.dotm-tv-legend__item:hover { background: #f1f2f8; }
.dotm-tv-legend__item:focus-visible { outline: 2px solid var(--dtv-navy); outline-offset: 1px; }
.dotm-tv-legend__item[aria-pressed="false"] { opacity: 0.55; }
.dotm-tv-legend__item[aria-pressed="false"] .dotm-tv-legend__dot {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--dtv-dot);
}
.dotm-tv-legend__item:disabled { opacity: 0.4; cursor: default; }
.dotm-tv-legend__item:disabled:hover { background: transparent; }

.dotm-tv-map {
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  z-index: 0;
}
/* Grouped markers: white disc with the count, ring = share of "been" (green) vs "want" (red). */
.dotm-tv-cluster {
  background: none;
  border: 0;
}
.dotm-tv-cluster__ring {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 4px;
  border-radius: 50%;
  background: conic-gradient(var(--dtv-green) 0 var(--p), var(--dtv-red) var(--p) 100%);
  box-shadow: 0 3px 10px rgba(33, 41, 74, 0.3);
}
.dotm-tv-cluster__ring b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  color: var(--dtv-navy);
  font: 800 14px/1 Roboto, sans-serif;
}
.dotm-tv-pin {
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 3px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.dotm-tv-pin--been { background: var(--dtv-green); }
.dotm-tv-pin--want { background: var(--dtv-red); }
.dotm-tv-pop {
  display: block;
  color: var(--dtv-navy) !important;
  font: 700 14px/1.3 Roboto, sans-serif;
  text-decoration: none;
}
.dotm-tv-pop img {
  display: block;
  width: 100%;
  height: 110px;
  margin-bottom: 8px;
  border-radius: 8px;
  object-fit: cover;
}
.dotm-tv-pop:hover span { color: var(--dtv-red); }
.dotm-tv-pin--stop {
  background: var(--dtv-red);
  font: 700 13px/1 Roboto, sans-serif;
}

/* Good time to go */
.dotm-tv-good {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 14px;
}
.dotm-tv-good__item {
  display: flex;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--dtv-line);
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
}
.dotm-tv-good__item:hover { border-color: #f5c2c2; }
.dotm-tv-good__item img {
  flex: none;
  width: 84px;
  height: 84px;
  border-radius: 12px;
  object-fit: cover;
}
.dotm-tv-good__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}
.dotm-tv-good__title {
  color: var(--dtv-navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.dotm-tv-good__tag {
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.dotm-tv-good__tag--best { background: var(--dtv-green-bg); color: var(--dtv-green); }
.dotm-tv-good__tag--good { background: var(--dtv-amber-bg); color: var(--dtv-amber); }
.dotm-tv-good__best {
  color: var(--dtv-muted);
  font-size: 12px;
}
.dotm-tv-months {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2px;
  max-width: 220px;
}
.dotm-tv-months__m {
  height: 8px;
  border-radius: 2px;
  background: #e6e7ee;
}
.dotm-tv-months__m--best { background: #16a34a; }
.dotm-tv-months__m--good { background: #86efac; }
.dotm-tv-months__m--hot { background: #fdba74; }
.dotm-tv-months__m.is-now { box-shadow: 0 0 0 2px var(--dtv-navy); }

/* Collections */
.dotm-tv-cols {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 14px;
}
.dotm-tv-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--dtv-line);
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
}
.dotm-tv-col:hover { border-color: #bae6fd; }
.dotm-tv-col__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.dotm-tv-col__title {
  color: var(--dtv-navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.dotm-tv-col__n {
  flex: none;
  color: var(--dtv-sky);
  font-size: 15px;
}
.dotm-tv-bar {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #e8edf3;
  overflow: hidden;
}
.dotm-tv-bar > span {
  display: block;
  height: 100%;
  min-width: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0ea5e9, #16a34a);
}
.dotm-tv-col__want {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dtv-red);
  font-size: 13px;
  font-weight: 500;
}

/* Place cards */
.dotm-tv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
/* Overview previews hold up to 8 cards: two full rows of four where four columns fit
   (4 × 220px + 3 × 16px gaps = 928px); narrower, the 7th and 8th are hidden so 6 fill the rows. */
.dotm-tv-cq {
  container-type: inline-size;
}
@container (min-width: 928px) {
  .dotm-tv-grid--preview { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@container (max-width: 927.98px) {
  .dotm-tv-grid--preview > :nth-child(n+7) { display: none; }
  /* Events: two per row instead of three + a lonely fourth. */
  .dotm-tv-grid--events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 455.98px) {
  .dotm-tv-grid--events { grid-template-columns: minmax(0, 1fr); }
}
.dotm-tv-place {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--dtv-line);
  border-radius: 18px;
  background: #ffffff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.dotm-tv-place:hover {
  transform: translateY(-2px);
  box-shadow: var(--dtv-shadow);
}
.dotm-tv-place__img img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.dotm-tv-place__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px 14px;
}
.dotm-tv-place__country {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--dtv-sky-bg);
  color: var(--dtv-sky);
  font-size: 12px;
  font-weight: 700;
}
.dotm-tv-place--been .dotm-tv-place__country {
  background: var(--dtv-green-bg);
  color: var(--dtv-green);
}
.dotm-tv-place__title {
  color: var(--dtv-navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}
.dotm-tv-place__title:hover { color: var(--dtv-red); }
.dotm-tv-place__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--dtv-muted);
  font-size: 13px;
}
.dotm-tv-stars {
  display: inline-flex;
  gap: 1px;
}
.dotm-tv-stars svg { fill: #e3e4ec; }
.dotm-tv-stars svg.is-on { fill: #f5b400; }
.dotm-tv-place__note {
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f6f6f8;
  color: var(--dtv-navy);
  font-size: 13px;
  line-height: 1.45;
}
.dotm-tv-place__acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}
.dotm-tv-mini {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  font: 700 13px/1 Roboto, sans-serif;
  cursor: pointer;
}
.dotm-tv-mini--been { background: var(--dtv-green-bg); color: var(--dtv-green); }
.dotm-tv-mini--been:hover { background: #bbf7d0; }
.dotm-tv-mini--edit { background: #f1f2f8; color: var(--dtv-navy); }
.dotm-tv-mini--edit:hover { background: #e3e4ec; }
.dotm-tv-mini--remove {
  width: 36px;
  justify-content: center;
  margin-left: auto;
  padding: 0;
  background: #f1f2f8;
  color: var(--dtv-muted);
}
.dotm-tv-mini--remove:hover { background: var(--dtv-red-bg); color: var(--dtv-red); }

.dotm-tv-empty {
  margin: 0;
  padding: 18px;
  border: 2px dashed #e3e4ec;
  border-radius: 16px;
  color: var(--dtv-muted);
  font-size: 15px;
  line-height: 1.6;
}
.dotm-tv-empty__ic {
  display: inline-flex;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}
.dotm-tv-empty__ic--red { background: var(--dtv-red-bg); color: var(--dtv-red); }
.dotm-tv-empty__ic--green { background: var(--dtv-green-bg); color: var(--dtv-green); }

/* Messages */
.dotm-tv-msg {
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
}
.dotm-tv-msg--ok { background: var(--dtv-green-bg); color: #14532d; }
.dotm-tv-msg--err { background: var(--dtv-red-bg); color: var(--dtv-red-dk); }

/* Forms: sign in, create account, settings */
.dotm-tv-google {
  display: flex;
  justify-content: center;
  padding: 6px 0;
}
.dotm-tv-auth {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: 20px;
}
.dotm-tv-form,
.dotm-tv-settings {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dotm-tv-form {
  padding: 24px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--dtv-shadow);
}
.dotm-tv-form__title {
  margin: 0;
  color: var(--dtv-navy);
  font-size: 22px;
  font-weight: 700;
}
.dotm-tv-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--dtv-navy);
  font-size: 14px;
  font-weight: 500;
}
.dotm-tv-field legend {
  padding: 0;
  font-weight: 500;
}
.dotm-tv-field__hint {
  color: var(--dtv-muted);
  font-size: 13px;
  font-weight: 400;
}
.dotm-tv-field input[type="text"],
.dotm-tv-field input[type="email"],
.dotm-tv-field input[type="password"],
.dotm-tv-home input[type="text"] {
  height: 46px;
  padding: 0 14px;
  border: 1px solid #d9dbe6;
  border-radius: 12px;
  background: #ffffff;
  color: var(--dtv-navy);
  font: 400 16px Roboto, sans-serif;
}
.dotm-tv-field input:focus,
.dotm-tv-home input:focus {
  border-color: var(--dtv-red);
  outline: 3px solid rgba(190, 0, 0, 0.15);
}
.dotm-tv-home {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.dotm-tv-home input[type="text"] {
  flex: 1 1 220px;
}
.dotm-tv-countries__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 260px;
  margin-top: 4px;
  overflow-y: auto;
}
.dotm-tv-pick {
  position: relative;
  cursor: pointer;
}
.dotm-tv-pick input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.dotm-tv-pick span {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border: 1px solid #d9dbe6;
  border-radius: 999px;
  background: #ffffff;
  color: var(--dtv-navy);
  font-size: 14px;
  font-weight: 500;
}
.dotm-tv-pick input:checked + span {
  border-color: var(--dtv-red);
  background: var(--dtv-red);
  color: #ffffff;
}
.dotm-tv-pick input:focus-visible + span {
  outline: 3px solid #f59e0b;
  outline-offset: 2px;
}
.dotm-tv-signins {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.dotm-tv-signins li {
  display: flex;
  gap: 12px;
}
.dotm-tv-signins span {
  flex: 0 0 90px;
  color: var(--dtv-muted);
}
.dotm-tv-signins b {
  color: var(--dtv-navy);
  word-break: break-all;
}
.dotm-tv-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
}
.dotm-tv-check input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--dtv-red);
}
.dotm-tv-btn-primary,
.dotm-tv-btn-secondary,
.dotm-tv-btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  font: 700 15px Roboto, sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.dotm-tv-btn-primary {
  background: var(--dtv-red);
  color: #ffffff;
}
.dotm-tv-btn-primary:hover { background: var(--dtv-red-dk); color: #ffffff; }
.dotm-tv-btn-secondary {
  background: var(--dtv-red-bg);
  color: var(--dtv-red);
}
.dotm-tv-btn-secondary:hover { background: #ffcdd2; color: var(--dtv-red-dk); }
.dotm-tv-btn-danger {
  border: 1.5px solid var(--dtv-red);
  background: #ffffff;
  color: var(--dtv-red);
}
.dotm-tv-btn-danger:hover { background: var(--dtv-red-bg); }
.dotm-tv-form .dotm-tv-btn-primary { width: 100%; }
.dotm-tv-delete {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--dtv-line);
}
.dotm-tv-form__link,
.dotm-tv-form__note {
  margin: 0;
  color: var(--dtv-muted);
  font-size: 14px;
}
.dotm-tv-form__link:hover { color: var(--dtv-red); }
.dotm-tv-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.dotm-tv-guest__warn {
  margin: -6px 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--dtv-amber-bg);
  color: #78350f;
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- upcoming events in the account ---------- */

.dotm-tv-place__img {
  position: relative;
  display: block;
}
.dotm-tv-place__when {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--dtv-red);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}
.dotm-tv-place__why {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.dotm-tv-place__why--list { background: var(--dtv-red-bg); color: var(--dtv-red); }
.dotm-tv-place__why--near { background: var(--dtv-violet-bg); color: var(--dtv-violet); }
.dotm-tv-place__why--country { background: var(--dtv-sky-bg); color: var(--dtv-sky); }
.dotm-tv-empty a { color: var(--dtv-red); font-weight: 700; }

/* ---------- reviews on a place page ---------- */

.dotm-tv-reviews {
  margin: 24px 0 40px;
  padding: 24px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--dtv-shadow);
  color: var(--dtv-text);
  font-family: Roboto, sans-serif;
}
.dotm-tv-reviews__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.dotm-tv-reviews__title {
  margin: 0;
  color: var(--dtv-navy);
  font-size: 22px;
  font-weight: 700;
}
.dotm-tv-reviews__avg {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dtv-muted);
  font-size: 15px;
}
.dotm-tv-reviews__avg b {
  color: var(--dtv-navy);
  font-size: 18px;
}
.dotm-tv-reviews__avg .dotm-tv-stars svg {
  width: 18px;
  height: 18px;
}
.dotm-tv-reviews__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.dotm-tv-review {
  padding: 16px;
  border: 1px solid var(--dtv-line);
  border-radius: 16px;
}
.dotm-tv-review.is-mine {
  border-color: #f5c2c2;
  background: #fffafa;
}
.dotm-tv-review__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dotm-tv-review__av {
  width: 40px;
  height: 40px;
}
.dotm-tv-review__name {
  color: var(--dtv-navy);
  font-size: 15px;
}
.dotm-tv-review__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--dtv-muted);
  font-size: 13px;
}
.dotm-tv-review__wait {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--dtv-amber-bg);
  color: var(--dtv-amber);
  font-weight: 700;
}
.dotm-tv-review__text {
  margin-top: 10px;
  color: var(--dtv-navy);
  font-size: 15px;
  line-height: 1.6;
}
.dotm-tv-review__text p { margin: 0 0 8px; }
.dotm-tv-review__text p:last-child { margin: 0; }
.dotm-tv-reviews__none {
  margin: 0 0 16px;
  color: var(--dtv-muted);
}
.dotm-tv-reviews__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--dtv-line);
}
.dotm-tv-reviews__formtitle {
  margin: 0;
  color: var(--dtv-navy);
  font-size: 18px;
  font-weight: 700;
}
.dotm-tv-reviews__form textarea {
  padding: 12px 14px;
  border: 1px solid #d9dbe6;
  border-radius: 12px;
  color: var(--dtv-navy);
  font: 400 15px/1.5 Roboto, sans-serif;
  resize: vertical;
}
.dotm-tv-reviews__form textarea:focus {
  border-color: var(--dtv-red);
  outline: 3px solid rgba(190, 0, 0, 0.15);
}

/* Star picker: inputs 5→1 in the markup, shown 1→5; checked/hovered stars fill to the left. */
.dotm-tv-rate {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 2px;
}
.dotm-tv-rate input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.dotm-tv-rate label {
  display: flex;
  cursor: pointer;
}
.dotm-tv-rate svg {
  fill: #e3e4ec;
  stroke: #d0d2de;
  stroke-width: 1;
  transition: fill 0.1s ease;
}
.dotm-tv-rate input:checked ~ label svg,
.dotm-tv-rate label:hover svg,
.dotm-tv-rate label:hover ~ label svg {
  fill: #f5b400;
  stroke: #d99a00;
}
.dotm-tv-rate input:focus-visible + label {
  outline: 3px solid #f59e0b;
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- "My reviews" tab ---------- */

.dotm-tv-myreviews {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dotm-tv-myreview {
  display: flex;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--dtv-line);
  border-radius: 16px;
}
.dotm-tv-myreview__img {
  flex: none;
  width: 84px;
  height: 84px;
  overflow: hidden;
  border-radius: 12px;
  background: #f1f2f8;
}
.dotm-tv-myreview__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dotm-tv-myreview__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}
.dotm-tv-myreview__status {
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
}
.dotm-tv-myreview__status--live { background: var(--dtv-green-bg); color: var(--dtv-green); }
.dotm-tv-myreview__status--wait { background: var(--dtv-amber-bg); color: var(--dtv-amber); }
.dotm-tv-myreview__text {
  margin: 0;
  color: var(--dtv-navy);
  font-size: 14px;
  line-height: 1.5;
}

.dotm-tv-place__review {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  color: var(--dtv-red);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.dotm-tv-place__review:hover { color: var(--dtv-red-dk); text-decoration: underline; }

/* ---------- maps on the list tabs ---------- */

.dotm-tv-map--list {
  height: 340px;
  margin-bottom: 18px;
}

/* ---------- trips ---------- */

.dotm-tv-back {
  align-self: flex-start;
  color: var(--dtv-muted);
  font-size: 14px;
  text-decoration: none;
}
.dotm-tv-back:hover { color: var(--dtv-red); }
.dotm-tv-msg--info { background: var(--dtv-sky-bg); color: #0c4a6e; margin: 0; }
.dotm-tv-trips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 12px;
}
.dotm-tv-tripcard {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--dtv-line);
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
}
.dotm-tv-tripcard:hover { border-color: #f5c2c2; }
.dotm-tv-tripcard__ic {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--dtv-violet-bg);
  color: var(--dtv-violet);
}
.dotm-tv-tripcard__img {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--dtv-violet-bg);
}
.dotm-tv-tripcard__body { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.dotm-tv-tripcard__title { color: var(--dtv-navy); font-size: 16px; }
.dotm-tv-tripcard__meta { color: var(--dtv-muted); font-size: 13px; }
.dotm-tv-tripform {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 14px;
}
.dotm-tv-tripform select,
.dotm-tv-tripform input[type="date"],
.dotm-tv-tripform input[type="number"] {
  height: 46px;
  padding: 0 12px;
  border: 1px solid #d9dbe6;
  border-radius: 12px;
  background: #ffffff;
  color: var(--dtv-navy);
  font: 400 15px Roboto, sans-serif;
}
.dotm-tv-triphead {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dotm-tv-triphead__chips,
.dotm-tv-triphead__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dotm-tv-chipline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f1f2f8;
  color: var(--dtv-navy);
  font-size: 14px;
  font-weight: 500;
}
.dotm-tv-chipline .dotm-tv-ic { color: var(--dtv-red); }
.dotm-tv-btn-link { width: auto; }
.dotm-tv-tripedit summary {
  color: var(--dtv-red);
  font-weight: 700;
  cursor: pointer;
}
.dotm-tv-tripedit[open] summary { margin-bottom: 14px; }
.dotm-tv-tripgrid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
}
.dotm-tv-plan {
  flex: 999 1 420px;
  min-width: 0;
}
.dotm-tv-tripside {
  display: flex;
  flex: 1 1 340px;
  min-width: 0;
  flex-direction: column;
  gap: 20px;
}
.dotm-tv-map--trip { height: 360px; }
.dotm-tv-day + .dotm-tv-day { margin-top: 8px; }
.dotm-tv-day__title {
  margin: 16px 0 6px;
  color: var(--dtv-red);
  font-size: 16px;
  font-weight: 700;
}
.dotm-tv-day__date {
  margin-left: 6px;
  color: var(--dtv-muted);
  font-weight: 500;
}
.dotm-tv-stop {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--dtv-line);
}
.dotm-tv-stop__num {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--dtv-red);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}
.dotm-tv-stop__img img {
  display: block;
  width: 96px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
}
.dotm-tv-stop__body {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}
.dotm-tv-stop__wx,
.dotm-tv-stop__ticket,
.dotm-tv-stop__season {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  color: var(--dtv-text);
  font-size: 13px;
}
.dotm-tv-stop__wx .dotm-tv-ic { color: #d97706; }
.dotm-tv-stop__ticket .dotm-tv-ic { color: var(--dtv-amber); }
.dotm-tv-stop__season { color: var(--dtv-amber); font-weight: 500; }
.dotm-tv-stop__acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.dotm-tv-stop__acts form { margin: 0; }
.dotm-tv-stop__acts select {
  height: 36px;
  padding: 0 8px;
  border: 1px solid #d9dbe6;
  border-radius: 999px;
  background: #ffffff;
  color: var(--dtv-navy);
  font: 500 13px Roboto, sans-serif;
}
.dotm-tv-mini--icon {
  width: 36px;
  justify-content: center;
  padding: 0;
  background: #f1f2f8;
  color: var(--dtv-navy);
}
.dotm-tv-mini--icon:hover { background: #e3e4ec; }
.dotm-tv-stop__acts .dotm-tv-mini--remove { margin-left: 0; }
.dotm-tv-tickets {
  margin: 12px 0 6px;
  color: var(--dtv-navy);
  font-size: 22px;
}
.dotm-tv-evlist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.dotm-tv-evlist li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dotm-tv-evlist li form { margin: 0 0 0 auto; }
.dotm-tv-evlist a {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.dotm-tv-evlist img {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
}
.dotm-tv-evlist b {
  display: block;
  color: var(--dtv-navy);
  font-size: 14px;
  line-height: 1.3;
}
.dotm-tv-evlist small {
  color: var(--dtv-red);
  font-weight: 700;
}

/* ---------- badges ---------- */

.dotm-tv-badges {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px 12px;
}
@media (max-width: 640px) {
  .dotm-tv-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 359.98px) {
  .dotm-tv-badges { grid-template-columns: minmax(0, 1fr); }
}
.dotm-tv-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  --tone: var(--dtv-red);
}
.dotm-tv-badge__ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--tone);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(33, 41, 74, 0.15);
}
.dotm-tv-badge__title {
  color: var(--dtv-navy);
  font-size: 14px;
  line-height: 1.25;
}
.dotm-tv-badge__sub {
  color: var(--dtv-muted);
  font-size: 12px;
}
.dotm-tv-badge.is-locked .dotm-tv-badge__ic {
  border: 2px dashed #c9cbd8;
  background: #f6f6f8;
  color: #9a9aa6;
  box-shadow: none;
}
.dotm-tv-badge.is-locked .dotm-tv-badge__title { color: var(--dtv-muted); }
.dotm-tv-badge--red { --tone: #be0000; }
.dotm-tv-badge--sky { --tone: #0369a1; }
.dotm-tv-badge--green { --tone: #15803d; }
.dotm-tv-badge--violet { --tone: #6d28d9; }
.dotm-tv-badge--amber { --tone: #b45309; }
.dotm-tv-badge--slate { --tone: #475569; }
.dotm-tv-badge--pink { --tone: #be185d; }
.dotm-tv-badge--gold { --tone: linear-gradient(135deg, #f59e0b, #ca8a04); }
.dotm-tv-subtitle {
  margin: 24px 0 12px;
  color: var(--dtv-navy);
  font-size: 17px;
  font-weight: 700;
}

/* ---------- sidebar: public page ---------- */

.dotm-tv-side__pub {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 10px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f6f6f8;
  text-decoration: none;
}
.dotm-tv-side__pubstate {
  color: var(--dtv-navy);
  font-size: 14px;
  font-weight: 700;
}
.dotm-tv-side__pubstate--on::before,
.dotm-tv-side__pubstate--off::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  vertical-align: middle;
}
.dotm-tv-side__pubstate--on::before { background: var(--dtv-green); }
.dotm-tv-side__pubstate--off::before { background: #c9cbd8; }
.dotm-tv-side__publink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dtv-red);
  font-size: 13px;
  font-weight: 700;
}

/* ---------- settings: public page ---------- */

.dotm-tv-check--big { font-size: 16px; font-weight: 700; color: var(--dtv-navy); }
.dotm-tv-slug {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #d9dbe6;
  border-radius: 12px;
  background: #f6f6f8;
}
.dotm-tv-slug__base {
  padding: 0 4px 0 14px;
  color: var(--dtv-muted);
  font-size: 15px;
  white-space: nowrap;
}
.dotm-tv-slug input[type="text"] {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 12px 0 0;
  border: 0;
  background: transparent;
  color: var(--dtv-navy);
  font: 500 16px Roboto, sans-serif;
}
.dotm-tv-slug input:focus { outline: none; }
.dotm-tv-slug:focus-within { border-color: var(--dtv-red); outline: 3px solid rgba(190, 0, 0, 0.15); }
.dotm-tv-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- public traveler page ---------- */

.dotm-tv__wrap--public {
  flex-direction: column;
  align-items: stretch;
  max-width: 1100px;
}
.dotm-tv__wrap--public > * { width: 100%; }
.dotm-tv-pubhead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 22px;
}
.dotm-tv-pubhead__av {
  width: 88px;
  height: 88px;
  font-size: 38px;
}
.dotm-tv-pubhead__body {
  flex: 1 1 320px;
  min-width: 0;
}
.dotm-tv-pubhead__name {
  margin: 0;
  color: var(--dtv-navy);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  word-break: break-word;
}
.dotm-tv-pubhead__sub {
  margin-top: 2px;
  color: var(--dtv-muted);
  font-size: 15px;
}
.dotm-tv-pubhead__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 10px;
  color: var(--dtv-text);
  font-size: 15px;
}
.dotm-tv-pubhead__stats b { color: var(--dtv-navy); }
.dotm-tv-pubhead__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.dotm-tv-map--public { height: 420px; }
.dotm-tv-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.dotm-tv-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px 0 8px;
  border-radius: 999px;
  background: #f1f2f8;
  color: var(--dtv-navy);
  font-size: 14px;
  font-weight: 500;
}
.dotm-tv-flag img {
  width: 24px;
  height: 18px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}
.dotm-tv-flag b { color: var(--dtv-red); }
.dotm-tv-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 28px;
  border-radius: 20px;
  background: var(--dtv-red);
  color: #ffffff;
}
.dotm-tv-cta__title {
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
}
.dotm-tv-cta__sub {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}
.dotm-tv-cta__btn {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  background: #ffffff;
  color: var(--dtv-red);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
.dotm-tv-cta__btn:hover { color: var(--dtv-red-dk); }

/* ---------- "Add to trip" ---------- */

.dotm-tv-btn--trip { color: var(--dtv-violet); }
.dotm-tv-btn--trip:hover { background: var(--dtv-violet-bg); }
.dotm-tv-tripdlg__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.dotm-tv-tripdlg__x { color: var(--dtv-navy); }
.dotm-tv-tripdlg__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 50vh;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}
.dotm-tv-tripdlg__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--dtv-line);
  border-radius: 12px;
}
.dotm-tv-tripdlg__trip {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  color: var(--dtv-navy);
  text-decoration: none;
}
.dotm-tv-tripdlg__trip small { color: var(--dtv-muted); }
.dotm-tv-tripdlg__list .dotm-tv-tripdlg__none,
.dotm-tv-tripdlg__list .dotm-tv-tripdlg__wait {
  border: 0;
  color: var(--dtv-muted);
}
.dotm-tv-tripdlg__new { align-self: flex-start; }

/* ---------- trip budget (right column of a trip) ---------- */

.dotm-tv-budget__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.dotm-tv-budget__head .dotm-tv-card__title { margin: 0; }
.dotm-tv-budget__sub {
  color: var(--dtv-muted);
  font-size: 13px;
}
.dotm-tv-budget__row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid var(--dtv-line);
}
.dotm-tv-budget__row > .dotm-tv-ic {
  margin-top: 2px;
  color: var(--dtv-muted);
}
.dotm-tv-budget__row b,
.dotm-tv-budget__total b {
  display: block;
  color: var(--dtv-navy);
  font-size: 15px;
}
.dotm-tv-budget__row small,
.dotm-tv-budget__total small {
  display: block;
  color: var(--dtv-muted);
  font-size: 12.5px;
  line-height: 1.4;
}
.dotm-tv-budget__val {
  color: var(--dtv-navy);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.dotm-tv-budget__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 2px solid var(--dtv-line);
}
.dotm-tv-budget__total > span {
  color: var(--dtv-red);
  font-size: 26px;
  font-weight: 800;
  white-space: nowrap;
}
.dotm-tv-budget__note {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f6f6f8;
  color: var(--dtv-muted);
  font-size: 12.5px;
  line-height: 1.45;
}
.dotm-tv-budget__note .dotm-tv-ic { vertical-align: -2px; }
