.m8-gift-code-screen {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font: 14px/1.4 Tahoma, sans-serif;
}
.m8-gift-code-award,.m8-gift-code-input-window {transform:scale(.95)}
.m8-gift-code-title {
  position: absolute;
  z-index: 2;
  top: 4px;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  color: #187ac8;
  font: 900 31px/39px 'Arial Black', Tahoma, sans-serif;
  -webkit-text-stroke: 1.5px #f6ffff;
  paint-order: stroke fill;
  text-shadow: 0 2px 1px #d9ff99, 0 3px 2px #075781;
  pointer-events: none;
}
.m8-gift-code-entries {
  position: absolute;
  inset: 69px 36px auto;
  display: grid;
  gap: 8px;
}
.m8-gift-code-header {display:flex;align-items:center;justify-content:space-between;padding-right:24px}
.m8-gift-code-expiry {margin:0;font-size:11px;text-shadow:0 1px #07537b}
.m8-gift-code-expiry strong {margin-left:7px;color:#ffec00;font-size:13px}
.m8-gift-code-label {
  display: flex;
  gap: 8px;
  align-items: center;
  width: fit-content;
  font-weight: 700;
  margin: 0 0 4px 8px;
  text-shadow: 0 1px 2px #005477;
}
.m8-gift-code-label img {width: 28px; height: 28px; object-fit: contain;}
.m8-gift-code-card-content {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-sizing: border-box;
  padding: 10px 14px;
}
.m8-gift-code-card p {margin: 0; flex: 1; font-size: 13px; line-height:1.35;text-shadow: 0 1px #005477;}
.m8-gift-code-overlay {position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; background: #07192780; box-shadow: 0 0 0 100vmax #07192780;}
.m8-gift-code-overlay[hidden],
.m8-gift-code-receipt[hidden] {display: none;}
.m8-gift-code-dialog-title {
  position: absolute;
  inset: 16px 0 auto;
  margin: 0;
  text-align: center;
}
.m8-gift-code-dialog-title img {width:65px;height:auto}
.m8-gift-code-form {
  position: absolute;
  inset: 81px 10px 0;
  text-align: center;
}
.m8-gift-code-form label {
  display: block;
  margin-bottom: 12px;
}
.m8-gift-code-form label img {width:82px;height:auto;vertical-align:middle}
.m8-gift-code-form input {
  box-sizing: border-box;
  width: 216px;
  height: 36px;
  color: #fff;
  background: transparent no-repeat center / 100% 100%;
  border: 0;
  border-radius: 20px;
  padding: 0 16px;
  font: 700 16px Tahoma, sans-serif;
}
.m8-gift-code-screen .m8-gift-code-green {
  height: 36px;
  min-height: 0;
  padding: 0 6px;
  border: 0;
  border-radius: 18px;
  box-shadow: none;
  background: transparent no-repeat center / 100% 100%;
  color: #fff;
  font: 900 13px 'Arial Black', Tahoma, sans-serif;
  text-shadow: 0 1px 2px #345b10, 0 -1px #4e861b;
}
.m8-gift-code-screen .m8-gift-code-card .m8-gift-code-green {width:104px;margin-top:12px;flex:none}
.m8-gift-code-card .m8-gift-code-green img {width:89px;height:auto;vertical-align:middle}
.m8-gift-code-screen .m8-level-gift-claim[data-status]:not([data-status=ready]){
  filter:grayscale(1);
}
.m8-gift-code-submit {position: absolute; bottom: 10px; left: 50%; width: 124px; transform: translateX(-50%);}
.m8-gift-code-screen :focus-visible {outline: 2px solid #fff29c; outline-offset: 2px;}
.m8-gift-code-receipt {position:absolute;inset:auto 36px 59px;display:flex;gap:8px;align-items:center;min-height:30px;padding:0 8px;font-size:12px;font-weight:700;text-shadow:0 1px 2px #005477;}
.m8-gift-code-receipt > [hidden] {display:none;}
.m8-gift-code-receipt p {flex: 1; margin: 0;}
.m8-gift-code-status {margin: 3px auto 0; max-width: 310px; font-size: 11px; line-height: 1.2; text-shadow: 0 1px 2px #005477;}
.m8-gift-code-status.is-error {color: #fff0ad;}
.m8-gift-code-pager {
  position: absolute;
  bottom: 23px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
}
.m8-gift-code-pager img {width: 28px; height: 25px; object-fit: contain;}
.m8-gift-code-pager .m8-gift-code-arrow{
  display:grid;place-items:center;width:32px;height:28px;min-height:0;
  padding:0;border:0;background:none;box-shadow:none;
}
.m8-gift-code-page {
  min-width: 62px;
  border-radius: 20px;
  padding: 2px 8px;
  text-align: center;
  font-weight: 700;
  background: #008ec0;
  border: 2px solid #6ad3ef;
}
