/* Adventure map visuals for the four custom BreakPlay puzzle games. */
.bp-adventure-picker {
  width: min(580px, calc(100% - 28px));
  margin: 10px auto 12px;
  padding: 12px;
  border: 1px solid rgba(125, 107, 255, .43);
  border-radius: 18px;
  background: radial-gradient(220px 120px at 100% 0, rgba(73,220,191,.1), transparent 80%), linear-gradient(135deg, rgba(21,24,47,.96), rgba(14,17,34,.97));
  box-shadow: inset 0 1px rgba(255,255,255,.06), 0 12px 28px rgba(0,0,0,.18);
  color: #f4f5ff;
  text-align: left;
  box-sizing: border-box;
  font: 700 14px/1.4 system-ui, sans-serif;
}
.bp-adventure-title { margin: 0 0 9px; color: #f8f7ff; font-size: .86rem; font-weight: 950; }
.bp-adventure-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 9px;
  scrollbar-color: rgba(155,139,255,.55) rgba(255,255,255,.06);
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.bp-adventure-step {
  position: relative;
  display: flex;
  flex: 0 0 98px;
  min-height: 84px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 5px;
  padding: 8px;
  border: 1px solid rgba(71, 213, 178, .28);
  border-radius: 13px;
  background: linear-gradient(150deg, rgba(41,209,173,.12), rgba(31,47,62,.45));
  color: #edfff9;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
  font: inherit;
}
.bp-adventure-mark { position: absolute; top: 7px; right: 7px; display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; background: rgba(5,9,20,.5); color: #8aefcb; font-size: 12px; font-weight: 950; }
.bp-adventure-step b { color: #f4f6ff; font-size: .65rem; letter-spacing: .55px; }
.bp-adventure-step small { color: #8ff2d7; font-size: .59rem; font-weight: 900; line-height: 1.15; }
.bp-adventure-step.tier-pro { border-color: rgba(161,133,255,.4); background: linear-gradient(150deg, rgba(125,93,255,.16), rgba(39,40,73,.54)); }
.bp-adventure-step.tier-pro small { color: #c6b7ff; }
.bp-adventure-step.tier-conqueror { border-color: rgba(255,166,81,.37); background: linear-gradient(150deg, rgba(246,139,59,.14), rgba(60,43,50,.55)); }
.bp-adventure-step.tier-conqueror small { color: #ffc28e; }
.bp-adventure-step.completed:not(.active) { border-color: rgba(71, 230, 173, .4); background: linear-gradient(145deg, rgba(33,196,135,.2), rgba(24,53,56,.64)); }
.bp-adventure-step.completed .bp-adventure-mark { border-color: rgba(64,238,177,.38); background: rgba(42,202,145,.2); color: #7dffd0; }
.bp-adventure-step.active { border-color: #ffdb70; background: linear-gradient(145deg, rgba(255,204,77,.27), rgba(167,95,52,.16)); box-shadow: 0 0 0 1px rgba(255,219,112,.22), 0 6px 20px rgba(255,176,55,.13); color: #fff4c3; }
.bp-adventure-step.active .bp-adventure-mark { border-color: rgba(255,220,118,.52); background: rgba(255,203,72,.2); color: #ffe18b; }
.bp-adventure-step.active small { color: #ffe18b; }
.bp-adventure-step.locked { border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.025); color: #787e94; cursor: not-allowed; opacity: .72; }
.bp-adventure-step.locked b, .bp-adventure-step.locked small { color: #777d92; }
.bp-adventure-step.locked .bp-adventure-mark { border-color: rgba(255,255,255,.07); background: rgba(0,0,0,.2); color: #83889b; font-size: 10px; }
.bp-adventure-note { margin: 2px 2px 0; padding-left: 9px; border-left: 2px solid #42dfbe; color: #c7cbe0; font-size: .7rem; line-height: 1.45; }
.bp-adventure-step:not(:disabled):hover { transform: translateY(-2px); }
.bp-adventure-step:focus-visible { outline: 3px solid #fff0a0; outline-offset: 3px; }
.bp-adventure-live-tag { display: inline-flex; align-items: center; margin-left: 6px; padding: 4px 9px; border: 1px solid rgba(124,92,255,.55); border-radius: 999px; background: rgba(124,92,255,.16); color: #e2dcff; font: 850 .68rem/1.2 system-ui,sans-serif; vertical-align: middle; }
@media (max-width: 500px) {
  .bp-adventure-picker { padding: 10px; }
  .bp-adventure-step { flex-basis: 88px; min-height: 78px; }
}
@media (prefers-reduced-motion: reduce) {
  .bp-adventure-step { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
