.dbtpc-wrap {
  margin: 0.75em 0;
  padding: 0.75em;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fafafa;
}

.dbtpc-status {
  font-weight: 600;
  margin-bottom: 8px;
}

.dbtpc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.dbtpc-actions button {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: #fff;
  color: #000;              /* ensure visible labels */
  font-weight: 700;
}

.dbtpc-actions button:disabled {
  color: #000;
  opacity: 0.55;
}

.dbtpc-meta {
  font-size: 0.9em;
  opacity: 0.8;
  margin-top: 4px;
}

.dbtpc-debug pre {
  background: #111;
  color: #0f0;
  padding: 10px;
  border-radius: 10px;
  max-height: 220px;
  overflow: auto;
}

/* Full-screen overlay (hidden until navigation starts) */
.dbtpc-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  display: none;
}

.dbtpc-overlay.is-visible { display: block; }

.dbtpc-overlay .dbtpc-overlay-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Big arrow */
.dbtpc-arrow {
  width: min(62vmin, 420px);
  height: min(62vmin, 420px);
  transform: rotate(0deg);
  opacity: 0.96;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.35));
  position: relative;
}

.dbtpc-arrow svg { width: 100%; height: 100%; display: block; }
.dbtpc-arrow svg path {
  fill: rgba(255,255,255,0.98);
  stroke: rgba(0,0,0,0.12);
  stroke-width: 2;
}

/* Centered 3-line black text on the arrow */
.dbtpc-arrow-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72%;
  text-align: center;
  pointer-events: none;
  color: #000;
  font-weight: 800;
}

.dbtpc-arrow-label .row1 {
  font-size: clamp(16px, 3.2vmin, 26px);
  line-height: 1.15;
}

.dbtpc-arrow-label .row2 {
  margin-top: 6px;
  font-size: clamp(14px, 2.7vmin, 22px);
  line-height: 1.15;
  font-weight: 800;
}

.dbtpc-arrow-label .row3 {
  margin-top: 6px;
  font-size: clamp(13px, 2.5vmin, 20px);
  line-height: 1.15;
  font-weight: 800;
}
