.sl-entry { margin: 3rem auto; padding: 0 1rem; text-align: center; }
.auth-entry-page { min-height: 100svh; display: flex; flex-direction: column; }
.auth-entry-page .sl-entry { flex: 1; width: 100%; margin: 0; padding: 1.5rem 1rem; display: grid; place-content: center; justify-items: center; }
.auth-entry-page #entry-fallback { margin-top: 1rem; }
[data-account-shell][hidden], [data-account-gate][hidden] { display: none; }
.sl-auth-dialog {
  width: min(27rem, calc(100vw - 2rem));
  box-sizing: border-box;
  margin: auto;
  padding: 1.65rem;
  color: #152e34;
  background: #fff;
  border: 1px solid #d5e3e2;
  border-radius: 1.1rem;
  box-shadow: 0 18px 65px #123b3e29;
  font: 1rem/1.5 system-ui, sans-serif;
}
.sl-auth-dialog::backdrop { background: #142c3480; }
.sl-auth-dialog h2 { margin: .85rem 0 .35rem; color: #173c41; font: 650 1.45rem/1.25 system-ui, sans-serif; }
.sl-auth-dialog p { margin: 0 0 1.2rem; color: #40585c; }
.sl-auth-dialog .sl-auth-close {
  display: block; margin-inline-start: auto; border: 0; border-radius: .5rem;
  background: #f0f6f5; color: #21484a; font: inherit; width: 2.25rem; height: 2.25rem;
}
.sl-auth-dialog a {
  display: inline-block; margin: .2rem .6rem .2rem 0; font-weight: 600;
  text-underline-offset: .2rem; color: #106e67;
}
.sl-auth-dialog a:first-of-type { background: #147971; color: white; border-radius: .45rem; padding: .55rem .85rem; text-decoration: none; }

.tnp-language-dialog {
  color: #193a3e; font-family: 'DM Sans', system-ui, sans-serif; background: white;
  width: min(25rem, calc(100vw - 2rem)); box-sizing: border-box; border: 1px solid #d4e3e3;
  border-radius: 1.1rem; margin: auto; padding: 1.75rem; box-shadow: 0 20px 70px #12424524;
}
.tnp-language-dialog::backdrop { background: #183e4666; }
.tnp-language-dialog h2 { margin: 0 0 1.4rem; text-align: center; font-size: 1.4rem; line-height: 1.35; letter-spacing: -.035em; }
.tnp-language-dialog h2 span { display: block; }
.tnp-language-dialog h2 span + span { margin-top: .1rem; color: #526b6b; font-size: 1.05rem; font-weight: 500; }
.tnp-language-options { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.tnp-language-options button { display: grid; justify-items: center; gap: .5rem; background: #fff; color: #174844;
  border: 1px solid #b9cecd; border-radius: .65rem; padding: .9rem .55rem; font: 600 1rem/1.3 'DM Sans', system-ui, sans-serif; cursor: pointer; }
.tnp-language-options button:hover, .tnp-language-options button:focus-visible { border-color: #1a857c; background: #eff9f6; }
.tnp-language-options button:focus-visible { outline: 2px solid #17857c; outline-offset: 2px; }
.tnp-language-options img { width: 2.05rem; height: 1.4rem; object-fit: cover; border-radius: .18rem; }

.dev-status{width:fit-content;margin:0 0 1rem;padding:.35rem .7rem;border:1px solid #c9dedb;border-radius:.45rem;color:#215b55;background:#eff8f6;font-size:.8rem}

.sl-auth-dialog.sl-loading h2::before{content:"";display:inline-block;vertical-align:middle;margin-inline-end:.5em;width:.85em;height:.85em;border:.12em solid #c7e2db;border-top-color:#14796e;border-radius:50%;animation:sl-progress .75s linear infinite}
@keyframes sl-progress{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.sl-auth-dialog.sl-loading h2::before{animation:none}}
