/* Figma 216:5: trial offer dialog. All styles are scoped to this dialog. */
.exit-guard {
  position: fixed; inset: 0; margin: auto;
  width: min(772px, calc(100% - 32px)); max-width: none;
  max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  padding: 0; border: 0; border-radius: 16px; background: #fff; color: #2e3192;
  box-shadow: 0 0 44px #2e319233;
  font-family: var(--font, 'Noto Sans JP', sans-serif);
}
.exit-guard::backdrop { background: #142448a3; }
.exit-guard__panel { position: relative; width: 100%; aspect-ratio: 772 / 445; overflow: hidden; container-type: inline-size; }
.exit-guard__close {
  position: absolute; z-index: 3; top: 4.4944%; right: 2.5907%;
  display: grid; place-items: center; width: 3.3679cqw; height: 3.3679cqw;
  padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer;
}
.exit-guard__close img { width: 3.3679cqw; height: auto; }
.exit-guard__close::before, .exit-guard__close::after {
  content: ''; position: absolute; width: 2.4144cqw; height: 1px; background: #a0a0a0;
  transform: rotate(45deg); pointer-events: none;
}
.exit-guard__close::after { transform: rotate(-45deg); }
.exit-guard__achievement { position: absolute; top: 5.8427%; left: 24.2228%; width: 51.943%; height: 18.2022%; }
.exit-guard__laurel { position: absolute; top: .7772cqw; width: 5.8291cqw; height: auto; }
.exit-guard__laurel--left { left: 0; }
.exit-guard__laurel--right { right: 0; transform: scaleX(-1); }
.exit-guard__achievement-text { position: absolute; inset: 0 7.1244cqw; display: flex; align-items: baseline; justify-content: center; gap: .45cqw; white-space: nowrap; }
.exit-guard__achievement-text span,
.exit-guard__achievement-text b,
.exit-guard__achievement-text strong {
  background: linear-gradient(90deg, #cc822a 1%, #d19038 4%, #d8a249 9%, #dcad54 15%, #deb158 21%, #f9e09e 52%, #deb158 81%, #cc8b30 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: 3.0477cqw; font-weight: 900; line-height: 1.5;
}
.exit-guard__achievement-text b { font-family: var(--number, 'Oswald', sans-serif); font-size: 7.6192cqw; font-weight: 600; }
.exit-guard__achievement-text strong { font-size: 4.3433cqw; }
.exit-guard__now { position: absolute; top: 20.8989%; left: 0; width: 100%; margin: 0; color: #000; font-size: 4.4041cqw; font-weight: 900; line-height: 12.1762cqw; text-align: center; }
.exit-guard__title { position: absolute; top: 39.5506%; left: 0; width: 100%; margin: 0; color: #2e3192; font-size: 8.2902cqw; font-weight: 900; line-height: 8.1606cqw; text-align: center; }
.exit-guard__title span { display: block; white-space: nowrap; }
.exit-guard__title span + span { font-size: 6.2176cqw; }
.exit-guard__actions { position: absolute; top: 73.0337%; left: 10.1036%; width: 79.6632%; height: 10.6218cqw; }
.exit-guard__button {
  position: relative; display: grid; place-items: center; width: 100%; height: 100%; min-height: 0;
  padding: 0 24px; border: 2px solid #575abd; border-radius: 130px;
  background: #2e3192; color: #fff; font: inherit; font-size: 2.8497cqw; font-weight: 700;
  line-height: 1.5; letter-spacing: .1425cqw; white-space: nowrap; cursor: pointer;
  box-shadow: inset 0 14px 20px #71a5ff, 4px 4px 5px #2e31924d;
}
.exit-guard__button-arrow { position: absolute; left: 69%; top: 50%; width: 1.8012cqw; height: auto; transform: translateY(-50%) rotate(-45deg); }
.exit-guard__confetti { position: absolute; inset: 0; pointer-events: none; }
.exit-guard__piece { position: absolute; height: auto; }
.exit-guard__piece--1 { left: 85.62%; top: 24.72%; width: 4.6632cqw; }
.exit-guard__piece--2 { left: 94.30%; top: 65.40%; width: 2.0153cqw; transform: rotate(-58.45deg); }
.exit-guard__piece--3 { left: 80.70%; top: 6.52%; width: 3.886cqw; }
.exit-guard__piece--4 { left: 82.64%; top: 61.12%; width: 2.1698cqw; }
.exit-guard__piece--5 { left: 9.46%; top: -4.04%; width: 5.9585cqw; }
.exit-guard__piece--6 { left: 19.30%; top: 58.88%; width: 4.1451cqw; }
.exit-guard__piece--7 { left: 13.08%; top: 27.87%; width: 2.3229cqw; }
.exit-guard__piece--8 { left: 91.06%; top: 91.01%; width: 2.3229cqw; }
.exit-guard__piece--9 { left: 3.25%; top: 54.70%; width: 2.3387cqw; transform: rotate(44.71deg); }
.exit-guard__piece--10 { left: 2.5907%; bottom: 6.7416%; width: 3.886cqw; }
.exit-guard__screen-reader { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.exit-guard__phrase { display: inline-block; white-space: nowrap; }
.exit-guard button:focus-visible { outline: 3px solid #ff9f0c; outline-offset: 4px; }
@media (hover: hover) { .exit-guard__button:hover { filter: brightness(1.08); } }
@media (max-width: 480px) {
  .exit-guard__panel { aspect-ratio: 343 / 270; }
  .exit-guard__close { width: 32px; height: 32px; top: 5px; right: 5px; }
  .exit-guard__close img { width: 20px; }
  .exit-guard__close::before, .exit-guard__close::after { width: 14px; }
  .exit-guard__actions { height: 48px; }
  .exit-guard__button { padding-inline: 12px 24px; font-size: 14px; letter-spacing: .02em; box-shadow: inset 0 7px 12px #71a5ff, 2px 3px 5px #2e31924d; }
  .exit-guard__button-arrow { left: auto; right: 12px; width: 10px; }
}
@media (prefers-reduced-motion: no-preference) {
  .exit-guard[open] { animation: exit-guard-enter .18s ease-out; }
  @keyframes exit-guard-enter { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0; } }
}
