/* COSMO ENGINE studio walkthrough (see ce-tour.js) */
#ce-tour { position: fixed !important; inset: 0; z-index: 2147483000; font-family: 'Poppins', 'Roboto', system-ui, sans-serif; }
#ce-tour[hidden] { display: none; }
#ce-tour .ce-t-block { position: fixed !important; inset: 0; background: transparent; }
#ce-tour .ce-t-block.ce-t-dim { background: rgba(11, 7, 24, .62); }
#ce-tour .ce-t-spot {
  position: fixed !important; border-radius: 14px; pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(11, 7, 24, .62), 0 0 0 2px #7e3cff, 0 0 26px 6px rgba(126, 60, 255, .55);
  transition: left .28s ease, top .28s ease, width .28s ease, height .28s ease, opacity .2s ease;
}
#ce-tour .ce-t-spot.ce-t-off { opacity: 0; }

#ce-tour .ce-t-card {
  position: fixed !important; width: 360px; max-width: calc(100vw - 32px); box-sizing: border-box;
  background: #fff; color: #0b0718; border-radius: 18px; padding: 20px 20px 16px;
  box-shadow: 0 24px 60px rgba(11, 7, 24, .35), 0 0 0 1px rgba(126, 60, 255, .18);
  transition: left .28s ease, top .28s ease;
}
#ce-tour .ce-t-card::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, #7e3cff, #ec50e0);
}
#ce-tour .ce-t-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
#ce-tour .ce-t-count { font-size: 12px; font-weight: 600; color: #7e3cff; letter-spacing: .04em; }
#ce-tour .ce-t-tag {
  font-size: 11px; font-weight: 600; color: #7e3cff; background: #f4eeff; border-radius: 999px; padding: 2px 9px;
}
#ce-tour .ce-t-title { margin: 0 0 6px; font-size: 18px; font-weight: 600; line-height: 1.3; }
#ce-tour .ce-t-body { margin: 0; font-family: 'Roboto', 'Poppins', system-ui, sans-serif; font-size: 14px; line-height: 1.55; color: #3d3654; }
#ce-tour .ce-t-body ul { margin: 8px 0 0; padding-left: 18px; list-style: disc; }
#ce-tour .ce-t-body li { margin: 3px 0; }
#ce-tour .ce-t-body b { color: #0b0718; font-weight: 600; }
#ce-tour .ce-t-bar { height: 3px; border-radius: 3px; background: #eee8fb; margin: 14px 0 12px; overflow: hidden; }
#ce-tour .ce-t-bar i { display: block; height: 100%; background: linear-gradient(90deg, #7e3cff, #ec50e0); transition: width .28s ease; }
#ce-tour .ce-t-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
#ce-tour .ce-t-check { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: #5b5470; cursor: pointer; user-select: none; }
#ce-tour .ce-t-check input { width: 15px; height: 15px; margin: 0; accent-color: #7e3cff; cursor: pointer; }
#ce-tour .ce-t-btns { display: inline-flex; gap: 8px; margin-left: auto; }
#ce-tour .ce-t-btn {
  font: inherit; font-size: 13px; font-weight: 600; border-radius: 999px; padding: 7px 15px; cursor: pointer;
  border: 1px solid rgba(126, 60, 255, .3); background: #fff; color: #5b5470;
}
#ce-tour .ce-t-btn:hover { border-color: #7e3cff; color: #7e3cff; }
#ce-tour .ce-t-btn:focus-visible { outline: 2px solid #b28cff; outline-offset: 2px; }
#ce-tour .ce-t-btn[hidden] { display: none; }
#ce-tour .ce-t-next { background: linear-gradient(90deg, #7e3cff, #ec50e0); border-color: transparent; color: #fff; }
#ce-tour .ce-t-next:hover { color: #fff; filter: brightness(1.06); }

/* centred cards (welcome / finish / missing target) */
#ce-tour .ce-t-card.ce-t-center { width: 440px; }
#ce-tour .ce-t-card.ce-t-center .ce-t-title { font-size: 22px; }

/* phones / narrow windows: dock the card to the bottom */
@media (max-width: 700px) {
  #ce-tour .ce-t-card, #ce-tour .ce-t-card.ce-t-center {
    left: 12px !important; right: 12px; top: auto !important; bottom: 12px; width: auto; max-width: none;
  }
}

/* replay button in the top bar (sits with Home / Sign out) */
#ce-account .ce-acc-tour { cursor: pointer; font: inherit; }
