.section-wheel {
  position: fixed;
  left: 12px;
  top: 50%;
  z-index: 35;
  transform: translateY(-50%);
  color: #192438;
  font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
}
.section-wheel-panel {
  position: relative;
  width: 76px;
  height: 280px;
}
.section-wheel-track {
  position: relative;
  width: 76px;
  height: 280px;
}
.section-wheel-tick {
  position: absolute;
  left: 0;
  top: 50%;
  display: flex;
  align-items: center;
  width: 44px;
  height: var(--tick-hit-height);
  padding: 0 6px;
  border-radius: 8px;
  transform: translate(var(--tick-x), calc(var(--tick-y) - 50%));
  opacity: 1;
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-user-select: none;
  user-select: none;
}
.section-wheel-tick > span:first-child {
  display: block;
  flex-shrink: 0;
  width: var(--tick-width);
  height: 2px;
  border-radius: 99px;
  background: #778398;
  opacity: var(--tick-opacity);
  transition:
    width 300ms ease,
    background 200ms ease,
    opacity 200ms ease;
}
.section-wheel-tick.is-selected > span:first-child {
  background: #1739ed;
  height: 2px;
}
.section-wheel-current-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  margin-left: 5px;
  flex-shrink: 0;
  background: #1739ed;
  opacity: 0;
}
.section-wheel-tick.is-current:not(.is-selected) .section-wheel-current-dot {
  opacity: 1;
}
.section-wheel-preview {
  position: absolute;
  left: 76px;
  top: 50%;
  width: 310px;
  padding: 20px 22px 12px;
  background: rgb(255 255 255 / 97%);
  border: 1px solid #e2e6ef;
  border-radius: 20px;
  box-shadow:
    0 14px 45px -12px rgb(25 36 56 / 20%),
    0 3px 10px rgb(25 36 56 / 3%);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-8px, -50%);
  transition:
    opacity 180ms ease,
    transform 240ms ease,
    visibility 180ms;
}
.is-previewing .section-wheel-preview {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(0, -50%);
}
.section-wheel-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #738096;
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.section-wheel-total {
  color: #8d97a7;
}
.section-wheel-destination {
  display: block;
  border-radius: 4px;
}
.section-wheel-destination strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 600;
}
.section-wheel-destination p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
  color: #758094;
}
.section-wheel-go {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: 13px;
  color: #1739ed;
}
.section-wheel-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 8px;
  border-top: 1px solid #edf0f5;
}
.section-wheel-controls button {
  min-height: 32px;
  border: 0;
  padding: 4px 0;
  color: #647187;
  background: transparent;
  font-size: 12px;
}
.section-wheel-controls button:hover:not(:disabled) {
  color: #1739ed;
}
.section-wheel-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}
.section-wheel-toggle {
  display: none;
}
@media (max-width: 1180px) {
  .section-wheel {
    left: -8px;
  }
  .section-wheel-panel,
  .section-wheel-track {
    width: 64px;
  }
  .section-wheel-preview {
    left: 64px;
  }
  .section-wheel-tick.is-selected > span:first-child {
    width: 23px;
  }
}
@media (max-width: 900px) {
  .section-wheel {
    left: 12px;
    top: auto;
    bottom: calc(98px + env(safe-area-inset-bottom));
    transform: none;
  }
  .section-wheel-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #e2e6ef;
    border-radius: 24px;
    background: rgb(255 255 255 / 97%);
    color: #33425a;
    box-shadow: 0 4px 20px rgb(25 36 56 / 8%);
    font-size: 13px;
  }
  .section-wheel-panel {
    display: none;
    position: absolute;
    left: 0;
    bottom: 56px;
    height: 280px;
  }
  .section-wheel.is-expanded .section-wheel-panel {
    display: block;
  }
  .section-wheel-preview {
    left: 64px;
    width: min(310px, calc(100vw - 100px));
    padding: 16px 18px 10px;
  }
  .section-wheel-track {
    border-radius: 24px;
    background: rgb(255 255 255 / 96%);
    box-shadow: 0 6px 22px rgb(25 36 56 / 7%);
  }
  .section-wheel-tick {
    width: 38px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .section-wheel *,
  .section-wheel *::before {
    transition: none !important;
  }
}
@media print {
  .section-wheel {
    display: none;
  }
}
/* Static port: readable preview, keyboard focus and touch-sized mobile ticks. */
.section-wheel a{color:inherit;text-decoration:none}.section-wheel button{font:inherit;cursor:pointer}.section-wheel-track{touch-action:none}.section-wheel-tick:focus-visible,.section-wheel-destination:focus-visible,.section-wheel-controls button:focus-visible,.section-wheel-toggle:focus-visible{outline:3px solid #1739ed;outline-offset:3px}.section-wheel-preview{max-height:calc(100dvh - 40px);overflow-y:auto}.section-wheel-meta{font-size:.75rem}.section-wheel-destination strong{font-size:1.0625rem;-webkit-line-clamp:unset;display:block;overflow:visible}.section-wheel-destination p{font-size:.875rem;-webkit-line-clamp:unset;display:block;overflow:visible}.section-wheel-go{font-size:.8125rem}.section-wheel-controls button{font-size:.75rem;min-height:44px}.section-wheel-panel{isolation:isolate}.section-wheel-tick>span:first-child{pointer-events:none}.section-wheel-current-dot{pointer-events:none}.section-wheel-destination:focus-visible{outline-offset:4px}
@media(max-width:900px){.section-wheel-toggle{font-size:.8125rem}.section-wheel-preview{width:min(310px,calc(100vw - 100px));max-height:min(340px,calc(100dvh - 210px))}.section-wheel-panel{max-height:calc(100dvh - 205px)}.section-wheel-track{height:min(280px,calc(100dvh - 205px))}.section-wheel-tick{min-width:44px;padding-right:0}}
@media(max-height:480px) and (max-width:900px){.section-wheel{bottom:calc(78px + env(safe-area-inset-bottom))}.section-wheel-panel{bottom:50px}.section-wheel-preview{max-height:calc(100dvh - 160px)}}

/* A compact directory keeps every control visible in short mobile landscapes. */
@media(max-height:480px) and (max-width:900px){
 .section-wheel-panel{height:auto;max-height:none;bottom:54px;width:min(310px,calc(100vw - 24px))}
 .section-wheel-track{display:none}
 .section-wheel-preview{position:relative;left:0;top:0;transform:none!important;width:100%;max-height:calc(100dvh - 180px);padding:12px 18px 10px}
 .section-wheel-meta,.section-wheel-destination p,.section-wheel-go{display:none}
 .section-wheel-controls{margin-top:8px;padding-top:4px}
}
