html.ykbj3-notice-open, body.ykbj3-notice-open { overflow: hidden !important; overscroll-behavior: none; }
.ykbj3-notice-overlay {
  --n: clamp(.9px, .2564102564vw, 1.2px);
  position: fixed; inset: 0; z-index: 2147483000;
  display: flex; align-items: center; justify-content: center;
  box-sizing: border-box; padding: 16px 0;
  background: rgba(0, 0, 0, .56);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #263238; line-height: 1.7; text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.ykbj3-notice-overlay *, .ykbj3-notice-overlay *::before, .ykbj3-notice-overlay *::after { box-sizing: border-box; }
.ykbj3-notice-panel {
  display: flex; flex-direction: column; min-height: 0;
  width: 90vw; max-width: calc(351 * var(--n));
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  padding: calc(20 * var(--n)) calc(19.5 * var(--n)) calc(15 * var(--n));
  border: 0; border-radius: calc(24 * var(--n));
  background: #fff; box-shadow: 0 14px 50px rgba(0, 0, 0, .15);
  outline: none; overflow: hidden;
}
.ykbj3-notice-title {
  flex: none; display: flex; align-items: center; justify-content: center;
  gap: calc(9 * var(--n)); margin: 0 0 calc(14 * var(--n));
  padding: 0 0 calc(14 * var(--n)); border-bottom: 1px solid #f4e6e7;
  font-size: calc(18 * var(--n)); font-weight: 700; line-height: calc(25 * var(--n));
  color: #ef4348; letter-spacing: 0;
}
.ykbj3-notice-icon { display: inline-flex; flex: none; width: calc(22 * var(--n)); height: calc(24 * var(--n)); }
.ykbj3-notice-icon svg { display: block; width: 100%; height: 100%; }
.ykbj3-notice-body {
  min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  font-size: calc(14 * var(--n)); line-height: calc(24 * var(--n));
  font-weight: 400; color: #303438;
}
.ykbj3-notice-body p { padding: 0; margin: 0 0 calc(14 * var(--n)); }
.ykbj3-notice-body p:last-child { margin-bottom: 0; }
.ykbj3-notice-body strong { color: #e84646; font-weight: 700; }
.ykbj3-notice-body .ykbj3-notice-salutation { font-weight: 700; color: #263238; }
.ykbj3-notice-footer { flex: none; padding-top: calc(13 * var(--n)); }
.ykbj3-notice-option {
  display: flex; width: max-content; max-width: 100%; align-items: center; justify-content: center;
  gap: calc(8 * var(--n)); margin: 0 auto calc(11 * var(--n));
  padding: calc(3 * var(--n)) 0; color: #6e737a;
  font-size: calc(14 * var(--n)); font-weight: 400; line-height: calc(20 * var(--n)); cursor: pointer;
}
.ykbj3-notice-option input {
  -webkit-appearance: none; appearance: none; flex: none; position: relative;
  width: calc(17 * var(--n)); height: calc(17 * var(--n));
  margin: 0; padding: 0; border: 1px solid #8a8a8a; border-radius: calc(2 * var(--n)); background: #fff;
}
.ykbj3-notice-option input:checked { background: #ed3e42; border-color: #ed3e42; }
.ykbj3-notice-option input:checked::after {
  content: ""; position: absolute; left: 30%; top: 10%; width: 35%; height: 65%;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.ykbj3-notice-confirm {
  -webkit-appearance: none; appearance: none; display: block; width: 100%;
  height: calc(44 * var(--n)); min-height: 0; margin: 0; padding: 0;
  border: 0; border-radius: 999px; outline-offset: 3px;
  background: linear-gradient(110deg, #ff3d42, #d5262d); color: #fff;
  font-family: inherit; font-size: calc(17 * var(--n)); font-weight: 700;
  line-height: 1.2; letter-spacing: calc(.4 * var(--n)); text-align: center;
  box-shadow: 0 calc(5 * var(--n)) calc(12 * var(--n)) rgba(236, 46, 54, .2); cursor: pointer;
}
.ykbj3-notice-confirm::after { display: none; }
.ykbj3-notice-statement { background: rgba(0, 0, 0, .49); }
.ykbj3-notice-statement .ykbj3-notice-panel {
  width: 72.5vw; max-width: calc(283 * var(--n)); border-radius: calc(37 * var(--n));
  padding: calc(21 * var(--n)) calc(15.5 * var(--n)) calc(18 * var(--n));
}
.ykbj3-notice-statement .ykbj3-notice-title {
  color: #263238; border-color: #eee; margin-bottom: calc(14 * var(--n)); padding-bottom: calc(13 * var(--n));
}
.ykbj3-notice-statement .ykbj3-notice-icon { color: #7478e4; width: calc(21 * var(--n)); }
.ykbj3-notice-statement .ykbj3-notice-body { font-size: calc(12.5 * var(--n)); line-height: calc(23.5 * var(--n)); font-weight: 700; }
.ykbj3-statement-box { background: #f7f8fc; border-radius: calc(21 * var(--n)); padding: calc(17 * var(--n)); padding-bottom: calc(14 * var(--n)); }
.ykbj3-statement-box strong { color: #f04438; font-size: calc(15.5 * var(--n)); }
.ykbj3-statement-lines { text-align: center; color: #f04438; padding: calc(2 * var(--n)) 0; }
.ykbj3-statement-lines p { margin: 0 0 calc(15 * var(--n)); font-size: calc(16 * var(--n)); line-height: calc(23 * var(--n)); }
.ykbj3-statement-lines p:last-child { margin-bottom: calc(10 * var(--n)); }
.ykbj3-notice-statement .ykbj3-notice-footer { padding-top: calc(18 * var(--n)); }
.ykbj3-notice-statement .ykbj3-notice-option { font-size: calc(14 * var(--n)); margin-bottom: calc(9 * var(--n)); }
.ykbj3-notice-statement .ykbj3-notice-option input:checked { background: #7772df; border-color: #7772df; }
.ykbj3-notice-statement .ykbj3-notice-confirm {
  height: calc(40 * var(--n)); font-size: calc(16 * var(--n));
  background: linear-gradient(105deg, #6c7bea, #7d4eaa);
  box-shadow: 0 calc(5 * var(--n)) calc(12 * var(--n)) rgba(106, 119, 222, .2);
}
@media (max-height: 540px) {
  .ykbj3-notice-overlay { padding: 10px 0; }
  .ykbj3-notice-panel { max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); }
  .ykbj3-notice-footer, .ykbj3-notice-statement .ykbj3-notice-footer { padding-top: 8px; }
}
