/* 暖簾モーション専用。既存フォーム/UIには作用させない。 */
.nrn-cloth {
  position: relative;
  min-width: 0;
  height: 100%;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transform: none !important;
  animation: none !important;
}

.nrn-cloth__surface {
  position: absolute;
  inset: 0;
  display: block;
  background: var(--noren, #151C2C);
  border-radius: 0 0 3px 3px;
  box-shadow: inset 0 -8px 14px rgba(0, 0, 0, 0.16);
  will-change: filter;
  transform: translateZ(0);
}

/* 上端はフィルターの外に置き、吊り元を完全に固定して見せる。 */
.nrn-cloth::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  height: 9px;
  background: var(--noren, #151C2C);
  pointer-events: none;
}

.nrn-cloth:nth-child(even) {
  height: 100%;
}

.nrn-cloth:nth-child(even) .nrn-cloth__surface {
  height: calc(100% - 2px);
}

.nrn-cloth--center {
  padding-top: 0;
}

.nrn-cloth--center .nrn-cloth__surface {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12px;
}

.nrn-cloth__surface > svg {
  position: relative;
  z-index: 1;
}

.nrn-filter-defs {
  position: fixed;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .nrn-cloth__surface {
    filter: none !important;
    will-change: auto;
  }
}
