.yuntuku-modal.hidden {
  display: none;
}

.yuntuku-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.yuntuku-modal__card {
  width: min(100%, 360px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.yuntuku-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.yuntuku-modal__head strong {
  min-width: 0;
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.yuntuku-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  min-width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.8);
  color: #475569;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.yuntuku-modal__body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.yuntuku-modal__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.yuntuku-modal__tip {
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 10px 12px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 480px) {
  .yuntuku-modal {
    padding: 14px;
  }

  .yuntuku-modal__card {
    border-radius: 18px;
  }

  .yuntuku-modal__head,
  .yuntuku-modal__body {
    padding: 14px;
  }

  .yuntuku-modal__actions {
    grid-template-columns: 1fr;
  }
}
