/* anti·ntwrk authentication surfaces revision 20260831-3. */
body.antintwrk-auth-open { overflow: hidden; }
.antintwrk-auth-layer { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 1rem; }
.antintwrk-auth-layer[hidden] { display: none; }
.antintwrk-auth-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(2,3,5,.82); backdrop-filter: blur(10px); cursor: default; }
.antintwrk-auth-dialog {
  position: relative;
  width: min(590px, 100%);
  max-height: min(880px, calc(100vh - 2rem));
  overflow: auto;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid rgba(241,241,237,.18);
  border-top: 5px solid var(--ant-coral);
  background: #0e1117;
  box-shadow: 0 35px 90px rgba(0,0,0,.58);
}
.antintwrk-auth-close { position: absolute; top: 0.85rem; right: 0.85rem; width: 42px; height: 42px; border: 1px solid var(--ant-line); border-radius: 50%; background: transparent; color: var(--ant-muted); cursor: pointer; font-size: 1.6rem; line-height: 1; }
.antintwrk-auth-close:hover { border-color: var(--ant-text); color: var(--ant-text); }
.antintwrk-auth-brand { margin-bottom: clamp(2rem, 5vw, 3.25rem); font: 700 1.35rem/1 'Space Grotesk',sans-serif; letter-spacing: -.06em; }
.antintwrk-auth-brand span { color: var(--ant-coral); }
.antintwrk-auth-kicker { margin: 0 0 .7rem; color: var(--ant-coral); font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.antintwrk-auth-dialog h1 { margin: 0; font: 700 clamp(2rem,7vw,3.6rem)/.98 'Space Grotesk',sans-serif; letter-spacing: -.055em; }
.antintwrk-auth-intro,.antintwrk-auth-reset-copy { margin: 1rem 0 1.7rem; color: var(--ant-muted); }
.antintwrk-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 1.5rem; border-bottom: 1px solid var(--ant-line); }
.antintwrk-auth-tabs button { min-height: 48px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--ant-muted); cursor: pointer; font: 800 .82rem/1 'Manrope',sans-serif; }
.antintwrk-auth-tabs button[aria-selected="true"] { border-color: var(--ant-coral); color: var(--ant-text); }
.antintwrk-auth-form { display: grid; gap: 1rem; }
.antintwrk-auth-form[hidden],.antintwrk-auth-sent[hidden] { display: none; }
.antintwrk-auth-form label,.antintwrk-reset-form label { display: grid; gap: .45rem; color: #cfd1d0; font-size: .78rem; font-weight: 700; }
.antintwrk-auth-age { color: var(--ant-accent,#f26a57); font: inherit; margin-inline-start: .35rem; }
.antintwrk-auth-form input:not([type="checkbox"]),.antintwrk-reset-form input { width: 100%; min-height: 52px; padding: .8rem .9rem; border: 1px solid #303744; border-radius: 3px; outline: none; background: #080b10; color: var(--ant-text); font: 600 1rem/1.2 'Manrope',sans-serif; }
.antintwrk-auth-form input:focus,.antintwrk-reset-form input:focus { border-color: var(--ant-coral); box-shadow: 0 0 0 3px rgba(240,107,85,.16); }
.antintwrk-auth-name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.antintwrk-auth-password { position: relative; display: block; }
.antintwrk-auth-password input { padding-right: 4.4rem !important; }
.antintwrk-auth-password button { position: absolute; right: .35rem; top: 50%; min-height: 38px; padding: 0 .65rem; border: 0; background: transparent; color: var(--ant-muted); cursor: pointer; transform: translateY(-50%); font: 700 .75rem/1 'Manrope',sans-serif; }
.antintwrk-auth-form small,.antintwrk-reset-form small { color: var(--ant-muted); font-size: .7rem; line-height: 1.5; }
.antintwrk-auth-form .antintwrk-auth-agreement { grid-template-columns: auto 1fr; align-items: start; gap: .7rem; margin-block: .25rem; font-weight: 600; line-height: 1.45; }
.antintwrk-auth-agreement input { width: 20px; height: 20px; margin: 0; accent-color: var(--ant-coral); }
.antintwrk-auth-agreement a { color: var(--ant-text); text-underline-offset: .2em; }
.antintwrk-auth-submit { min-height: 52px; padding: .8rem 1.1rem; border: 1px solid var(--ant-coral); background: var(--ant-coral); color: #160f0d; cursor: pointer; font: 800 .88rem/1 'Manrope',sans-serif; }
.antintwrk-auth-submit:hover { border-color: #ff806a; background: #ff806a; }
.antintwrk-auth-submit:disabled { cursor: wait; opacity: .58; }
.antintwrk-auth-text-button { width: fit-content; padding: .25rem 0; border: 0; background: transparent; color: var(--ant-muted); cursor: pointer; font: 700 .76rem/1.3 'Manrope',sans-serif; text-decoration: underline; text-underline-offset: .22em; }
.antintwrk-auth-form-row { display: flex; justify-content: flex-end; }
.antintwrk-auth-back { margin-top: .3rem; }
.antintwrk-auth-message { min-height: 1.2rem; margin: 0; color: #ff9b8b; font-size: .77rem; }
.antintwrk-auth-sent { padding-block: 2rem; text-align: left; }
.antintwrk-auth-sent-group { display: grid; gap: .8rem; }
.antintwrk-auth-sent-group[hidden] { display: none; }
.antintwrk-auth-sent > span,.antintwrk-reset-success > span { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 1.25rem; border: 1px solid rgba(87,201,184,.5); border-radius: 50%; color: var(--ant-trust); font-weight: 800; }
.antintwrk-auth-sent p,.antintwrk-reset-success p { margin: 1rem 0 1.5rem; color: var(--ant-muted); }
.antintwrk-auth-sent-group .antintwrk-auth-text-button { justify-self: start; }
.antintwrk-auth-dialog button:focus-visible,.antintwrk-auth-dialog a:focus-visible,.antintwrk-reset button:focus-visible { outline: 3px solid var(--ant-coral); outline-offset: 3px; }

.antintwrk-reset { width: min(calc(100% - clamp(2rem,6vw,7rem)), 1120px); min-height: calc(100vh - 240px); display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.75fr); align-content: center; gap: clamp(3rem,8vw,8rem); margin-inline: auto; padding-block: clamp(4rem,9vw,8rem); }
.antintwrk-reset-copy h1 { margin: 0; font: 700 clamp(3rem,7vw,6.5rem)/.88 'Space Grotesk',sans-serif; letter-spacing: -.07em; }
.antintwrk-reset-copy > p:last-child { max-width: 42ch; margin-top: 1.5rem; color: var(--ant-muted); font-size: 1.05rem; }
.antintwrk-reset-form,.antintwrk-reset-success { align-self: center; display: grid; gap: 1rem; padding: clamp(1.4rem,4vw,2.5rem); border-top: 4px solid var(--ant-coral); background: var(--ant-surface); }
.antintwrk-reset-success[hidden] { display: none; }
.antintwrk-reset-success h2 { margin: 0; font-size: 2rem; }

@media (max-width: 700px) {
  .antintwrk-page input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]),
  .antintwrk-page textarea,
  .antintwrk-page select { font-size: 16px !important; }
  .antintwrk-auth-layer { align-items: end; padding: 0; }
  .antintwrk-auth-dialog { width: 100%; max-height: 94vh; padding: 1.3rem; border-inline: 0; border-bottom: 0; }
  .antintwrk-auth-brand { margin-bottom: 2.5rem; }
  .antintwrk-auth-name-row { grid-template-columns: 1fr; }
  .antintwrk-reset { grid-template-columns: 1fr; min-height: auto; gap: 2rem; }
}
@media (prefers-reduced-motion: reduce) { .antintwrk-auth-backdrop { backdrop-filter: none; } }
[dir="rtl"] .antintwrk-auth-close { right: auto; left: .85rem; }
[dir="rtl"] .antintwrk-auth-password input { padding-right: .9rem !important; padding-left: 4.4rem !important; }
[dir="rtl"] .antintwrk-auth-password button { right: auto; left: .35rem; }
.antintwrk-auth-or{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:.7rem;color:var(--ant-muted);font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.antintwrk-auth-or:before,.antintwrk-auth-or:after{height:1px;background:var(--ant-line);content:""}.antintwrk-auth-google{display:grid;grid-template-columns:18px 1fr 18px;gap:12px;align-items:center;min-height:40px;padding:0 12px;border:1px solid #8e918f;background:#131314!important;color:#e3e3e3!important;font:700 .8rem/1 'Manrope',sans-serif;text-decoration:none!important}.antintwrk-auth-google:hover{background:#202124!important}.antintwrk-auth-google img{display:block;width:18px;height:18px;object-fit:contain}.antintwrk-auth-google span{grid-column:2;text-align:center}
/* Compact shared authentication, including narrow and short viewports. */
.antintwrk-auth-dialog{box-sizing:border-box;padding:24px;max-height:calc(100dvh - 24px)}
.antintwrk-auth-brand{margin-bottom:20px;padding-inline-end:44px}
.antintwrk-auth-dialog h1{font-size:32px;line-height:1.12}
.antintwrk-auth-intro,.antintwrk-auth-reset-copy{margin:10px 0 14px;font-size:14px;line-height:1.45}
.antintwrk-auth-tabs{margin-bottom:14px}
.antintwrk-auth-form{gap:10px}
.antintwrk-auth-form input:not([type="checkbox"]){box-sizing:border-box;min-height:44px;padding:10px 12px;font-size:16px}
.antintwrk-auth-google,.antintwrk-auth-submit{min-height:44px}
.antintwrk-auth-passkey{grid-template-columns:18px minmax(0,1fr) 18px;background:transparent!important;border-color:var(--ant-line)}
.antintwrk-auth-passkey .auth-passkey-icon{grid-column:1;width:20px;height:20px;color:var(--ant-text)}
.antintwrk-auth-passkey span{grid-column:2;min-width:0;padding:8px 0;line-height:1.35;overflow-wrap:anywhere}
.antintwrk-auth-message:empty{display:none}
@media(max-width:700px),(max-height:740px){
 .antintwrk-auth-dialog{padding:18px 16px;max-height:calc(100dvh - 12px)}
 .antintwrk-auth-brand{margin-bottom:14px}
 .antintwrk-auth-dialog h1{font-size:28px}
 .antintwrk-auth-kicker{margin-bottom:6px}
 .antintwrk-auth-tabs button{min-height:44px}
 .antintwrk-auth-name-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .antintwrk-auth-form label{min-width:0}
}
@media(max-width:350px){.antintwrk-auth-name-row{grid-template-columns:1fr}}
/* Guest preview shares the native account dialog, without a second overlay. */
.antintwrk-auth-dialog #antintwrk-feed-invitation-title:focus{outline:none}
.antintwrk-page .antintwrk-feed-invitation-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.antintwrk-page .antintwrk-feed-invitation-actions>button{width:100%;min-height:44px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
body.antintwrk-page.antintwrk-feed-guest-prompt .antintwrk-shell{filter:blur(6px);pointer-events:none;user-select:none}
body.antintwrk-page.antintwrk-feed-guest-prompt .antintwrk-auth-backdrop{backdrop-filter:none}
@media(max-width:420px){.antintwrk-page .antintwrk-feed-invitation-actions{grid-template-columns:1fr}}
