.zag-flow, .zag-entry { margin: 0; padding: 0; border: 0; }
.zag-flow [hidden] { display: none !important; }
.zag-entry__heading { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.zag-entry__notice { font-size: 15px; line-height: 1.5; }
.zag-entry__fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; width: min(100%, 345px); margin-inline: auto; text-align: left; }
.zag-entry__fields label { display: flex; flex-direction: column; gap: 1px; min-width: 0; font-size: 14px; font-weight: 400; line-height: 1.3; }
.zag-entry__fields input { box-sizing: border-box; display: block; width: 100%; min-height: 36px; border: 2px solid #fff; border-radius: 0; padding: 5px 10px; background: var(--wp--preset--color--accent-1, #0000ff); color: #fff; caret-color: #fff; font: inherit; font-size: 16px; }
.zag-entry__fields input::selection { background: #e6ff07; color: #00009b; }
.zag-entry__fields input:focus-visible, .zag-entry__button:focus-visible, .zag-entry__back:focus-visible, .zag-entry__terms input:focus-visible, .zag-flow a:focus-visible { outline: 2px solid #00009b; outline-offset: 3px; }
.zag-entry__button { display: block; min-height: 44px; width: min(100%, 405px); margin-inline: auto; border: 2px solid #fff; border-radius: 0; padding: 10px 16px; background: #00009b; color: #fff; font: inherit; font-size: 15px; font-weight: 500; line-height: 1.28; text-align: center; cursor: pointer; }
.zag-entry__button:hover { background: #0000ff; }
.zag-flow__start { margin-top: 18px; }
.z-advent-dialog__gift:has(.z-advent-dialog__logo) + .zag-flow .zag-flow__start { margin-top: 4px; }
.zag-entry__button.zag-entry__submit { width: 100%; margin-top: 6px; background: #00009b; color: #fff; }
.zag-entry__button.zag-entry__submit:hover { background: #0000ff; }
.zag-entry__button:disabled, .zag-entry__back:disabled { cursor: default; opacity: 0.75; }
.zag-entry__terms { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 10px; text-align: left; font-size: 12px; line-height: 1.35; color: #000; cursor: pointer; }
.zag-entry__terms input { appearance: none; flex: 0 0 15px; width: 15px; height: 15px; margin: 2px 0 0; padding: 0; border: 1px solid #0000ff; border-radius: 0; background: #fff; cursor: pointer; }
.zag-entry__terms input:checked { appearance: auto; accent-color: #0000ff; }
.zag-entry__terms a, .zag-entry__privacy a { color: #0000ff; text-decoration: underline; text-underline-offset: 2px; }
.zag-entry__privacy { margin: 12px 0 0; text-align: left; color: #000; font-size: 12px; line-height: 1.4; }
.zag-entry__back { display: inline-block; min-height: 44px; margin: 10px 0 0; padding: 8px 12px; border: 0; color: inherit; background: transparent; font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.zag-entry__status { margin: 14px 0 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.zag-entry__status:empty { display: none; }
.zag-entry__status.is-error { color: #9b1c1c; }
.zag-entry__test { position: absolute; top: -13px; right: 38px; z-index: 1; margin: 0; padding: 1px 8px; background: #e6ff07; color: #00009b; font-size: 10px; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.zag-entry__privacy summary { cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.zag-entry__privacy p { margin: 8px 0 0; }
.zag-entry__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.z-advent-dialog .zag-success__message { max-width: 290px; margin: 0 auto 18px; color: #c58511; font-size: 20px; line-height: 1.14; font-weight: 700; text-wrap: balance; }
.zag-success__draw { margin: 0 auto 22px; max-width: 290px; color: #0000ff; font-size: 14px; line-height: 1.35; text-wrap: balance; }
.zag-success__return { margin: 18px 0 0; color: #0000ff; font-size: 14px; line-height: 1.29; }
@media (max-width: 420px) {
  .zag-entry__button { font-size: 15px; padding-inline: 10px; }
  .zag-entry__terms { font-size: 12px; }
  .zag-entry__privacy { font-size: 11px; }
  .zag-entry__test { top: -11px; }
}

.zag-success__media:has(.zag-success__image) .z-advent-dialog__logo { max-width: 42%; max-height: 100px; }


.zag-share { width: min(100%, 405px); margin: 18px auto 0; }
.zag-share__label { margin: 0 0 10px; color: #00009b; font-size: 14px; line-height: 1.4; }
.zag-share__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.zag-flow .zag-share__links a { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 12px; box-sizing: border-box; border: 1px solid #00009b; color: #00009b; background: #fff; font-size: 16px; font-weight: 500; line-height: 1.3; text-decoration: none; }
.zag-flow .zag-share__links a:hover { background: #00009b; color: #fff; }
