/* Hub pager: parlor home \u2194 stage select */

.hub-pager {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  touch-action: pan-y;
}

.hub-track {
  display: flex;
  width: 200%;
  flex: 1 1 auto;
  min-height: 0;
  transform: translateX(0);
  transition: transform 0.28s ease;
  will-change: transform;
}

.hub-page {
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}

.hub-pager .ui-center-label.ow-map {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: min(96%, 560px);
  max-height: calc(100% - 8px);
  margin: 8px auto 0;
}

.hub-nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px 8px 2px;
  pointer-events: auto;
}

.hub-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid var(--ck-chocolate, #5A3A2A);
  background: #FFF6E8;
  cursor: pointer;
}

.hub-dot.is-on {
  background: #7DFFB3;
}

.hub-hint {
  font-size: 11px;
  font-weight: 700;
  color: var(--ck-muted, #8B5E4A);
  margin-left: 6px;
}

.hub-page--stages {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 8px 14px 6px;
  box-sizing: border-box;
}

.hub-stages-title {
  display: block;
  text-align: center;
  color: var(--ck-frosting, #FF8FB7);
  font-size: 22px;
  margin: 4px 0 10px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hub-stage-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2px 2px 8px;
  min-height: 0;
  flex: 1 1 auto;
}

.hub-stage-card {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  border: 3px solid var(--ck-chocolate, #5A3A2A);
  border-radius: 16px;
  background: linear-gradient(180deg, #FFFCF6 0%, #FFF6E8 55%, #F5E0C8 100%);
  box-shadow: 0 3px 0 var(--ck-chocolate, #5A3A2A), inset 0 2px 0 rgba(255, 255, 255, 0.7);
  color: var(--ck-chocolate, #5A3A2A);
  padding: 8px 12px;
  min-height: 56px;
  cursor: pointer;
  font: inherit;
}

.hub-stage-card:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--ck-chocolate, #5A3A2A), inset 0 2px 0 rgba(255, 255, 255, 0.5);
}

.hub-stage-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #7DFFB3;
  border: 2px solid var(--ck-chocolate, #5A3A2A);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex: 0 0 auto;
}

.hub-stage-emoji {
  font-size: 22px;
  line-height: 1;
  flex: 0 0 auto;
}

.hub-stage-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hub-stage-name {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
}

.hub-stage-meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--ck-muted, #8B5E4A);
}
