/* Shared pieces of the walking core: blue dot, status chip, map buttons,
 * preview banner. Players set --t-* theme colours; these fall back to a
 * neutral look on pages that do not. */

.dw-ctl {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 10px !important;
}

.dw-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: min(280px, calc(100vw - 90px));
  padding: 7px 11px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  color: #5b3a00;
  background: #fff3d6;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .45);
  cursor: pointer;
}
.dw-chip[hidden] { display: none; }
.dw-chip[data-tone="info"] { color: #123a6b; background: #e5efff; }
.dw-chip svg { flex: 0 0 auto; }

.dw-round {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #1f2533;
  background: #fff;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .5);
  cursor: pointer;
}
.dw-round[hidden] { display: none; }
.dw-round.on { color: #fff; background: #1f2533; }

.dw-arrow {
  display: inline-block;
  width: 1.1em;
  text-align: center;
  font-weight: 900;
  transition: transform .25s ease;
}

.dw-banner {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 14px;
  padding: 11px 13px;
  border-radius: 14px;
  font-size: .84rem;
  line-height: 1.45;
  color: var(--t-ink, #1f2533);
  background: var(--t-chip, #f2f4f8);
  border: 1px solid var(--t-chip-border, rgba(0, 0, 0, .08));
}
.dw-banner[hidden] { display: none; }
.dw-banner svg { flex: 0 0 auto; margin-top: 2px; }

.dw-hint {
  margin-top: 6px;
  font-size: .76rem;
  font-weight: 600;
  color: var(--t-ink-softer, #6b7280);
}

.dw-link {
  display: inline-block;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  color: var(--t-ink-soft, #374151);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.dw-toast {
  position: fixed;
  left: 50%;
  top: calc(var(--head, 60px) + 14px);
  z-index: 2000;
  max-width: 88vw;
  padding: 10px 15px;
  border-radius: 12px;
  font-size: .86rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
  background: rgba(20, 24, 33, .92);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -10px);
  transition: opacity .17s ease, transform .17s ease;
}
.dw-toast.on { opacity: 1; transform: translate(-50%, 0); }

.dw-skip {
  display: block;
  margin-top: 8px;
  font-size: .76rem;
  font-weight: 600;
  color: var(--t-ink-softer, #6b7280);
}

.tour-pin.skipped { background: #9aa0aa; opacity: .85; }

.dw-rate {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 16px 0 8px;
  font-size: .86rem;
  font-weight: 700;
  color: var(--t-ink, #1f2533);
}

.dw-next { margin-top: 14px; display: grid; gap: 8px; }
.dw-next-h {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--t-ink-softer, #6b7280);
}
.dw-next-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--t-ink, #1f2533);
  background: var(--t-chip, #f2f4f8);
  border: 1px solid var(--t-chip-border, rgba(0, 0, 0, .08));
}
.dw-next-card img {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 10px;
  object-fit: cover;
}
.dw-next-card b { display: block; font-size: .9rem; line-height: 1.25; }
.dw-next-card small {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  font-size: .74rem;
  font-weight: 600;
  color: var(--t-ink-softer, #6b7280);
}
