/* AI탑 홈 첫 화면 바늘 다이얼 엘리베이터 (aitop-core 1.2.67). 자리(왼쪽 아래·휴대폰은 그림 아래)는 v3.css의 .stage .lift 규칙을 그대로 따른다 */
.aitop-v3 .ldial-host.is-js > nav.lift { display: none; }
.aitop-v3 .ldial { --ld-ink: #3A2A1C; --ld-ink2: #7A6450; --ld-cream: #FBF4E6; --ld-brass: #B8925A; --ld-brass-d: #8E6B3A; --ld-brick: #B5532E; --ld-new: #E0452B;
  display: flex; gap: 14px; align-items: flex-end; flex-wrap: nowrap; margin-top: 0; }
.aitop-v3 .ldial a { color: inherit; text-decoration: none; }

.aitop-v3 .ld-dial { position: relative; width: 236px; height: 136px; flex: none; }
.aitop-v3 .ld-face { position: absolute; left: 0; right: 0; top: 0; height: 118px; border-radius: 118px 118px 0 0; border: 2px solid var(--ld-brass); border-bottom: 0;
  background: radial-gradient(circle at 50% 100%, var(--ld-cream) 0 58%, #efe2c8 58% 60%, var(--ld-cream) 60%); box-shadow: 0 6px 14px -10px rgba(58, 42, 28, .6); }
.aitop-v3 .ld-needle { position: absolute; left: 50%; bottom: 18px; width: 3px; height: 70px; margin-left: -1.5px; border-radius: 2px; background: var(--ld-brick);
  transform-origin: 50% 100%; transform: rotate(-90deg); transition: transform .55s cubic-bezier(.3, 1.5, .5, 1); }
.aitop-v3 .ld-hub { position: absolute; left: 50%; bottom: 11px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--ld-brass); box-shadow: 0 0 0 2px var(--ld-cream), 0 0 0 3px var(--ld-brass-d); }
.aitop-v3 .ld-base { position: absolute; left: -6px; right: -6px; bottom: 0; height: 18px; border-radius: 2px; background: var(--ld-brass); }
.aitop-v3 .ld-nums a { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; font: 800 14px/1 var(--sans, system-ui); color: var(--ld-ink); }
.aitop-v3 .ld-nums a span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; transition: background .2s, color .2s; }
.aitop-v3 .ld-nums a.on span { background: var(--ld-brick); color: #fff; }
.aitop-v3 .ld-nums a.is-empty { color: #b3a38c; }
.aitop-v3 .ld-nums a:focus-visible { outline: 3px solid var(--ld-ink); outline-offset: -4px; border-radius: 50%; }

/* 1.2.68: 뒤 그림(가로등·나무)에 글자가 묻히지 않게 옅은 크림 바탕 */
.aitop-v3 .ld-side { min-width: 0; width: 150px; flex: none; padding: 0 8px 2px; border-radius: 10px; background: rgba(251, 244, 230, .82); color: var(--ld-ink); text-shadow: 0 0 3px var(--ld-cream), 0 0 8px var(--ld-cream), 0 0 14px var(--ld-cream); }
.aitop-v3 .ld-tabs { display: flex; border-bottom: 1.5px solid var(--ld-brass); margin-bottom: 8px; }
.aitop-v3 .ld-tabs button { position: relative; flex: 1; min-height: 44px; padding: 0; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1.5px; background: none;
  font: 700 13px/1 var(--sans, inherit); color: var(--ld-ink2); cursor: pointer; }
.aitop-v3 .ld-tabs button[aria-pressed="true"] { color: var(--ld-ink); border-bottom-color: var(--ld-brick); }
/* 이름이 한 줄이든 두 줄이든 높이 고정 → 다이얼이 위아래로 밀리지 않음 */
.aitop-v3 .ld-plate { height: calc(15px * 1.25 * 2 + 40px); font: 800 15px/1.25 var(--sans, inherit); word-break: keep-all; overflow: hidden; }
.aitop-v3 .ld-plate .n { color: var(--ld-brick); margin-right: 6px; }
.aitop-v3 .ld-plate small { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--ld-ink2); }
.aitop-v3 .ld-plate small.new { color: #C23B22; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aitop-v3 .ld-tour { margin-top: 2px; min-height: 44px; padding: 0 2px; border: 0; background: none; font: 600 13px/1 var(--sans, inherit); color: var(--ld-ink2);
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* 새 가게 점 (엘리베이터 버튼 불처럼) */
.aitop-v3 .ld-nums a.is-new::after, .aitop-v3 .ld-tabs button.has-new::after, .aitop-v3 .ld-plate small.new::before, .aitop-v3 .hot .lsign i::before {
  content: ""; border-radius: 50%; background: var(--ld-new, #E0452B); }
.aitop-v3 .ld-nums a.is-new::after { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; box-shadow: 0 0 0 2px var(--ld-cream), 0 0 6px rgba(224, 69, 43, .7); }
.aitop-v3 .ld-tabs button.has-new::after { display: inline-block; width: 6px; height: 6px; margin-left: 5px; vertical-align: 5px; }
.aitop-v3 .ld-plate small.new::before, .aitop-v3 .hot .lsign i::before { display: inline-block; width: 6px; height: 6px; margin-right: 5px; vertical-align: 2px; }

/* 그림 속 고른 층: 그 층만 살짝 어두워졌다 한 번 켜짐(깜빡임 없음). 기존 마우스 이름표(.tip)는 간판이 대신한다 */
html.has-ldial .aitop-v3 .hot .tip { display: none; }
.aitop-v3 .hot.is-lit .hot-line { opacity: 1; }
.aitop-v3 .hot.is-lit .hot-line polygon { stroke: transparent; filter: none; fill: rgba(255, 236, 205, .42); animation: ld-light .9s ease-out both; }
@keyframes ld-light { 0% { fill: rgba(30, 20, 10, 0); } 35%, 45% { fill: rgba(30, 20, 10, .3); } 100% { fill: rgba(255, 236, 205, .42); } }
.aitop-v3 .hot .lsign { position: absolute; left: 7%; top: 9%; z-index: 1; padding: 3px 8px; background: #FBF4E6; border: 1px solid #B8925A; color: #3A2A1C;
  font: 800 13px/1.2 var(--sans, system-ui); white-space: nowrap; box-shadow: 0 3px 8px -4px rgba(58, 42, 28, .6); pointer-events: none;
  opacity: 0; transform: translateY(-4px); transition: opacity .3s ease .35s, transform .3s ease .35s; }
.aitop-v3 .hot .lsign b { color: #B5532E; margin-right: 5px; }
.aitop-v3 .hot .lsign small { font-weight: 600; color: #7A6450; margin-left: 5px; }
.aitop-v3 .hot .lsign i { display: block; margin-top: 2px; font-style: normal; font-size: 12px; font-weight: 700; color: #C23B22; }
.aitop-v3 .hot.is-lit .lsign { opacity: 1; transform: none; }
.aitop-v3 .stage.is-entering .hot .lsign { opacity: 0; }
@media (max-width: 860px) {
  .aitop-v3 .ldial { justify-content: center; }
  .aitop-v3 .hot .lsign { font-size: 11px; padding: 2px 5px; }
  .aitop-v3 .hot .lsign small { display: none; }
  .aitop-v3 .hot .lsign i { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .aitop-v3 .hot.is-lit .hot-line polygon { animation: none; }
  .aitop-v3 .ld-needle, .aitop-v3 .ld-nums a span, .aitop-v3 .hot .lsign { transition: none; }
}
