/* Template A only. Keep the shared reminder trigger and UI-editor selectors intact. */
uni-modal.tk-member-notice {
  box-sizing: border-box;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}
uni-modal.tk-member-notice > .uni-mask {
  background: rgba(24, 27, 34, .34);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
uni-modal.tk-member-notice .uni-modal {
  box-sizing: border-box;
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 360px;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  padding: 26px 24px 24px;
  border: 1px solid var(--shop-border, #e9ebef);
  border-radius: 22px;
  background: var(--shop-surface, #fff);
  box-shadow: 0 24px 70px rgba(20, 24, 33, .16);
  overflow: hidden;
  animation: member-notice-enter .18s ease-out;
}
uni-modal.tk-member-notice .uni-modal__title {
  display: block;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  color: var(--shop-text, #272930);
  font-size: 19px;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
  word-break: normal;
  -webkit-line-clamp: unset;
  overflow: visible;
  overflow-wrap: anywhere;
}
uni-modal.tk-member-notice .uni-modal__title::before {
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 15px;
  border: 1px solid var(--shop-border, #e9ebef);
  border-radius: 16px;
  background: #f4f5f7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23555b66' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9M10 21h4M12 2V1'/%3E%3C/svg%3E") center / 24px no-repeat;
}
uni-modal.tk-member-notice .uni-modal__bd {
  box-sizing: border-box;
  flex: 0 1 auto;
  min-height: 0;
  max-height: 36vh;
  margin: 18px 0 0;
  padding: 4px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #606672;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  text-align: center;
  white-space: pre-wrap;
  word-break: normal;
  overflow-wrap: anywhere;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
uni-modal.tk-member-notice .uni-modal__ft {
  flex-shrink: 0;
  display: flex;
  margin: 0;
  padding: 20px 0 0;
  border: 0;
}
uni-modal.tk-member-notice .uni-modal__ft::after { display: none; }
uni-modal.tk-member-notice .uni-modal__btn_primary {
  box-sizing: border-box;
  appearance: none;
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: var(--shop-primary, #202125);
  color: var(--shop-button-text, #fff);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: opacity .15s ease, transform .15s ease;
}
uni-modal.tk-member-notice .uni-modal__btn_primary:hover { opacity: .92; }
uni-modal.tk-member-notice .uni-modal__btn_primary:active { transform: translateY(1px); }
uni-modal.tk-member-notice .uni-modal__btn_primary:focus-visible { outline: 2px solid #8c929e; outline-offset: 3px; }
@keyframes member-notice-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 360px) {
  uni-modal.tk-member-notice { padding: 16px; }
  uni-modal.tk-member-notice .uni-modal { padding: 22px 20px 20px; }
}
@media (max-height: 420px) {
  uni-modal.tk-member-notice .uni-modal { padding: 16px 20px; }
  uni-modal.tk-member-notice .uni-modal__title::before { display: none; }
  uni-modal.tk-member-notice .uni-modal__bd { margin-top: 12px; }
  uni-modal.tk-member-notice .uni-modal__ft { padding-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  uni-modal.tk-member-notice .uni-modal { animation: none; }
  uni-modal.tk-member-notice .uni-modal__btn_primary { transition: none; }
}
