/* 스크롤 등장, 메뉴 현재 위치, 찾는 기기 칩. 움직임 줄이기를 켠 사람에게는 motion 클래스가 붙지 않는다. */
.motion
:is(
  section h2,
  section .sub,
  .tour,
  .algo .demo,
  .bars,
  table,
  .box,
  .faq details,
  .share,
  .decode,
  .model-search,
  .unknown-card,
  .flow
) {
  transition:
    opacity 0.6s ease var(--delay, 0ms),
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) var(--delay, 0ms);
}
.motion :is(.tour, .algo .demo, .decode, .flow) {
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.motion :is(.tour, .algo .demo, .decode, .flow):not(.shown) {
  opacity: 0;
  transform: translateY(18px);
}

/* 막대는 보일 때 왼쪽부터 찬다 */
.bar i {
  transition: background-size 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s;
}
.motion .bars:not(.shown) .bar i {
  background-size:
    0 100%,
    auto;
}

.menu a {
  transition: color 0.2s;
}
.menu a[data-here] {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.kinds {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
}
.kinds .tag {
  border: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 0.15s,
    color 0.15s;
}
.kinds .tag[aria-selected="true"] {
  background: var(--text);
  color: var(--bg);
}
.kind-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  min-height: 3.4em;
  margin: 6px 0 0;
  font-size: 14px;
}
.kind-info .os {
  padding: 3px 9px;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: line-through;
}
.kind-info .os[data-on] {
  background: var(--card);
  color: var(--text);
  text-decoration: none;
}
.kind-info [data-kind-how] {
  color: var(--muted);
}
