.nev-2fa-panel,.nev-2fa-dialog{--two-bg:#14151a;--two-text:#f4f4f7;--two-muted:#a6a7b2;--two-field:#202127;--two-line:#34353e;--two-accent:#7652dc;box-sizing:border-box;color:var(--two-text);font-family:inherit;font-size:14px;line-height:1.55;text-align:start;overflow-wrap:anywhere}
[data-theme="light"] .nev-2fa-panel,[data-theme="light"] .nev-2fa-dialog,.theme-light .nev-2fa-panel,.theme-light .nev-2fa-dialog{--two-bg:#fff;--two-text:#17171c;--two-muted:#62626e;--two-field:#f2f2f7;--two-line:#d9d9e2;--two-accent:#6940ce}
.nev-2fa-panel{margin-block-start:24px;padding-block-start:20px;border-block-start:1px solid var(--two-line)}
.nev-2fa-panel h4{font-size:16px;line-height:1.3;margin:0 0 7px;font-weight:650;letter-spacing:-.015em}
.nev-2fa-panel p{margin:6px 0;color:var(--two-muted)}
.nev-2fa-panel .nev-2fa-state{font-weight:600;color:var(--two-text)}
.nev-2fa-actions{display:flex;gap:10px;flex-wrap:wrap;margin-block-start:14px}
.nev-2fa-panel .nev-2fa-button,.nev-2fa-dialog .nev-2fa-button{appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:10px 17px;border:0;border-radius:12px;box-shadow:none;background:var(--two-field);color:var(--two-text);font:inherit;font-weight:600;line-height:1.35;cursor:pointer;white-space:normal;text-align:center;transition:background-color .15s ease,opacity .15s ease}
.nev-2fa-panel .nev-2fa-primary,.nev-2fa-dialog .nev-2fa-primary{background:var(--two-accent);color:#fff}
.nev-2fa-button:disabled{opacity:.5;cursor:default}
.nev-2fa-panel :is(button,a,input,textarea):focus-visible,.nev-2fa-dialog :is(button,a,input,textarea):focus-visible{outline:2px solid var(--two-accent);outline-offset:3px}
.nev-2fa-dialog{position:fixed;inset:0;margin:auto;width:min(480px,calc(100% - 32px));max-width:480px;max-height:calc(100dvh - 40px);padding:26px;border:1px solid var(--two-line);border-radius:24px;background:var(--two-bg);box-shadow:0 20px 80px #0005;z-index:2147483000;overflow-y:auto;overscroll-behavior:contain}
.nev-2fa-dialog::backdrop{background:#0009;backdrop-filter:blur(5px)}
.nev-2fa-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-block-end:20px}
.nev-2fa-header h2{margin:0;font-size:25px;font-weight:650;letter-spacing:-.035em;line-height:1.15}
.nev-2fa-header .nev-2fa-button{font-size:12px;min-height:36px;padding:8px 12px;flex-shrink:0}
.nev-2fa-content>p{margin:0 0 18px;color:var(--two-muted)}
.nev-2fa-dialog form{display:grid;gap:12px;margin:0}
.nev-2fa-dialog form p{color:var(--two-muted);font-size:12px;margin:2px 0 5px}
.nev-2fa-dialog label{display:block;font-weight:600;margin:0;font-size:13px}
.nev-2fa-dialog input:not([type="checkbox"]),.nev-2fa-dialog textarea{box-sizing:border-box;width:100%;min-width:0;border:1px solid var(--two-line);border-radius:11px;background:var(--two-field);padding:12px 13px;margin:0;color:var(--two-text);font:inherit;font-size:16px;line-height:1.4;box-shadow:none}
.nev-2fa-dialog input:not([type="password"]){direction:ltr;text-align:start}
.nev-2fa-dialog .nev-2fa-secret{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:14px}
.nev-2fa-app-link{display:inline-block;color:var(--two-text);font-weight:600;margin-block:15px;text-decoration:underline;text-underline-offset:4px}
.nev-2fa-dialog .nev-2fa-check{display:flex;align-items:flex-start;gap:10px;color:var(--two-muted);font-weight:400;font-size:13px;margin-block:8px 12px}
.nev-2fa-check input{accent-color:var(--two-accent);flex:0 0 auto;min-width:18px;min-height:18px;margin:1px 0 0}
.nev-2fa-dialog .nev-2fa-codes{direction:ltr;text-align:center;white-space:pre;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;line-height:1.9;resize:none}
.nev-2fa-dialog .nev-2fa-status{min-height:1.4em;color:var(--two-text);font-size:13px;margin:14px 0 0}
@media(max-width:480px){.nev-2fa-dialog{padding:22px 19px;border-radius:22px;width:calc(100% - 24px);max-height:calc(100dvh - 24px)}.nev-2fa-header{gap:10px}.nev-2fa-header h2{font-size:24px}.nev-2fa-actions .nev-2fa-button{flex:1 1 auto}.nev-2fa-dialog .nev-2fa-codes{font-size:11px;padding-inline:5px}}
@media(prefers-reduced-motion:reduce){.nev-2fa-panel .nev-2fa-button,.nev-2fa-dialog .nev-2fa-button{transition:none}}

/* Existing account controls use important rules; keep this optional panel scoped. */
html:root body #account-page .nev-2fa-panel button.nev-2fa-button,html:root body dialog.nev-2fa-dialog button.nev-2fa-button{border:0!important;border-radius:12px!important;background:var(--two-field)!important;color:var(--two-text)!important;-webkit-text-fill-color:currentColor!important;box-shadow:none!important;padding:10px 17px!important}
html:root body #account-page .nev-2fa-panel button.nev-2fa-primary,html:root body dialog.nev-2fa-dialog button.nev-2fa-primary{background:var(--two-accent)!important;color:#fff!important}

/* Required Authenticator: keep action groups separate under the site's important layer. */
@layer naspers-neutral-surfaces {
  html:root body #account-page .nev-2fa-gate {
    --two-bg:#14151a;--two-text:#f4f4f7;--two-muted:#a6a7b2;
    --two-field:#202127;--two-line:#34353e;--two-accent:#7652dc;
    min-inline-size:0;display:block!important;
  }
  html:root[data-theme="light"] body #account-page .nev-2fa-gate,
  html:root body.theme-light #account-page .nev-2fa-gate {
    --two-bg:#fff;--two-text:#17171c;--two-muted:#62626e;
    --two-field:#f2f2f7;--two-line:#d9d9e2;--two-accent:#6940ce;
  }
  html:root body #account-page .nev-2fa-gate .nev-2fa-actions,
  html:root body dialog.nev-2fa-dialog .nev-2fa-actions {
    display:flex!important;flex-wrap:wrap!important;align-items:stretch!important;
    gap:12px!important;min-inline-size:0;max-inline-size:100%;
  }
  html:root body #account-page .nev-2fa-gate > div:not(.nev-2fa-actions) {
    margin-block-end:0!important;
  }
  html:root body #account-page .nev-2fa-gate > .nev-2fa-actions {
    margin-block:12px 0!important;padding:0!important;
  }
  html:root body #account-page .nev-2fa-gate .nev-2fa-panel > .nev-2fa-actions {
    margin-block:16px 0!important;padding:0!important;
  }
  html:root body #account-page .nev-2fa-gate button.nev-2fa-button,
  html:root body dialog.nev-2fa-dialog button.nev-2fa-button {
    position:static!important;box-sizing:border-box!important;
    min-height:44px!important;min-block-size:44px!important;
    height:auto!important;block-size:auto!important;max-inline-size:100%!important;
    margin:0!important;padding:11px 18px!important;
    border:0!important;border-radius:12px!important;
    background:var(--two-field)!important;background-image:none!important;
    color:var(--two-text)!important;-webkit-text-fill-color:currentColor!important;
    box-shadow:none!important;text-shadow:none!important;filter:none!important;
    line-height:1.4!important;white-space:normal!important;overflow-wrap:anywhere;
    text-align:center!important;
  }
  html:root body #account-page .nev-2fa-gate button.nev-2fa-primary,
  html:root body dialog.nev-2fa-dialog button.nev-2fa-primary {
    background:var(--two-accent)!important;color:#fff!important;
  }
  html:root body #account-page .nev-2fa-gate button.nev-2fa-button:focus-visible,
  html:root body dialog.nev-2fa-dialog button.nev-2fa-button:focus-visible {
    outline:2px solid var(--two-accent)!important;outline-offset:3px!important;
  }
  html:root body dialog.nev-2fa-dialog form {
    display:grid!important;gap:12px!important;margin:0!important;padding:0!important;
    min-inline-size:0;
  }
  html:root body dialog.nev-2fa-dialog form > :is(label,input,button,p) {
    margin-block:0!important;
  }
  @media(max-width:480px) {
    html:root body #account-page .nev-2fa-gate .nev-2fa-actions > button.nev-2fa-button {
      flex:1 1 100%!important;inline-size:100%!important;width:100%!important;
    }
  }
}

/* Copy only the visible, pending Authenticator setup key on explicit user action. */
@layer naspers-neutral-surfaces {
  html:root body dialog.nev-2fa-dialog .nev-2fa-key-row {
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
    gap:12px!important;align-items:stretch!important;min-inline-size:0!important;
    margin-block:8px 0!important;
  }
  html:root body dialog.nev-2fa-dialog .nev-2fa-key-row > input.nev-2fa-secret {
    min-inline-size:0!important;inline-size:100%!important;width:100%!important;
    min-height:44px!important;min-block-size:44px!important;margin:0!important;
  }
  html:root body dialog.nev-2fa-dialog .nev-2fa-key-row > button.nev-2fa-button {
    min-height:44px!important;min-block-size:44px!important;align-self:stretch!important;
  }
  html:root body dialog.nev-2fa-dialog .nev-2fa-copy-status {
    min-block-size:1.4em;margin:5px 0 12px!important;padding:0!important;
    font-size:13px;line-height:1.5;color:var(--two-muted);overflow-wrap:anywhere;
  }
  @media(max-width:360px) {
    html:root body dialog.nev-2fa-dialog .nev-2fa-key-row {
      grid-template-columns:minmax(0,1fr)!important;
    }
    html:root body dialog.nev-2fa-dialog .nev-2fa-key-row > button.nev-2fa-button {
      inline-size:100%!important;width:100%!important;
    }
  }
}
