/* MERIDIAN CONSOLE — tour layer (Monday Morning + Find the Fire) */

.tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(12, 18, 28, 0.62);
  backdrop-filter: blur(2px);
  display: grid;
  place-items: center;
  animation: tour-fade 0.25s ease;
}
.tour-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 30px;
  width: min(440px, calc(100vw - 40px));
  box-shadow: 0 30px 80px rgba(10, 16, 28, 0.45);
  font-family: inherit;
  text-align: center;
  animation: tour-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tc-phone {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  text-align: left;
}
.tc-time {
  font-size: 11px;
  color: #94a3b8;
  text-align: center;
  margin-bottom: 8px;
}
.tc-msg {
  background: #fff;
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #1e293b;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.tc-msg .from {
  display: block;
  font-size: 11px;
  color: #0d9488;
  margin-bottom: 3px;
}
.tc-copy {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.55;
  margin: 10px 0;
}
.tc-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
  flex-wrap: wrap;
}
.tc-skip {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 12.5px;
  cursor: pointer;
  text-decoration: underline;
}
.tc-done {
  font-size: 40px;
  margin-bottom: 6px;
}
.tc-score {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin: 16px 0 6px;
}
.tc-score > div {
  display: flex;
  flex-direction: column;
}
.tc-score span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}
.tc-score b {
  font-size: 26px;
  color: #0f172a;
}
.tc-score .vs {
  color: #cbd5e1;
  font-size: 13px;
}
.tc-score > div:first-child b {
  color: #0d9488;
}

.tt-next {
  background: #0d9488;
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.tt-next:hover {
  background: #0f766e;
}
.tt-next.alt {
  background: #0f172a;
}

/* spotlight */
.tour-spot {
  position: fixed;
  z-index: 998;
  border-radius: 12px;
  box-shadow:
    0 0 0 4px rgba(13, 148, 136, 0.55),
    0 0 0 9999px rgba(12, 18, 28, 0.55);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  animation: tour-pulse 1.6s ease-in-out infinite;
}
.tour-spot.clickable {
  box-shadow:
    0 0 0 4px rgba(245, 158, 11, 0.75),
    0 0 0 9999px rgba(12, 18, 28, 0.55);
}
@keyframes tour-pulse {
  50% {
    box-shadow:
      0 0 0 8px rgba(13, 148, 136, 0.25),
      0 0 0 9999px rgba(12, 18, 28, 0.55);
  }
}
.tour-spot.clickable {
  animation: none;
}

.tour-tip {
  position: fixed;
  z-index: 1001;
  width: 360px;
  background: #fff;
  border-radius: 13px;
  padding: 16px 18px;
  box-shadow: 0 18px 50px rgba(10, 16, 28, 0.4);
  animation: tour-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tt-step {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #0d9488;
  margin-bottom: 5px;
}
.tt-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}
.tt-body {
  font-size: 13px;
  color: #475569;
  line-height: 1.55;
}
.tt-hint {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #b45309;
}
.tour-tip .tt-next {
  margin-top: 12px;
}

/* timers */
#tour-timers {
  position: fixed;
  top: 14px;
  right: 18px;
  z-index: 999;
  display: none;
  gap: 14px;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  box-shadow: 0 8px 26px rgba(10, 16, 28, 0.35);
}
#tour-timers b {
  font-variant-numeric: tabular-nums;
  margin-left: 5px;
}
#tour-timers .you b {
  color: #2dd4bf;
}
#tour-timers .old b {
  color: #f87171;
  text-decoration: line-through 0 transparent;
}

/* toast */
.tour-toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1002;
  background: #0f172a;
  color: #fff;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(10, 16, 28, 0.4);
  animation: tour-pop 0.25s ease;
}

/* launcher pill */
.tour-pill {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 997;
  background: #0d9488;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(13, 148, 136, 0.45);
}
.tour-pill:hover {
  background: #0f766e;
}

.tour-confetti {
  position: fixed;
  inset: 0;
  z-index: 1003;
  pointer-events: none;
}

@keyframes tour-fade {
  from {
    opacity: 0;
  }
}
@keyframes tour-pop {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(8px);
  }
}
